...

View Full Version : Image Rollover and Popup



Untitled
07-16-2003, 06:32 PM
Hey hey, I know this question has been asked several times, because I searched previous form discussions first, but none of them really explained it very clearly, at least not enough for me to understand. So, please help!

I need just one image to swap to another, and when clicked, a popup without any scrollbars or anything. I know, that's it! How new am I to this.

Well, thanks in advance.

Mr J
07-17-2003, 06:46 PM
Try the following



<HTML>
<HEAD>
<TITLE>Document Title</TITLE>
<script>
function newWin(theURL){
var newWin=open((theURL),'','width=200,height=100,top=300,left=250' );
}
</script>
</HEAD>
<BODY>

<center><a href="#null" onclick="newWin('page1.htm')">
<img name="Image1" src="pic1.jpg" onmouseover="this.src='pic2.jpg' " onmouseout="this.src='pic1.jpg' ">
</a>


</BODY>
</HTML>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum