Tema: Menu
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/01/2002, 20:41
CHuLoYo
 
Fecha de Ingreso: diciembre-2001
Mensajes: 164
Antigüedad: 23 años, 2 meses
Puntos: 0
Re: Menu

en el <head> pones:

<pre>&lt;SCRIPT&gt;
function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD')
src.children.tags('A')[0].click();
}
// --&gt;
&lt;/SCRIPT&gt; </pre>

y en las tablas pones:

<pre>&lt;TD onmouseover='mOvr(this,&quot;#COLOR A CAMBIAR&quot;);'
onclick=mClk(this); onmouseout='mOut(this,&quot;&quot;);'&gt;&lt;/TD&gt; </pre>

<IFRAME marginWidth=0 marginHeight=0 src="http://www.iraultza.com/castroweb/firma.htm" frameBorder=0 noResize width=450 scrolling=no height=55></IFRAME>