Team:Sevilla/template1

From 2011.igem.org

(Difference between revisions)
Line 11: Line 11:
<!--cablecillos-->
<!--cablecillos-->
-
<img id="wireHome" src="http://dl.dropbox.com/u/4492644/cable.gif" style="width:85px;height:50px;position: fixed; margin-left:-176px!important;" />
+
<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>
<script type="text/javascript">  
<script type="text/javascript">  
$(function(){
$(function(){
   $(".menu_head").mouseenter(function(){
   $(".menu_head").mouseenter(function(){
-
     $("wireHome").attr("src","http://dl.dropbox.com/u/4492644/cableActivo.gif");
+
     $("wireHome").css("background-image","url('http://dl.dropbox.com/u/4492644/cableActivo.gif')");
   }).mouseleave(function(){
   }).mouseleave(function(){
-
    $("wireHome").attr("src","http://dl.dropbox.com/u/4492644/cable.gif");
+
$("wireHome").css("background-image","url('http://dl.dropbox.com/u/4492644/cable.gif')");
   });
   });
});
});
</script>
</script>
-
 
-
 

Revision as of 10:44, 19 June 2011