Team:Duke
From 2009.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
// (a little sooner than page load) | // (a little sooner than page load) | ||
$('#slickbox').hide(); | $('#slickbox').hide(); | ||
+ | $('#slickbox2').hide(); | ||
// shows the slickbox on clicking the noted link | // shows the slickbox on clicking the noted link | ||
$('a#slick-show').click(function() { | $('a#slick-show').click(function() { | ||
Line 22: | Line 23: | ||
$('a#slick-toggle').click(function() { | $('a#slick-toggle').click(function() { | ||
$('#slickbox').toggle(300); | $('#slickbox').toggle(300); | ||
+ | return false; | ||
+ | }); | ||
+ | $('a#slick-toggle2').click(function() { | ||
+ | $('#slickbox2').toggle(300); | ||
return false; | return false; | ||
}); | }); | ||
Line 29: | Line 34: | ||
<a id="slick-toggle">toggle box</a> | <a id="slick-toggle">toggle box</a> | ||
+ | <a id="slick-toggle2">toggle box 2</a> | ||
<div id="slickbox"> | <div id="slickbox"> | ||
blahblahblah | blahblahblah | ||
+ | </div> | ||
+ | |||
+ | <div id="slickbox2"> | ||
+ | more blahblahblah | ||
</div> | </div> | ||
Revision as of 19:28, 22 September 2009
toggle box toggle box 2
blahblahblah
more blahblahblah
Under Construction