<script>jQuery("div.viewer").addClass("custom");</script>

Works as desired (as far as I can tell . . .)

Mike

On Apr 24, 9:12 am, Mike <[email protected]> wrote:
> This works. . .
> <script>jQuery("ul").addClass("highlight");</script>
> But it adds the class to all lists (not just the containing tiddler)
> If I switch highlight for custom, it does not work
>
> I added !important to the custom class, no change. . .
>
> StyleSheet
> .custom ul {
>         list-style: none !important;
>         }
> .custom ul li:before {
>         content: "↕ \0020" !important;
>         }
>
> Thoughts?,
>
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/tiddlywiki?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to