Results 1 to 2 of 2

Thread: Need suggestion about "Pop-Up" script.

  1. #1
    Join Date
    Jan 2005
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Need suggestion about "Pop-Up" script.

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You seem to want just targeted links:

    HTML Code:
    <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:

    HTML Code:
    <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>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •