Re: Edit A HREF links on the fly - see what i mean - important!

From: Date: Wed, 23 May 2001 12:21:02 +0000
Subject: Re: Edit A HREF links on the fly - see what i mean - important!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54025@lists.php.net to get a copy of this message
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 jpstech@unoh.edu -- Think of prototypes as a funny markup language--the interpretation is left up to the rendering engine. -- Larry Wall in <199710221710.KAA24242@wall.org>

« previous php.general (#54025) next »