How do I make an image pop up on another part of a web page when you mouse over another image or link?
Regards,
David Parker
David Parker
TPA Web Design
Regards,
David Parker
David Parker
TPA Web Design
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if document.images(){
1st = new Image
2nd = new Image
1st.src="images/pic1.gif"
2nd.src="images/pic2.jpg"
else {
1st=""
2nd=""
<script language="javascript" type="text/javascript">
<!-- Hide
if document.images(){
1st = new Image
2nd = new Image
1st.src="images/pic1.gif"
2nd.src="images/pic2.jpg"
}
else{
1st=""
2nd=""
document.affectedArea="" //This specifies the object to affect.
}
//End-->
</script>
<a href="newpage.htm" onMouseover="document.affectedArea.src=2nd.src" onMouseout="document.affectedArea.src=1st.src">Next Page</a>
<img border="0" src="images/anotherPic" name="affectedArea">