Team:IIT Madras/Template:header
From 2011.igem.org
(Difference between revisions)
Line 14: | Line 14: | ||
#nav_bar ul li a{text-decoration:none; color:white; } | #nav_bar ul li a{text-decoration:none; color:white; } | ||
- | .nav_item{position:relative; float:left; top:15px; height:30px | + | .nav_item{position:relative; float:left; top:15px; height:30px;} |
</style> | </style> | ||
Line 30: | Line 30: | ||
var name=$(this).attr('id') + "_menu"; | var name=$(this).attr('id') + "_menu"; | ||
$("#"+name).stop(true,true).slideUp(); | $("#"+name).stop(true,true).slideUp(); | ||
+ | }); | ||
+ | |||
+ | $("#project").mouseOver(function(){ | ||
+ | $("#project_links").show(); | ||
+ | }); | ||
+ | |||
+ | $("#scribbles").mouseOver(function(){ | ||
+ | $("#scribbles_links").show(); | ||
+ | }); | ||
+ | |||
+ | $("#modelling").mouseOver(function(){ | ||
+ | $("#modelling_links").show(); | ||
+ | }); | ||
+ | |||
+ | $("#about").mouseOver(function(){ | ||
+ | $("#about_links").show(); | ||
}); | }); | ||
Line 95: | Line 111: | ||
<div id="human" class="nav_item" style=" left:116px; width:102x;"></div> | <div id="human" class="nav_item" style=" left:116px; width:102x;"></div> | ||
<div id="attributions" class="nav_item" style=" left:108px; width:115px;"></div> | <div id="attributions" class="nav_item" style=" left:108px; width:115px;"></div> | ||
- | + | ||
<div id="project_links" class="nav_bar"><ul> | <div id="project_links" class="nav_bar"><ul> | ||
Line 108: | Line 124: | ||
</ul></div> | </ul></div> | ||
- | <div id=" | + | <div id="modelling_links" class="nav_bar" ><ul> |
<li>Results</li> | <li>Results</li> | ||
<li>Introduction</li> | <li>Introduction</li> |
Revision as of 19:50, 4 October 2011