Href...

liunx

Guest
Is there any way to implement some sort of if/then logic when clicking on links? Of course, without using javascript or server-side code...only using CSS.

Let's say I have 'home.htm' currently open. I'm about to click on the 'home' link which will, of course, reload the 'home.htm' document.

Is there a way to check to see if a page is currently open so that the page doesn't simply 're-open' if you're already viewing it?

Thanx.Well... perhaps. Inline styling:

a[href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.mysite.com/home.html"] {
display:none;
}

Though that's most likely not what you're looking for. Not to mention the lack of support from IE. No, what you're looking for would best be achieve via Server Side Programming.it'd be easy with a server side language. css is for the STYLE. Super stylin' CSS pages, yo.
 
Back
Top