![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| JavaScript JavaScript are you needing help with functions in your script, free help is offered here for all JavaScript problems so if you have an JavaScript error in your code just ask. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| MK PitStop Member | automatic timed popups with PopUp Maker Step One: Make up your popup code per usual with PopUp Maker. Important: Remember to use a different Function Name and PopUp Name for each one if you are using more than one popup in a given page. Insert the script(s) in the head of the page, just as you usually do. We'll show an outline of how this all goes together at the end -- it's fairly easy to do. Step Two: For each popup -- after the popup scripts you inserted in Step One -- then you will insert a call for a timer, like this: <script> setTimeout("doPopUp1()", 15000); </script> Call the popup function as shown in red. The 15000 shown in this sample is how long to wait before launching the popup. The figure is in milliseconds (1000 = 1 second), so, for example, the sample above is set to wait 15 seconds before launching the popup. General Outline: This shows how it will all go together in the <head> section of your page. Here, we show how to do two such poppers with different start times. <head> <script> // PopUp Maker 5.0 by CodeBrain.com // PopUp Window Script // Place this script in the <head> of your page. function doPopUp1(){ doPopUp1Window = window.open(... etc. ...); } </script> <script> // PopUp Maker 5.0 by CodeBrain.com // PopUp Window Script // Place this script in the <head> of your page. function doPopUp2(){ doPopUp2Window = window.open(... etc. ...); } </script> <script> setTimeout("doPopUp1()", 15000); </script> <script> setTimeout("doPopUp2()", 30000); </script> </head> Thus, we have two different popups -- doPopUp1( ) and doPopUp2( ) -- which will fire respectively at 15000 milliseconds (15 seconds) and 30000 milliseconds (30 seconds). To do more than two -- just follow the overall pattern. | ||
| | |
| | #2 | ||
| Member Level 1 | Automatic Timed Self-closing Popup is a multiplatform compatible script that opens a ... Ace Popup Maker Software is an effective software for both the ...
__________________ No Adult Links Please | ||
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Webhost without banners/popups? | Nathan | Cheap Web Hosting Package | 4 | 09-05-2007 9:28 AM |
| save as popup | Terry Austin | PHP | 0 | 07-01-2007 4:24 PM |
| Crackdown Timed Stunt driver | Alan | Console Subjects | 11 | 06-11-2007 12:24 AM |
| Free Webhost without banners/popups? | Greg | Cheap Web Hosting Package | 12 | 05-31-2007 2:49 PM |
| Timed out error with PEAR-SOAP | Victor | Pear | 0 | 05-20-2007 5:34 PM |
| Featured Websites | ||||
|