Yeah see that would require rewriting hundreds of thousands of links. Or at least some kind of parser to go through every thing in our db and replace the link itself with the function call. Probably the way we're going to have to go.
Tim -----Original Message----- From: Randell B Adkins [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 10:17 AM To: CF-Community Subject: Re: Javascript question Pass the entire link to a function and then afterwards push them along: function ExitLink(urlLink){ alert('have a nice day. Now you are going to: ' + urlLink); window.location=urlLink; } Something along that lines, might have to tweak it >>> [EMAIL PROTECTED] 04/01/03 10:09AM >>> Hey kids, I need to have a message displayed when ever someone clicks a link that takes them off of our site. I figured I could probably write a nice easy onUnLoad function to take care of it, but I can't seem to find a way to get the window.location.href they are heading to. I mean it displays the one they are leaving, just not the new one. I really wanted to do this the easy way and not have to make a bunch of changes and with this function I could just do a single include and have it work across my whole site. Any ideas? Timothy Heald Overseas Security Advisory Council U.S. Department of State ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=5 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=5 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
