PDA

View Full Version : Popup box



jtwolverine8
07-13-2005, 12:44 PM
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

jscheuer1
07-13-2005, 03:23 PM
Add this function after the one called hidebox() - at the end of the script:

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:

<a href="#" onclick="showbox();return false;">See It Again!</a>Enjoy!