I am not sure I understood. I am not able to try it our as I do not have
your templates og icons, but as an example try:
\define get_title(l)
$l$$(title)$]]
\end
<$set name="title" value={{!!title}}>
<$set name="tags" value=<<get_title "[[">>>
<$newtiddler class="btn-invisible" title="your title here" skeleton=
"$:/aa/ScrollableNoteTemplate" edit="yes">{{ noteicon.png}}</$newtiddler>
</$set>
</$set>
Birthe
On Thursday, April 24, 2014 11:02:52 PM UTC+2, David Gifford wrote:
>
> Hi all
>
> I am finally understanding the newtiddler widget Stephan (Skeeve) made,
> and have created a working set of buttons that act like the newhereplugin
> in TWC.
>
> The only missing piece is the CSS. Below you will find the contents of my
> tiddler. How do I add a class to the three resulting buttons? I know what
> CSS I need to add to the StyleSheet. I just need to know where in this code
> below do I put the class, and what exactly to write. I tried 20 different
> possibilities to no avail.
>
> -----
>
> \define get_title(l)
> $l$$(title)$]]
> \end
>
> <$set name="title" value={{!!title}}>
> <$set name="tags" value=<<get_title "[[">>>
> <$newtiddler title="your title here"
> skeleton="$:/aa/ScrollableNoteTemplate">{{ noteicon.png }}</$newtiddler>
> </$set>
> </$set>
>
> <$set name="title" value={{!!title}}>
> <$set name="tags" value=<<get_title "[[">>>
> <$newtiddler title="your title here"
> skeleton="$:/aa/ScrollableIndexTemplate">{{ indexicon.png }}</$newtiddler>
> </$set>
> </$set>
>
> <$set name="title" value={{!!title}}>
> <$set name="tags" value=<<get_title "[[">>>
> <$newtiddler title="your title here"
> skeleton="$:/aa/ScrollableGalleryTemplate">{{ notelisticon.png
> }}</$newtiddler>
> </$set>
> </$set>
>
--
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.