Hi all,
I found a script on dynamic drive that makes all links linking to a page that is on another website open in a _blank window. (http://www.dynamicdrive.com/dynamicindex8/newwindow2.htm)
I have just finished creating a page which has 2 frames:
1) At the top with my logo and menu on it
2) At the bottom which gets it's content using PHP and grabbing the url (index.php?url=blah.com) from the address bar.
My question:
How would I edit the script i found on dynamic drive (http://www.dynamicdrive.com/dynamicindex8/newwindow2.htm) in order to find links that link to an external website, and edit the links href to http://www.mysite.com/externallinks/?url=*origional url*
Thanks all :)
p.s. im not great with javascript :P