logo is also a hyperlink should be inactive on home page

Hi!

We have a logo on the left side of the header of our web site's  http://www.topsecurityinc.com/ pages.
It also serves a hyperlink to go back to the home page if you are on any other page, which is fine.
I need a way to turn off the hyperlink around the logo when someone is already on the home page (index.asp).
Any specific modification of either a stylesheet rule or HTML would be appreciated.

.header{height:170px;width:825px;margin-left:0px;margin-top:0px;padding-top:5px;color:#3A6DEB;background-color:#FFF;letter-spacing:4px;background-image:url(../web/images/top-security-inc-header.jpg);background-repeat: no-repeat;background-position: 0px 25px;}
.topgif a{margin-top:10px;display:block;width:210px;height:150px;}
HTML:
<span class="topgif">
 <a href="/" title=""></a>
</span>

TIA
TrueBlueAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lukasz ChmielewskiCommented:
I don't think it is possible using only css as you have to check for the address in the browser bar. Is that index.asp only a content part of the page ? Does your header repeat in all the pages ?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TrueBlueAuthor Commented:
Index.asp is the whole home page except for some includes.
Yes, the header is the same for all pages.
Any idea how I could accomplish this using ASP, with an if then statement?
0
TrueBlueAuthor Commented:
I found the variable arrURL(Ubound(arrURL)) on this page holds the page name.
So I guess I need something link IF arrURL(Ubound(arrURL)) = "index.asp" then ...
Any ideas?
0
Chris StanyonWebDevCommented:
@TrueBlue,

Unless there's an absolute need to remove the link on the homepage, may I suggest you leave it in place. It gives the site a feeling of consistency.

Have a look around the 'net - most sites will leave the homepage link in place, even on the homepage - visit the homepage of ExpertsExchange to see what I mean :)

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
CSS

From novice to tech pro — start learning today.