Team:Virginia/Sandbox
From 2009.igem.org
(Difference between revisions)
m |
m |
||
Line 7: | Line 7: | ||
Shadowbox.init({ | Shadowbox.init({ | ||
players: ["iframe", "img", "html"], | players: ["iframe", "img", "html"], | ||
- | |||
}); | }); | ||
+ | |||
+ | openWin = function(){ | ||
+ | |||
+ | // open a welcome message as soon as the window loads | ||
+ | Shadowbox.open({ | ||
+ | content: '<div id="welcome-msg">Welcome to my website!</div>', | ||
+ | player: "html", | ||
+ | title: "Welcome", | ||
+ | height: 350, | ||
+ | width: 350 | ||
+ | }); | ||
</script> | </script> | ||
Line 25: | Line 35: | ||
<a href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/pop.html" rel="shadowbox;height=400;width=600">pop</a> | <a href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/pop.html" rel="shadowbox;height=400;width=600">pop</a> | ||
<a href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/fractal.gif" rel="shadowbox">fractal directly</a> | <a href="http://people.virginia.edu/~drt5p/VGEM/2009wiki/fractal.gif" rel="shadowbox">fractal directly</a> | ||
- | <a href=" | + | <a href="javascript:openWin()">wiki link</a> |
<a href="">test4</a> | <a href="">test4</a> | ||
<a href="https://2009.igem.org/wiki/skins/common/images/wiki.png" rel="shadowbox">igem</a> | <a href="https://2009.igem.org/wiki/skins/common/images/wiki.png" rel="shadowbox">igem</a> |
Revision as of 00:22, 29 September 2009