Results 1 to 2 of 2

Thread: Popup box

  1. #1
    Join Date
    Mar 2005
    Location
    Ang Mo Kio, Singapore
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb Popup box

    Hi everyone:

    http://www.dynamicdrive.com/dynamicindex11/abox.htm

    Once you close the popup window generated by the script above...it it possible to generate a link to get it up again...?Because sometimes, people clicked on the 'x' and then realise that they missed certain information.

    Thanks

  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

    Add this function after the one called hidebox() - at the end of the script:
    Code:
    function showbox(){
    crossobj=ns6? document.getElementById("showimage") : document.all.showimage
    if (ie4||ns6)
    crossobj.style.visibility="visible"
    else if (ns4)
    document.showimage.visibility="show"
    }
    Use a link in the body of the page like this one for folks to click on:
    HTML Code:
    <a href="#" onclick="showbox();return false;">See It Again!</a>
    Enjoy!
    - 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
  •