Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/10/2007, 17:01
Avatar de gmaciel
gmaciel
 
Fecha de Ingreso: marzo-2005
Mensajes: 391
Antigüedad: 19 años, 1 mes
Puntos: 4
Error en código, onmouseover

Que tal, gracias por atender

Utilizo FrontPage XP

Tengo unos botones en mi página que se supone que al pasar el cursor cambien a otro boton (jpg´s)

El problema es que cuando se pasa el cursor por uno de ellos, por ejemplo "inicio", el que cambia de color es "nosotros" y así en varios.

Adjunto el código (porque no lo he subido) y los botones, solo que los botones habrán de descargarlos de la siguiente dirección:

http://www.transferbigfiles.com/Get....4-4a13a46fc0f4

Gracias de antemano

=======================CÓDIGO===================== ==

<html>

<head>
<meta http-equiv="Content-Language" content="es">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Pagina nueva 1</title>
<script language="javascript1.1">
<!--

/*Code generated by the onmouseover whipper
Visit http://javascriptkit.com for more info*/

a001=new Image(160,15)
a001.src="imagenes/botones/boton_espanol.jpg"
b002=new Image(160,15)
b002.src="imagenes/botones/boton_espanol2.jpg"

a003=new Image(160,15)
a003.src="imagenes/botones/buton_english.jpg"
b004=new Image(160,15)
b004.src="imagenes/botones/buton_english2.jpg"

a005=new Image(160,15)
a005.src="imagenes/botones/boton_inicio.jpg"
b006=new Image(160,15)
b006.src="imagenes/botones/boton_inicio2.jpg"

a007=new Image(160,15)
a007.src="imagenes/botones/boton_productos.jpg"
b008=new Image(160,15)
b008.src="imagenes/botones/boton_productos2.jpg"

a009=new Image(160,15)
a009.src="imagenes/botones/boton_nosotros.jpg"
b010=new Image(160,15)
b010.src="imagenes/botones/boton_nosotros2.jpg"

a011=new Image(160,15)
a011.src="imagenes/botones/boton_vision.jpg"
b012=new Image(160,15)
b012.src="imagenes/botones/boton_vision2.jpg"

a013=new Image(160,15)
a013.src="imagenes/botones/boton_contacto.jpg"
b014=new Image(160,15)
b014.src="imagenes/botones/boton_contacto2.jpg"

//-->
</script>
<script>
<!--
function filter(imagename,objectsrc){
if (document.images)
document.images[imagename].src=eval(objectsrc+".src")
}
//-->
</script>
<base target="inferior">
<style type="text/css">
<!--
.Estilo1 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12pt;
font-weight: bold;
}
.Estilo2 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 18px;
font-weight: bold;
}
-->
</style>
</head>


<body topmargin="0" leftmargin="0">

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="780" id="AutoNumber1" height="309">
<tr>
<td width="770" height="309" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-width:0; border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber2">
<tr>
<td width="35%" valign="top" bgcolor="#FFFFFF" style="border-style: none; border-width: medium">
<p align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="236" height="104">
<param name="movie" value="flash/logos.swf">
<param name="quality" value="high"><param name="LOOP" value="false">
<embed src="flash/logos.swf" width="236" height="104" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>
</td>
<td width="73%" bgcolor="#FFFFFF" style="border-style: none; border-width: medium">
<p align="center">
<img border="0" src="imagenes/nombre2.gif" width="430" height="92"></td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber3" height="19">
<tr>
<td width="25%" style="border-style: none; border-width: medium" bgcolor="#0000FF" height="25">

<img src="imagenes/botones/boton_contacto.jpg" name="c113" border=0 align="right" width="85" height="17"></a> <a target="inferior" onmouseover="filter('c113','b014')" onmouseout="filter('c113','a013')" href="principal_esp.htm">

<img src="imagenes/botones/boton_vision.jpg" name="c111" border=0 align="right" width="61" height="17"></a> <a target="inferior" onmouseover="filter('c111','b012')" onmouseout="filter('c111','a011')" href="principal_esp.htm">

<img src="imagenes/botones/boton_nosotros.jpg" name="c109" border=0 align="right" width="87" height="17"></a> <a target="inferior" onmouseover="filter('c109','b010')" onmouseout="filter('c109','a009')" href="principal_esp.htm">

<img src="imagenes/botones/boton_productos.jpg" name="c107" border=0 align="right" width="95" height="17"></a> <a target="inferior" onmouseover="filter('c107','b008')" onmouseout="filter('c107','a007')" href="principal_esp.htm">

<img src="imagenes/botones/boton_inicio.jpg" name="c105" border=0 align="right" width="59" height="17"></a> <a target="inferior" onmouseover="filter('c105','b006')" onmouseout="filter('c105','a005')" href="principal_esp.htm">

<img src="imagenes/botones/buton_english.jpg" name="c103" border=0 align="left" width="72" height="17"></a> <a target="inferior" onmouseover="filter('c103','b004')" onmouseout="filter('c103','a003')" href="principal_esp.htm">

<img src="imagenes/botones/boton_espanol.jpg" name="c101" border=0 align="left" width="73" height="17"></a> <a target="inferior" onmouseover="filter('c101','b002')" onmouseout="filter('c101','a001')" href="principal_esp.htm">

</tr>
</table>
<p align="left">&nbsp;</td>
<td width="10" height="309" valign="top" background="imagenes/fondo_celdas.jpg">
&nbsp;</td>
</tr>
</table>

<p>
&nbsp;</p>

<p>
&nbsp;</p>

</body>

</html>


=======================CÓDIGO===================== ==