View Full Version : Different link-images to different pop-ups


west2001gal
02-08-2003, 07:22 AM
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp() {
props=window.open('~URL~', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=400, height=600');
}// End --></script>

<div style="position:absolute; top:162; left:950; height:31; width:60; z-index:2;"><A HREF="javascript:popUp()"><img src="~IMAGE.JPG~" border="0"></A></div>

That is the first popup.

How do I have another popup of different content using another image-link?

Can someone edit my post and gimme the code please?

krystle
02-08-2003, 05:48 PM
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp() {
props=window.open('~URL~', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=400, height=600');
}// End --></script>

<div style="position:absolute; top:162; left:950; height:31; width:60; z-index:2;"><A HREF="javascript:popUp()"><img src="~IMAGE.JPG~" border="0"></A></div>



okay i had the same problem, sort of excpet for i used a text link instead of an image one, but all you have to do is rename the bold ones, so lets say you want that pop up window linked to the page about you, then you would rename it :

<br>
<Br>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function aboutme() {
props=window.open('~URL~', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=400, height=600');
}// End --></script>

<div style="position:absolute; top:162; left:950; height:31; width:60; z-index:2;"><A HREF="javascript:aboutme()"><img src="~IMAGE.JPG~" border="0"></A></div>


get it? i think thats right, if it isn't sorry.