http://groups.google.com/group/tiddlywiki/browse_thread/thread/38854e591c386b36

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

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

Mike

On Apr 23, 7:52 am, Mike <[email protected]> wrote:
> A question concerning the output. . .
> I would like to add the class of .custom or {{custom{ output }}}
> Can I add this via JS / JQ ?
>
> document.getElementById('nav').className='isDOM';
> or
> jQuery('p').addClass('myClass yourClass');
>
> My Stlye
> .custom ul {
>         list-style: none;
>         }
> .custom ul li:before {
>         content: "↕ \0020";
>         }
>
> Could I use li / ul as the ID?
>
> Mike
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWikiDev" 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/tiddlywikidev?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.

Reply via email to