Re: [css-d] make link non-clickable

2008-03-21 Thread Gerhard Hoogterp

  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 PROTECTED]
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/


[css-d] make link non-clickable

2008-03-18 Thread neal
this exists in content

a href=www.somewhere.comlink/a


if there any way to make that link non-clickable only with css

one solution that I do not want to use is putting an absolutely positioned
clear image over it.

thansk

Neal

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Ingo Chao
[EMAIL PROTECTED] wrote:
 this exists in content
 
 a href=www.somewhere.comlink/a
 
 
 if there any way to make that link non-clickable only with css

You could replace the entire page by a large PNG.

Ingo

-- 
http://www.satzansatz.de/css.html
http://www.dolphinsback.com
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Jukka K. Korpela
[EMAIL PROTECTED] wrote:

 this exists in content

 a href=www.somewhere.comlink/a

That's strange (and _quite_ different from a link with 
href=http://www.somewhere.com;), but anyway,...

 if there any way to make that link non-clickable only with css

No, clickability in the general sense is an inherent property of a link: 
a link points at something in a manner that makes it possible to 
follow the link. Take that away, and it's not a link any more. In the 
specific concrete sense (a link can be followed by clicking on it), 
it's a browser feature. These things belong to functionality, not 
presentation.

 one solution that I do not want to use is putting an absolutely
 positioned clear image over it.

It does not make the link non-clickable, even though it may make it more 
difficult to click on it.

You can e.g. position a link 99 pixels to the right, and this will 
usually make it so difficult to even notice the existence of the link 
that it probably won't be clicked. But it won't really make it 
non-clickable, partly due to the CSS Caveats (reasons why your CSS might 
not do what you expect, see 
http://www.cs.tut.fi/~jkorpela/css-caveats.html ).

So I think you need to clarify what you really want (and why is 
generally an essential part of such clarifications, because only then 
can others see what you mean). Why would you want to have a link and not 
have a link? This might not be a CSS issue at all, but there are ways to 
prevent links from _looking_ like links, thereby making it less probable 
that users click on them, if that's what you really want.

Jukka K. Korpela (Yucca)
http://www.cs.tut.fi/~jkorpela/ 

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread neal
Thanks all
and Ingo - love the sarcasm - well deserved by me violating semantics so
brazenly

The reason is that's what the client wants
I follow standards fairly well in my own little way - but the client and
the cms are my nemeses

there are ways to
 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
thanks
Neal


 [EMAIL PROTECTED] wrote:

 this exists in content

 a href=www.somewhere.comlink/a

 That's strange (and _quite_ different from a link with
 href=http://www.somewhere.com;), but anyway,...

 if there any way to make that link non-clickable only with css

 No, clickability in the general sense is an inherent property of a link:
 a link points at something in a manner that makes it possible to
 follow the link. Take that away, and it's not a link any more. In the
 specific concrete sense (a link can be followed by clicking on it),
 it's a browser feature. These things belong to functionality, not
 presentation.

 one solution that I do not want to use is putting an absolutely
 positioned clear image over it.

 It does not make the link non-clickable, even though it may make it more
 difficult to click on it.

 You can e.g. position a link 99 pixels to the right, and this will
 usually make it so difficult to even notice the existence of the link
 that it probably won't be clicked. But it won't really make it
 non-clickable, partly due to the CSS Caveats (reasons why your CSS might
 not do what you expect, see
 http://www.cs.tut.fi/~jkorpela/css-caveats.html ).

 So I think you need to clarify what you really want (and why is
 generally an essential part of such clarifications, because only then
 can others see what you mean). Why would you want to have a link and not
 have a link? This might not be a CSS issue at all, but there are ways to
 prevent links from _looking_ like links, thereby making it less probable
 that users click on them, if that's what you really want.



__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Jukka K. Korpela
[EMAIL PROTECTED] wrote:

 The reason is that's what the client wants

But you haven't told _what_ he wants. Just saying I want links that are 
not links is not a description.

 there are ways to
 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

Then there's quite a lot you can do, such as

:link, :visited {
display: none;
visibility: hidden;
font-size: 1px;
color: black;
background: black;
text-decoration: none;
position: absolute;
left: -999px; }

but some of this may have effects that the client does not like. So what 
does he want?

Jukka K. Korpela (Yucca)
http://www.cs.tut.fi/~jkorpela/ 

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Frank Piuck
[EMAIL PROTECTED] wrote:
 The reason is that's what the client wants
 I follow standards fairly well in my own little way - but the client and
 the cms are my nemeses

 there are ways to
   
 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
 thanks
 Neal
   
How about making something that is not a link look like a link?
unot a link/u

Frank
__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Rob Emenecker
This is really a CMS issue. 

Even if you *COULD* do this, then you'd have to *UNDO* it once client want's
the link clickable. From a professional perspective, I'd just tell the
client they're suffering from a concussion! And, do you want someone else to
look at your code and say, Cutting edge, but WTF! What was he smoking?

Not knowing what the CMS is, I can't speak to specifics, but open source
CMS' -- e.g., Joomla -- allow you to create menus that do not have live
links, by virtue of the different menu entry types it provides. 

Within the CMS, why can't the client simply define the link as #, so that
it just parks on the current page? This would seem like the most sensible
way to do it, because as another mentioned, your trying to intervene on
functionality, when CSS is meant for display. 

!-- BEGIN: Sarcasm --

If you do figure this out can you please come over to my house. I have this
nice wooden picket fence, that I want to be maintenance-free vinyl. I don't
want it to LOOK like vinyl, I like the rustic look of the wooden picket.
What I want is that it ACT like vinyl and have the PROPERTIES of vinyl. 

!-- END: Sarcasm --

That's kind of what you're trying to achieve here! 

...Rob

__
css-discuss [EMAIL PROTECTED]
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/


Re: [css-d] make link non-clickable

2008-03-18 Thread Thierry Koblentz
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 discuss.org] On Behalf Of [EMAIL PROTECTED]
 Sent: Tuesday, March 18, 2008 3:27 PM
 To: css-d@lists.css-discuss.org
 Subject: Re: [css-d] make link non-clickable
 
 
 The cms module pulls a link from the xml - right now they dont want that
 link to be clickable (do not want linked  page to be viewed)- but they
 want the link text to remain
 so they want the link text to remain - but actual link gone

Then explain to the client that unless you *remove* the href value, that
document will be indexed by bots and people will get to it via SE results. 

-- 
Regards,
Thierry | http://www.TJKDesign.com






__
css-discuss [EMAIL PROTECTED]
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/