Previous Message
Next Message

make link non-clickable

Sent by Gerhard Hoogterp on 21 March 2008 14:02


> > prevent links from _looking_ like links, thereby making it less probable
> > that users click on them,>>>
>
> This is proabbly the best to do in my situation

Does it have to be css? As reacting to a click is a functionality I feel it's 
more a javascript thing. And a simple piece of javascript would solve your 
problem:

<a href="http://www.slashdot.org/" 
	rel="ok" 
	onclick="return this.rel=='none'?false:true">
whee
</a>

The rel value is somewhat misused, but can be generated from the cms script.

Gerhrard
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: