Team:Sevilla/template1
From 2011.igem.org
(Difference between revisions)
Line 71: | Line 71: | ||
.menu_body a:hover {/*ponerse encima de los links internos*/ | .menu_body a:hover {/*ponerse encima de los links internos*/ | ||
color: black; | color: black; | ||
- | background-color: | + | background-color: white; |
- | + | ||
} | } | ||
- | |||
</style> | </style> | ||
+ | |||
+ | <script type="text/javascript"> /*colorear menu al pasar encima*/ | ||
+ | $(function(){ | ||
+ | $(".menu_head").mouseenter(function(){ | ||
+ | $(this).css({'background-color': 'white'}); | ||
+ | }).mouseleave(function(){ | ||
+ | $(this).css({'background-color': '#eef4d3'}); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$("#firstpane p.menu_head").click(function() | $("#firstpane p.menu_head").click(function() |
Revision as of 22:15, 18 May 2011