On Mon, May 21, 2001 at 08:36:18PM -0400, Noah Spitzer-Williams wrote:
> hey guys,
> i'm working on an exit page popup but i dont want the popup to load
> whenever i change pages in the site, only when the user exits the site
> totally. now i dont think there is some sort of javascript for thsi but i
> have figured out a way around. for every link do this:
>
> a href="blah" onclick="nopop=1">blah</a
>
> the problem is how can i put this onclick statement into every link on the
> fly without editing all my php? is there a way? is there a javascript way?
The best thing to do is simply forget the entire idea. When someone is
leaving the site, they are leaving the site, so most likely do not want
any more pages to just pop up on them.
--
Jason Stechschulte
[EMAIL PROTECTED]
--
Think of prototypes as a funny markup language--the interpretation is
left up to the rendering engine.
-- Larry Wall in <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]