How can I make it so that by hovering the mouse over an item, it changes its class? I call a Javascript function through onmouseover(), but then I want the function to change the item's class. Does anyone know how?
hi
ir's simple, but not in ns4 only (in netscrap styles append onload only: you'll have to reload page passing new style name like a parameter & then onload assign it.. ugly-ugly)
take a look:
<div id="my" class="cl1" onmouseover="this.className='cl2'"><div>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.