Is it possible to write a function that will look at the URL of a link and change the color of a hyperlink link on a website if the link directs the user to a page outside of the site? I am looking for a simple way to distinguish links on an IT website so that users will know which links will take them to a page on another website.
Another possiblity is a code that will determine if the URL contains "http://www.example.com/xxx" or "http://www.example.xxx.com/xx" and change the color of the hyperlink accordingly.
Is this possible? How do I do this? I found this thread (http://www.codingforums.com/showthread.php?t=207071
) but I'm not sure if it will help with link colors.
Thank you SO much!!!