Spottt
Spottt
StumbleUpon Toolbar Stumble It!

Add a popup window to your site.

How you can use it to improve the look of your site and add new features to it. You can post any script you like if you find it interesting or if you think it can help others.

Add a popup window to your site.

Postby tick on Fri Feb 29, 2008 9:27 pm

INSTALL POPUP WINDOW :
Follow the steps below to INSTALL A POPUP WINDOW

STEP ONE: Copy this code into the HEAD of your HTML document

Code: Select all
<HEAD>

<SCRIPT LANGUAGE="JavaScript">
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=0,statusbar=1,resizable=1,width=1024,height=768,left = 0,top = 0');");
}
</script>



STEP TWO: Paste this into the BODY tag

Code: Select all
<BODY onLoad="javascript:popUp('http://www.kidu.info')">
User avatar
tick
Site Admin
 
Posts: 19
Joined: Thu Feb 21, 2008 5:24 am

Re: Add a popup window to your site.

Postby Razor on Fri Mar 07, 2008 11:50 am

i tried this one and it works ... do you know how can i set the size of the popup window ?
Razor
 
Posts: 4
Joined: Thu Mar 06, 2008 7:25 pm

Re: Add a popup window to your site.

Postby tick on Fri Mar 07, 2008 8:43 pm

Look at
Code: Select all
width=1024,height=768


this is the size of the popup window
User avatar
tick
Site Admin
 
Posts: 19
Joined: Thu Feb 21, 2008 5:24 am


Return to Javascript

Who is online

Users browsing this forum: No registered users and 1 guest

cron
My Google Pagerank
Josh`s Sanctum

Review kidu.info

Get help with your myspace profile, forum publishing andinstall, web page design, scripts,SEO, your blog and linkbuilding offers.
Car Insurance - Compare Motor Insurance Online
Direct Line Car InsuranceLiverpool Victoria Car InsuranceMore Than Car Insurance
Churchill Car InsuranceKwik Fit Car InsuranceTesco Car Insurance
Car Insurance - Compare Motor Insurance Online
Direct Line Car InsuranceLiverpool Victoria Car InsuranceMore Than Car Insurance
Churchill Car InsuranceKwik Fit Car InsuranceTesco Car Insurance