Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
(, Sun 1 Apr 2001, 1:00)
« Go Back | See The Full Thread
.. followed by an each(function(){}) containing code that makes sure there is an indexOf "http" existing (!== -1) to make sure there is a full qualifde url, rather than an internal link. THEN, then, you make sure that the href does _not_ contain the company's main domain name. This will give you all the urls that are left, which will be all external links, give them a target of _blank and scan through changing the href to include an output such as /external?from=$_SERVER['server_name'].$_SERVER['request_uri']&goingTo=[origional href]. That way you we can track who's clicking on what and where that's external, and not only that, it will open up all external links into a new window/tab thus keeping the main site active in the user's browser.
GOOD THINKING, TPH.
(, Fri 11 Nov 2011, 13:10, 3 replies, latest was 14 years ago)
'Mark Morrisons Prison Shoes' suggests I talk to you about massage parlours.
(, Fri 11 Nov 2011, 13:17, Reply)
(, Fri 11 Nov 2011, 14:31, Reply)
« Go Back | See The Full Thread