Código HTML:
Ver original
<html> <head> <style type="text/css"> #cv_001 h2{ color:#FFFFFF; font-size:110%; margin:10px 10px 10px 10px; font-weight:bold !important; } #cv_001 h2 span{ font-size:100%; font-weight:normal !important; } #cv_001 input { margin:0px 10px 3px 20px; padding:2px; display:block; border:0px; width:150px; color:#FFF; } #cv_todo{ display:block; position:absolute; height:110px; right:0px; top:50%; z-index:90; } #cv_001 li a{ width:100%; } #cv_001 li a:link,#cv_001 li a:visited{ color:#FFFFFF; display:block; font-family:verdana; font-size:100%; margin:0px 0px 0px 0px; padding:0px; text-decoration:none; width:100%; } #cv_001 li a:hover{ color:#FFFFFF; text-decoration:underline; } #cv_001{ background:url('css/photo/cv_2.png'); float:left; height:110px; right:0px; top: 50%; z-index:89; width:25px; } #cv_002{ float:left; height:110px; width:28px; border:0px; } #cv_002 img{ border:0px solid #FFFFFF; } #cv_002:active{ border:0px; } #hacia_i{ } #cv_003{ float:left; overflow:hidden !important; width:200px; height:110px; background:#000; } #cv_004{ width:200px; } #cv_004 h2{color:white;} </style> <script type="text/javascript"> var isExtended = 0; $(document).ready(function(){ $('#cv_001').click(function(){ $('#cv_003').toggle("slow"); if(isExtended==0){ $('#cv_001').css('background', 'url(cv_2_on.png)'); // $('#cv_001').attr("src","cv_2_on.png"); // document.getElementById('cv_001').childNodes[0].src = document.getElementById('cv_001').childNodes[0].src.replace(/(\.[^.]+)$/, '_on$1'); isExtended++; }else{ $('#cv_001').css('background', 'url(cv_2.png)'); // $('#cv_001').attr("src","cv_2.png"); // document.getElementById('cv_001').childNodes[0].src = document.getElementById('cv_001').childNodes[0].src.replace(/_on(\.[^.]+)$/, '$1'); isExtended--; } }); }); </script> </head> <body> <div id="contenedor" align="center"> <div id="cv_todo"> <div id="cv_001"> </div> <div id="cv_003" style="display:none;"> <div id="cv_004"> <form id="" method="post" action="contac.php"> <input type="button" id="boton_entrar" style="background:#294659;color:white;" value="Entrar"> </form> </div> </div> </div> </div> </body> </html>
en mozilla firefox anda bien, el problema es en los demas , que hago mal ?