Computer Webmaster Gaming Console Graphics Forum

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.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > JavaScript
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

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.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 10-10-2008, 6:04 AM   #1
moonight
MK PitStop Member
 
moonight's Avatar
 
Join Date: Oct 2008
Posts: 101
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $12.39

I am Worth:
MK Cash: $0.02
Donate

Recent Blog: None

moonight is on a distinguished road
Default automatic timed popups with PopUp Maker

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.
moonight is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 04-11-2009, 5:11 PM   #2
ULtarar
Member Level 1
 
ULtarar's Avatar
 
Join Date: Apr 2009
Posts: 3
My Photos: (0)
iTrader: (0)

Banked:
MK Cash: $0.00

I am Worth:
MK Cash: $0.06
Donate

Recent Blog: None

ULtarar is on a distinguished road
Default automatic timed popups with PopUp Maker

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
ULtarar is offline  
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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




All times are GMT +1. The time now is 11:44 PM.


Powered by: vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100