[tw] Re: Help With the Strex Macro

2017-08-27 Thread Stephan Hradek
Am Sonntag, 27. August 2017 17:48:21 UTC+2 schrieb Thomas Elmiger: > > Concerning hover effects and :before I am not sure about the accessibility > of such solutions. Touch devices and screen readers might have difficulties > with those. > > Change the macro to: \define fn(name) <$link

Re: [tw] Re: Help With the Strex Macro

2017-08-27 Thread Thomas Elmiger
K schrieb am So. 27. Aug. 2017 um 17:56: > So there's no other way to set the <> and class without a > button? Not one that I would know of. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group

[tw] Re: Help With the Strex Macro

2017-08-27 Thread K
So there's no other way to set the <> and class without a button? Sunday, August 27, 2017 at 8:48:21 AM UTC-7, Thomas Elmiger wrote: > > Hi > > As the author of the strex macro I have to admit that for K’s requirement > of showing the note on hover I think the best way is the last one: not to

[tw] Re: Help With the Strex Macro

2017-08-27 Thread Thomas Elmiger
Hi As the author of the strex macro I have to admit that for K’s requirement of showing the note on hover I think the best way is the last one: not to use strex at all :) strex stores the state (open/closed) in state tiddlers. We need a cklick to create or change these. Concerning hover

[tw] Re: Help With the Strex Macro

2017-08-27 Thread K
Ok thanks. On Sunday, August 27, 2017 at 3:41:51 AM UTC-7, Stephan Hradek wrote: > > > > Am Sonntag, 27. August 2017 08:52:21 UTC+2 schrieb K: >> >> I appreciate the help here, but I left out some information in my first >> post, the macro has already been adapted, and I'm not to proficient in

[tw] Re: Help With the Strex Macro

2017-08-27 Thread Stephan Hradek
Am Sonntag, 27. August 2017 08:52:21 UTC+2 schrieb K: > > I appreciate the help here, but I left out some information in my first > post, the macro has already been adapted, and I'm not to proficient in > scripting. If you still want to help, I've thrown together an empty > tiddlywiki file

[tw] Re: Help With the Strex Macro

2017-08-27 Thread Stephan Hradek
Am Sonntag, 27. August 2017 08:52:21 UTC+2 schrieb K: > > I appreciate the help here, but I left out some information in my first > post, the macro has already been adapted, and I'm not to proficient in > scripting. If you still want to help, I've thrown together an empty > tiddlywiki file

[tw] Re: Help With the Strex Macro

2017-08-26 Thread codacodercodacoder
That's a pretty nifty use of the ::before pseudo element. Love it. On Saturday, August 26, 2017 at 4:32:50 PM UTC-5, Stephan Hradek wrote: > > As there was a small typo in the CSS and I wanted to experiment with a > macro, please see below a macro-version. > > CSS: > span.strex:before { >

[tw] Re: Help With the Strex Macro

2017-08-26 Thread Stephan Hradek
As there was a small typo in the CSS and I wanted to experiment with a macro, please see below a macro-version. CSS: span.strex:before { content:"\00a0[...]\00a0"; background-color: lightgray; } span.strex > span { display: none; } span.strex:hover:before { content:""; margin-right: 0em; }

[tw] Re: Help With the Strex Macro

2017-08-26 Thread Stephan Hradek
I don't know the macro and I don't want to dive into it, but here is a starting point for you using pure CSS: CSS Tiddler: span.strex:before { content:"... "; } span:strex > span { display: none; } span.strex:hover:before { content:""; } span.strex:hover > span { display:inline; } Strex is