Ver Mensaje Individual
  #5 (permalink)  
Antiguo 05/07/2006, 09:44
Avatar de DragonX
DragonX
Colaborador
 
Fecha de Ingreso: mayo-2002
Ubicación: Funkyland
Mensajes: 8.433
Antigüedad: 22 años, 9 meses
Puntos: 177
podes hacerlo tranquilamente con Jacascript.....de esta forma:

inserta esto dentro de los tags <head>.....</head>
Cita:
<script type="text/javascript">


var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&sou rce.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)| |source.contains(event.toElement)||source.id=="ign ore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget !=source)
source.style.backgroundColor=originalcolor
}

</script>
en el tag <table>......</table> lo siguiente:
Cita:
<table onMouseover="changeto(event, 'lightgreen')" onMouseout="changeback(event, 'white')">
"
"
</table>
en la celda donde no queres que haga este efecto, pone lo siguiente:
Cita:
<table onMouseover=.... onMouseout=...>
<td id="ignore">Main Menu</td>
<td>Eggs</td>
<td>Ham</td>
</table>
__________________
Desarrollos dosLotos
Calendario Maya, Meditación, Osho