Hide link URL in Authoring mode with No Tags

Are you missing a feature? Request it's implementation here.
jelovirt
Posts: 85
Location: Helsinki, Finland

Hide link URL in Authoring mode with No Tags

Sat May 30, 2009 1:00 pm

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.
sorin_ristache
Posts: 4144

Re: Hide link URL in Authoring mode with No Tags

Mon Jun 01, 2009 10:53 am

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

Return to “Feature Request”

Who is online

Users browsing this forum: No registered users and 2 guests