PDA

View Full Version : Need suggestion about "Pop-Up" script.



WP1
09-08-2006, 05:14 PM
Hello All!

I am looking for suggestions for a Dynamic Drive script that:

Will allow a Pop-Up window after clicking a thumbnail image
Does not need anything in the head of the page
Does not need CSS to work
Will work in IE, FF and Opera


I did a search for "Pop-Up" on the DD site and it seems that each script that resulted in the search was missing something from the list noted above.

I am trying to get a larger image to Pop-Up when a user clicks on the thumbnail image.

I need to use the script with the FacileForms Form Creator on a Joomla site. Javascript, if I use it, comes up in the "Atl" window if the mouse is hovered over the image. To have to also place javascript in the header just complicates everything.

I am hoping that one of the DD Gurus or regular DD users might know of a script I could use and direct me to it. :)

Thanks in advance for any and all help with this.

WP1

jscheuer1
09-09-2006, 06:48 PM
You seem to want just targeted links:


<a href="popup.htm" target="_blank"><img src="thumb.jpg" border="0"></a>

Or possibly with the window.open method for greater control in browsers that will support it:


<a href="popup.htm" target="mywin" onclick="thewin=window.open(this.href,this.target,'width=300, height=250, resizable=1, scrollbars=1');thewin.focus();return false;"><img src="thumb.jpg" border="0"></a>