Team:Sevilla/template1

From 2011.igem.org

(Difference between revisions)
Line 11: Line 11:
<!--cablecillos-->
<!--cablecillos-->
-
<div id="wHome" style="width:85px;height:50px;position: fixed; margin-left:-176px!important;background-image:url("http://dl.dropbox.com/u/4492644/cable.gif");"></div>
+
<div id="wHome" style="width:80px;height:50px;margin-left:-276px!important;position:fixed;"></div>
-
 
+
<style>
 +
#wHome{background-image:url("http://dl.dropbox.com/u/4492644/cable.gif");}
 +
</style>
 +
b
<script type="text/javascript">  
<script type="text/javascript">  
$(function(){
$(function(){
-
   $(".menu_head").mouseenter(function(){
+
   $("#wHome").mouseenter(function(){
-
     $("wHome").css("background-image","url('http://dl.dropbox.com/u/4492644/cableActivo.gif')");
+
     $(this).css("background-image","url('http://dl.dropbox.com/u/4492644/cableActivo.gif')");
   }).mouseleave(function(){
   }).mouseleave(function(){
-
$("wHome").css("background-image","url('http://dl.dropbox.com/u/4492644/cable.gif')");
+
$(this).css("background-image","url('http://dl.dropbox.com/u/4492644/cable.gif')");
   });
   });
});
});
</script>
</script>
 +

Revision as of 10:58, 19 June 2011

b