Menu
Hey im a newbie web developer who studys web dev in the UK. I was wondering if anyone could he me with this. I want to be able to when you roll over a hyperlink an image comes up in a totally different place like at the bottom of the page. I have looked for the code but all i keep finding is a image rollover code which i know how to do.
If anybody could help and explain the code i would be very grateful.
[code=php]
...
var imageVis='false';
function imageDisp(){
if (imageVis) { //hide
imgDiv.style.visibility='hidden';
imageVis='false';
}else{
imgDiv.style.visibility='visible';
imageVis='true';
}
}
...
<a href=....
<div id='imgDiv' style='visibility:hidden.....'>
<img id='imgReplace' src=.....
[/code]
imgReplace.src='newImagePath';[/QUOTE]
0.1.9 — BETA 5.17