Javascript: Popup New Window(Self Closing)

ncthakur.itgo.com   Javascript: Pop Up Window

         NEPAL     |     ARTICLES     |     KAVITAHARU    |     MANTHAN    |     COOL LINKS    |     GUESTBOOK    |     SEARCH

JAVASCRIPT
As I have learned as a beginner:
1. Opening New Window

2. Use of Alert, Prompt & Confirm

3. Document Write

4. Use of Function

5. Event Handlers (Image Rollover)

6. If and Else Statement

7. Predefined Object (Date)

8. Cut & Paste JavaScript

ABOUT ME
Click here to find out about me and view few of my photographs.

NEPAL
Overview of Nepal
Map & images
Nepalese websites

KAVITAHARU
View few of my poems
written in Nepali language

ARTICLES
Articles on
crime prevention
investigation
& crime control

COOL LINKS
Computer
Travel & Tour
Police World
Downloads
Personality Test
Nepal News
Crime & Police News
Nepali Music
Health
Horoscope
Monthly Poll
Other

ADD EMAIL
Search or add email to the search list.

GUESTBOOK
View to find out what other visitors have to say about this web site.

KURAKANI
Are you interested to chat? Go to Kurakani room.

FREE E-CARDS
Enormous free E-Cards of your choice. Send it to your friend and family members.

FREE SITE SUBMIT
Submit your web site to the major search engines here.

button_CISPRO_saves_me_over_$200_a_year version 1 120x60
 

Cut and Paste JavaScript

Pop Up Window II(Self Closing)

A simple script that allows you to launch popup window and the window is closed by itself according to your specified time limit. The only difference from the other pop up script is that the script is placed in main web page rather than placing one of the scripts in the pop up window.

 

 

Copy the following code into the HEAD tags of your web page.

Copy the following text and code in the BODY of your web page.

But if you want the new pop up window to open while loading your web page then simply add in the body tag instead.

<body onLoad="openWin()">



BACK

Top

Home  | About Me  |  Nepal  |  Articles  | Kavitaharu  | Cool Links 
 Javascript  | Add Email  |  Guestbook