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

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.

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

 

Cut and Paste JavaScript

Pop Up Window (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.

 

 

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 following body tag instead.

<body onLoad="myPage()>

Now to close the new pop up window place the following code into the HEAD Tags of the new pop up window which you want to close. The following code has been placed in the new pop up window of my example webpage(blank.htm).



BACK

Top

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