Posts: 808
Location: UK... where else?
|
Hi, can anyone suggest a suitable method for achieving the following:
I have a template that is used across several websites that requires the same file to be used. The template includes a link through to all of the sites that it is used on (for arguments sake lets say: - Site-a.com
- Site-b.com
- Site-c.com
I would like a piece of javascript that hides the link for the site you are currently viewing. So if you are viewing a page onwww.site-b.com you would only see the two links to site-a.com and site-c.com.
Thanks for any advice/help in advance.
|