| | |
Show a holding page on exit
![]() |
Guys, not sure what to search for in order to get an answer for my query, so apologies if this has been answered before.
Essentially, on my site i have URL's to external sites. Whenever someone clicks on an URL pointing to an external site I want them to be directed to a temporary holding page (which will contain an advert) , after a five second delay the holding page will be refreshed so that it displays the content of the external URL.
Does anyone have any pointers on how this can be done?
I know i could use a meta-tag to do the refresh, but not sure how to get people to go to the holding page.
Any help would be much appreciated.
Essentially, on my site i have URL's to external sites. Whenever someone clicks on an URL pointing to an external site I want them to be directed to a temporary holding page (which will contain an advert) , after a five second delay the holding page will be refreshed so that it displays the content of the external URL.
Does anyone have any pointers on how this can be done?
I know i could use a meta-tag to do the refresh, but not sure how to get people to go to the holding page.
Any help would be much appreciated.
I'm not sure you can accomplish everything you want to do, but you should check out the JavaScript 'onUnload' event handler. It is placed in the body tag and is intended to run a JavaScript routine when someone tries to leave a page. I've seen it used for pop-ups.
Obviously, it will only work when a user has JavaScript enabled.
Hope that helps.
Obviously, it will only work when a user has JavaScript enabled.
Hope that helps.
![]() |
Similar Threads
- Retriving data from excel sheet into an asp page (ASP)
- Page Loading (JavaScript / DHTML / AJAX)
- Not all graphics show up (Windows Servers and IIS)
- update the page without changing it? (Site Layout and Usability)
- Framed page won't display in IE but will display in Netscape (Web Browsers)
Other Threads in the IT Professionals' Lounge Forum
- Previous Thread: Database Administrator Wannabe
- Next Thread: Search engine
| Thread Tools | Search this Thread |
1gbit advertising advice amazon answers archive british broadband business businessprocesses career carrier censorship cern china cio collectiveintelligence connectivity consumer consumers corporateearnings datatransfer debtcollectors dictionary digg digital ebay ecommerce email employment environment facebook food government grid high-definition hottub infodelivery infotech intel internet interview ipod isp japan kindle lhc library malware marketing mit moonfruit news onlineshopping piracy piratebay pope porn program questions r&d religion remoteworking research retail security sex shopping simple skype smallbusiness smb sms socialmedia socialnetworking software softwareengineer spam speed spending startrek statistics stocks study stumbleupon survey tabletpc technology touch-screen touchscreen twitter uk videoinprint voips web webdeveloper windows words






