SHOW:
|
|
- or go back to the newest paste.
| 1 | - | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 1 | + | This is in the header: |
| 2 | - | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 2 | + | |
| 3 | - | <head> |
| 3 | + | |
| 4 | - | <script type="text/javascript" src="/javascripts/prototype.js"> </script> <script type="text/javascript" src="/javascripts/window.js"> </script> <link href="/stylesheets/themes/default.css" rel="stylesheet" type="text/css"/> |
| 4 | + | function infopopup() {
|
| 5 | - | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | + | var win = new Window({className: "spread", title: "Ruby on Rails", top:70, left:100, width:300, height:200, url: "info.html", showEffectOptions: {duration:1.5}})
|
| 6 | - | <title>Untitled Document</title> |
| 6 | + | win.show(); |
| 7 | - | </head> |
| 7 | + | } |
| 8 | </script> | |
| 9 | - | <body> |
| 9 | + | |
| 10 | This is the span tag: | |
| 11 | - | win = new Window({className: "mac_os_x", title: "Sample", width:200, height:150, destroyOnClose: true, recenterAuto:false}); win.getContent().update("<h1>Hello world !!</h1>"); win.showCenter();</script><span onclick="win()">Hello</span>
|
| 11 | + | |
| 12 | - | </body> |
| 12 | + | <span id="banner" onClick="infopopup()"> |