Hi Again.....no reply...guess my question was not sufficiently clear....

I want to be able to dynamically change the StyleSheet....the idea is turn 
on and off )their visibility) varios divs.....

Let me give some examples of what I have tried...- 

the StyleSheet defines #smallMenu {...colors, borders, position and 
"background-color:transparente;" and the includes [[tiddlerNo]]
and in tiddlerNo the script -
<script>var css="#smallMenu {background-color:red;}";
return css;
</script>........... so that the StyleSheet should turn smallMenu red.....

alternatively I tried...
in the StyleSheet
<<wikify {{"<<tiddler Red>"+">"}}>> .... where tiddler Red contains the 
text...#smallMenu {background-color:red;}... again hoping that the 
StyleSheet turns the smallmenu div red.

Neither of these options worked?

Whats the right way to do this?

Thanks in advance
Skye



Em quinta-feira, 6 de março de 2014 20h54min15s UTC-3, skye riquelme 
escreveu:
>
>  Hi Again....been quietly lurking here for some time. Still playing with  
> the old TW
>
> And cant figure out how to quickly swap stylesheets.
>
> For example, PageTemplate creates an element (say smallMenu), that 
> StyleSheet defines (color, position, size, borders....).....now I want to 
> be able make it visible or hidden. Soa link might hit a tiddler that 
> defines "#smallMenu{visibility:visible;}" so that the contents of the 
> associated tiddler (SmallMenu) becomes visible. Another link triggers a 
> tiddler which includes "#smallMenu {visibility:hidden;}"...and the 
> smallMenu div disappears...
>
> Cant get it to work though!!!! How to do this?
>
> Thanks
> Skye
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to