Sorry did not read the entire message.
Not sure with a single include to make it work across the whole site.
But this function does work:
<script language="javascript">
function ExitLink(urlLink){
alert('have a nice day. Now you are going to: ' + urlLink);
window.location=urlLink;
}
</script>
<a href="javascript:ExitLink('http://www.msn.com');">MSN</a>
>>> [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
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5