Page 1 of 1

Hide link URL in Authoring mode with No Tags

Posted: Sat May 30, 2009 1:00 pm
by jelovirt
Oxygen 10.2

When in Author mode and Tags display mode is No Tags, is there a way to hide the link URL e.g. in DITA xref elements? That is, is there a CSS pseudo-class for the Tags display mode? That would allow you to do something like:

Code: Select all

*[class~="topic/xref"][href]:before {
content:url("../img/link.png") "[" attr(href) "]";
}
*[class~="topic/xref"][href]:before:tag-mode(no-tags) {
content:"";
}
That is, hide the link URL in Not Tags mode.

Re: Hide link URL in Authoring mode with No Tags

Posted: Mon Jun 01, 2009 10:53 am
by sorin_ristache
Hello,

There is no pseudo class for display mode. If you want to hide the link URL you should add an alternate CSS in the document type that does not display the href attribute and switch to that CSS in the toolbar Author CSS Alternatives of Author mode.


Regards,
Sorin