Team:Imperial College/Templates/Navigation2

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
-
<script type="text/javascript"
 
-
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
 
-
<script type="text/javascript">
 
-
$(document).ready(function() {
 
-
$("ul#topnav li").hover(function() {
 
-
$(this).css({ 'background' : 'transparent url(https://static.igem.org/mediawiki/2010/0/03/Valencia_navbar_active.gif) repeat-x'});
 
-
$(this).find("span").show();
 
-
} , function() { //on hover out...
 
-
$(this).css({ 'background' : 'none'});
 
-
$(this).find("span").hide();
 
-
});
 
-
 
-
});
 
</script>
</script>
-
 
<style>
<style>
Line 61: Line 47:
display: none;
display: none;
width:850px;
width:850px;
-
background: #ef8639;
+
background: #fffff;
color: #fff;
color: #fff;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomright: 5px;

Revision as of 23:42, 16 August 2013