Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Mouseover woes
- From: javascript@xxxxxxxxxx (Peter-Paul Koch)
- Subject: [Javascript] Mouseover woes
- Date: Wed, 31 Jul 2002 12:44:44 +0000
>heres a good one that has be slightly stumped. can I do a mouse over >without absolutly referencing the image??? Only if you don't mind that the script will only work in the highest browsers (and *not* in Netscape 4). >eg > ><td class='box'><a href='test.asp'><img src='../images/bar.gif'></a></td>" > >this is all I have I want to to the equivivent of ><td class='box'><a href='test.asp'><img src='../images/bar.gif' >onmouseover='document.this.image.src=../images/test.gif'; return >true;'></a></td>" this.src, not document.this.image.src . Otherwise it would work. See also http://www.xs4all.nl/~ppk/js/index.html?newmouseover.html for a slightly different approach. ppk _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
- Prev by Date: [Javascript] Mouseover woes
- Next by Date: [Javascript] Dynamically create & populate a hidden form field...
- Previous by thread: [Javascript] Mouseover woes
- Next by thread: [Javascript] Dynamically create & populate a hidden form field...
- Index(es):