Hiding a link if the domain matches the current url

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.

View full post on Tycoon Talk

, , , ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved