Tema: Botonera!
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 02/09/2005, 08:58
Avatar de KarlanKas
KarlanKas
Moderador extraterrestre
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 6.987
Antigüedad: 23 años, 1 mes
Puntos: 61
Muchas gracias por tus críticas del blog! Debiste leer el único post divertido

Respecto a tu problema, veo que no has cambiado el nombre del archivo del botón de la empresa. el name del botón sin seleccionar debe ser: laempresa.gif y seleccionado debe ser laempresa2.gif.

Igual con nuestrosproductos.gif y con cualquier botón que añadas.

He simplificado aun más el código:
Código PHP:
<HTML
<
HEAD
<
TITLE>arriba</TITLE
<
META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"
<
script language="JavaScript"
<!-- 

function 
MM_preloadImages() { //v3.0 
  
var d=document; if(d.images){ if(!d.MM_pd.MM_p=new Array(); 
    var 
i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0i<a.lengthi++) 
    if (
a[i].indexOf("#")!=0){ d.MM_p[j]=new Imaged.MM_p[j++].src=a[i];}} 


var 
antiguo="*"
function 
marcar(esto){ 
if(
antiguo!="*" && antiguo!=esto){ 
antiguo.src=antiguo.src.split("2.gif").join(".gif"); 

antiguo=esto


//--> 
</script> 
<STYLE> 
a:link  { 
    color : #000000; 
    text-decoration : none; 


a:visited  { 
    color : #000000; 
    text-decoration : none; 


a:active  { 
    color : #000000; 
    text-decoration : none; 


a:hover  { 
    color :#800000; 
    text-decoration : none; 

</STYLE> 
</HEAD> 
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 onLoad="MM_preloadImages('botones/laempresa2.gif','botones/nuestrosproductos2.gif')"> 
<P> 
<table width=643 border=0 cellpadding=0 cellspacing=0> 
  <tr> 
    <td colspan=11> <img src="Images/botons_01.jpg" width=643 height=1 alt=""></td> 
  </tr> 
  <tr> 
    <td> <img src="Images/botons_02.gif" width=1 height=18 alt=""></td> 
    <td width="74" height="18"> 
      <div align="CENTER"><font face="Arial" size="1"><b><font color="#000000">HOME</font></b></font></div> 
    </td> 
    <td> <img src="Images/botons_04.jpg" width=1 height=18 alt=""></td> 
    <td width="112" height="18"><a href="la_empresa3.html"target="iframe"><img  onMouseOut="if(antiguo!=this){this.src=this.src.split('2.gif').join('.gif')}" onMouseOver="if(antiguo!=this){this.src=this.src.split('.gif').join('2.gif')}"  onclick="marcar(this)" name="La Empresa" border="0" src="botones/laempresa.gif" width="112" height="18"></a></td> 
    <td> <img src="Images/botons_06.jpg" width=1 height=18 alt=""></td> 
    <td width="170" height="18"><a href="nuestros_productos2.html" target="iframe"><img  onMouseOut="if(antiguo!=this){this.src=this.src.split('2.gif').join('.gif')}" onMouseOver="if(antiguo!=this){this.src=this.src.split('.gif').join('2.gif')}"   onclick="marcar(this)" name="Nuestros Productos" border="0" src="botones/nuestrosproductos.gif" width="170" height="18"></a></td> 
    <td> <img src="Images/botons_08.jpg" width=1 height=18 alt=""></td> 
    <td width="152" height="18"> 
      <div align="CENTER"><font face="Arial" size="1"><b>FILOSOFIA GOURMET</b></font></div> 
    </td> 
    <td> <img src="Images/botons_10.jpg" width=1 height=18 alt=""></td> 
    <td width="129" height="18"> 
      <div align="CENTER"><font face="Arial" size="1"><b><font color="#000000">CONTACTO 
        Y VENTA</font></b></font></div> 
    </td> 
    <td> <img src="Images/botons_12.jpg" width=1 height=18 alt=""></td> 
  </tr> 
  <tr> 
    <td colspan=11> <img src="Images/botons_13.jpg" width=643 height=1 alt=""></td> 
  </tr> 
</table><iframe name="iframe"></iframe> 
</BODY> 
</HTML> 
Un saludo!
__________________
Cómo escribir

No hay pregunta tonta, sino tonto que quiere seguir en la ignorancia.