Click to See Complete Forum and Search --> : Popup Window Maker
carolinaadi
05-28-2003, 01:19 PM
I would like to use the Popup Window maker (http://javascript.internet.com/generators/popup-window.html) to help me generate a popup for my site. I am not sure though when it asks what filename should be open what that means?
Do I create an html file and upload it to my server. Then put that link as the filename to open? What is a standard window size? Also, there is not an option of when the window will open. I would rather it open as the viewer first enters my site.
thank you,
Jeremy (newbie) :)
AdamGundry
05-28-2003, 01:26 PM
First, you must be aware that auto-opening popups are in most cases a very bad idea.
You need to upload a HTML file to your server, then enter its filename in the first box. There is no standard window size, but it must be bigger than 100*100 and smaller than the user's screen.
To make the window open when the visitor loads the page:
<body onload="popUp('filename.html')">
Adam
carolinaadi
05-28-2003, 01:50 PM
First, you must be aware that auto-opening popups are in most cases a [B]very bad idea.
So do you think it should be upon the viewer leaving the site?
To make the window open when the visitor loads the page:
<body onload="popUp('filename.html')">
Okay. So where do I place to code that is created by the generator?
thanks again
AdamGundry
05-28-2003, 02:23 PM
I think you probably shouldn't be using it at all - what are you using it for?
Follow the generator's step one instruction, then use the code I gave you as a <body> tag, with the filename you want to load in the single quotes.
Adam
bsharke
07-11-2004, 08:04 AM
Hi Jeremy.....where you successful installing your popup window ad.
I have been having problems with the same code. I would appreciate a reply