hey, Is it possible to change the content of a div(or anything similar) by an "a href" link and onmouseover? I've been trying to work it out but I'm not sure how I could do it. Any help would be appreciated. Thanks, S
Heres a couple of scripts that you can work with to do that: http://www.dynamicdrive.com/dynamicindex17/multipartcontent.htm http://www.dynamicdrive.com/dynamicindex17/tabcontent.htm
Thanks. Do you know if it's possible to do something like onmouseover="something.value='a'" instead of having seperate div's for all? It's going to be a lot of extra coding if not, hehe. Thanks.
nevermind, thanks. got it working. <html> <head> <title>Test</title> <script language="javascript"> <!-- function changeZoom(value) { document.getElementById("zoomin").innerHTML = value; } //--> </script> </head> <body> <div id="zoomin"></div><br /><br /> <a href="#" onmouseover="changeZoom('a');">a</a> ... <a href="#" onmouseover="changeZoom('b');">b</a> </body> </html> Code (markup):