Hi Ton

> I did try to implement a new SVG icon for the close all button but didn't
> succeed. The SVG icon as such is not the problem; more how to store it in
> TW5.
> I tried to replace the "vector part" in one of the
> $:/core/images/...-buttons, so between <svg class="tw-image-close-button"
> viewBox="222 150 56 56" width="22pt" height="22pt"><path d="  and
> "/></svg> adding even a "type image/svg" but that resulted not in an image.
> Any hints? I'am not a programmer; just a cop-and-paste guy ;)
>

Here's one way to get SVG images into TW5:

* Use Google's online svg-edit project at
http://code.google.com/p/svg-edit/(look for the link under Demos to
the latest stable release)
* Save your SVG image to disc
* Open the SVG image in a text editor
* Copy the whole thing except for the line `<?xml version="1.0"?>` at the
top
* Paste it into a new TW5 tiddler
* Add a `type` field and give it the value "image/svg+xml"
* Save the tiddler

Your image should now display within the tiddler.

If you want to be able to restyle the image using CSS, then carefully
remove any `stroke` and `fill` attributes from `<path>` elements within the
image.

Best wishes

Jeremy



>
> Cheers,
>
> Ton
>
>>
>> Best wishes
>>
>> Jeremy
>>
>>
>> On Wed, Oct 2, 2013 at 2:36 PM, Ton Gerner <[email protected]> wrote:
>>
>>> Hi Dave,
>>>
>>> Excellent idea.
>>> I made a TW5 describing how to add the page control toolbar buttons to a
>>> top menu.
>>> You can find it here: https://dl.dropboxusercontent.**
>>> com/u/2638511/TW5_Test.htm<https://dl.dropboxusercontent.com/u/2638511/TW5_Test.htm>
>>>
>>> I'll dig into your mall. For sure there will be interesting stuff.
>>>
>>> Cheers,
>>>
>>> Ton
>>>
>>>
>>> On Wednesday, October 2, 2013 4:56:21 AM UTC+2, David Gifford wrote:
>>>>
>>>> Hi guys
>>>>
>>>> Seeing the cool stuff David Johnston is doing for TW5 got me really
>>>> excited about the many possibilities for TW5. Tonight I whipped up a modest
>>>> collection of how-tos, aimed at new users. I call it TW5 mall. See it at
>>>> http://www.giffmex.org/**tw5mall**.htm<http://www.giffmex.org/tw5mall.htm>
>>>> .
>>>>
>>>> I ask two things of you:
>>>>
>>>> 1. How do I get rid of the stylesheet tag pill in the Index?
>>>>
>>>> and
>>>>
>>>> 2. Please submit either here or by email, the kinds of things you think
>>>> should be added to the mall, preferably with explanations of how to do
>>>> them. As I learn TiddlyWiki 5 better, everyone wins, because I can try to
>>>> communicate my learning to other new users who like myself are not coders /
>>>> programmers / developers.
>>>>
>>>> I am quite happy to donate any of these tiddlers to whatever Jeremy and
>>>> team come up with in terms of an official site with tutorials, tips and
>>>> tricks, themes, macros, plugins, widgets, and other goodies. But until then
>>>> I am doing this first of all for me, as a storage place for stuff I want to
>>>> remember how to do, but also for others who may benefit from it until
>>>> something more official gets cooked up.
>>>>
>>>> Blessings,
>>>>
>>>> Dave
>>>>
>>>  --
>>> 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 tiddlywiki+...@**googlegroups.com.
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/tiddlywiki<http://groups.google.com/group/tiddlywiki>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
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/groups/opt_out.

Reply via email to