Team:Bilkent UNAM Turkey
From 2011.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<link href='https://2011.igem.org/Team:Bilkent_UNAM_Turkey/css/tabbedContent.css?action=raw&ctype=text/css' rel='stylesheet' type='text/css'/> | <link href='https://2011.igem.org/Team:Bilkent_UNAM_Turkey/css/tabbedContent.css?action=raw&ctype=text/css' rel='stylesheet' type='text/css'/> | ||
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js'></script> | <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js'></script> | ||
- | + | <script type="text/javascript" src="https://2011.igem.org/Team:Bilkent_UNAM_Turkey/js/dropdowncontent.js?action=raw&ctype=text/css\"></script> | |
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 281: | Line 281: | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <DIV id="subcontent" style="position:absolute; visibility: hidden; border: 9px solid black; background-color: white; width: 300px; padding: 8px;"> | ||
+ | |||
+ | //EMPTY DIV!! | ||
+ | |||
+ | </DIV> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | |||
+ | var list=["TNT"]; | ||
+ | for(var i =0;i<list.length;i++){ | ||
+ | var temp=list[i]; | ||
+ | $("div.slide_content").html($("div.slide_content").html().replace( temp, "<a href=\"https://2011.igem.org/Team:Bilkent_UNAM_Turkey/"+temp+"\" id=\"searchlink"+i+"\" rel=\"subcontent\" rev=\"https://2011.igem.org/Team:Bilkent_UNAM_Turkey/pops/"+temp+"?action=raw&ctype=text/css\">"+temp+"</a>" )); | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | for(var i=0 ;i<list.length;i++) | ||
+ | dropdowncontent.init(("searchlink"+i), "right-bottom", 500, "mouseover"); | ||
+ | |||
+ | //Call dropdowncontent.init("anchorID", "positionString", glideduration, "revealBehavior") at the end of the page: | ||
+ | </script> | ||
</html> | </html> |
Revision as of 14:57, 15 September 2011
//EMPTY DIV!!