Thread: javascript help
View Single Post
Old 04-08-2002, 11:41 AM  
Alky
Confirmed User
 
Alky's Avatar
 
Join Date: Apr 2002
Location: Houston
Posts: 5,651
javascript help

this was a post on webmaster q and fuckin a from me:


I'm trying to do a simple javascript...

What it does:
If a person views my page and exits without clicking any links, a popup window comes up. But if they click a link, no popup comes up when the page unloads.

I know its something with onClick="set a variable'

then a function that is called in onUnload that checks the var value, but since I do not know Javascript at all, and I am lost.

Any help is appreciated, thanks.
Alky is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote