> Ok, i've tested it like this, but it doesn't work together with > iconmacro, > i think it's because the the iconMacro needs a 'button' and not a > 'link' to replace it correctly > > here is the sample: > <<saveChanges>><<iconhttp://tww.ka.tup.com/tiddlyweb/pics/save.gif16 > 16 "save changes">> > <<tiddler ToggleSinglePageMode > with:"single">><<iconhttp://tww.ka.tup.com/tiddlyweb/pics/single.gif16 16 > "single page">>
Both commands create an element with the 'button' class. The problem is that content transcluded from another tiddler is wrapped in a containing 'span' element... as a result, the <<icon>> macro doesn't seem be able to locate the desired 'button' link. > the macro <<saveChanges>> provides a button and <<tiddler > ToggleSinglePageMode with:"single">> a simple link, You need to put a space between "with:" and "single", like this: <<tiddler ToggleSinglePageMode with: "single">> > Some hints? Try this plugin instead of IconMacro: http://www.TiddlyTools.com/#SetIconPlugin http://www.TiddlyTools.com/#SetIconPluginInfo enjoy, -e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

