|
|
|
|
|
My Novel |
|
|
|
|
|
|
|
|
|
|
|
|
|
Permission Time To Your Site Visitors
BY; Dr. Hafiz Shahid Amin (MBBS, DCA, DLO) ENT Surgeon
www.drshahid.com,pk, drshahee@brain.net.pk Gujranwala, Pakistan.
Description: A script that sets a time limit on how long a visitor can spend viewing the site document. The time left will be constantly shown at the status bar below. After time has expired (ie: 1 minute and 30 seconds), the browser will automatically navigate to another page, forcing the surfer out.
Directions: Step 1: Insert the below in the <head> section of your page. Change var limit from 1:30 (1 min and 30 secs) to your own limit. If you want the limit to be less than 1 min (ie, 30 seconds), enter 0:30. Be sure to also change the target URL to be forced to from http://www.drshahid.com.pk to your own.
Step 2: Add the below to the <body> tag itself, like this:
<body onLoad="begintimer()">
Copyright © 1997-2008
The Web page developed
and All rights reserved By;Dr. Hafiz Shahid Amin (MBBS, DCA, DLO)
ENT Surgeon,
Sargeon Naak Kaan GalaAuthor; Novel " Tuloo-e-Amn" (The Rise Of Peace)
For your E.N.T Health Problems, Or For Comments on This Website,
Or For Website making on cheap prices, Please
EMail Me !!!
drshahee@hotmail.com