Hi
Not exactly what you were looking for, but have you considered using font
awesome icons for your buttons?
In place of the .png image are placed the desired fontawesome class: <i
class="fa fa-suitable-icon various css styles"></i> There are a selection
of styles which may be applied to the basic icon.
regards
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.