PDA

View Full Version : Pop up questionnaire


Nathalie
09-04-2001, 08:59 AM
:police: Emergency!

I have a website with around 500 pages and would like to put up a questionnaire to find out viewers opinions. Logically I don't want pop up windows appearing each time somebody leave one page.

So is there a script which would allow, that only if the person leaves the browser or changes to a different URL (not if you surf in the website itself), a pop up window appears (one per visitor) with the questionnaire to fill in!

ANYBODY OUT THERE WHO CAN HELP???? %)

Cheers
Nat

dank
09-04-2001, 11:51 AM
There are JavaScript scripts available that set a cookie when you visit a page so that you only see the popup the first time you visit. That approach could probably be used to show it only when someone exits the site, but I believe it would require adding the JavaScript to all of your 500 pages (unless you use SSI or something for common page headers). Just don't expect me to ever visit your site if you implement such a thing... :P

Dan