"Before you set out to any more coding... what exactly are you trying to achieve? I almost believe you can achieve this w/o any new or modified tab macro."
A number of screwy things I probably shouldn't be doing. XD|XP <https://lh3.googleusercontent.com/-XYT3ws4vnU0/UR7r96Up1KI/AAAAAAAAAEg/wdJxjXIcRyk/s1600/2013-02-15_181526_cr.jpg> I "desire" I say that because well it works just fine just adding id's to tabs, to give tabs unique styling such as icons. Now you may be thinking that's already doable just use the plugin: http://www.tiddlytools.com/#SetIconPlugin The issue I ran into is I want to do it with all the system tabs. (As shown above) :D ... And when I use his plugin which is a ingenious method of dealing with the issue, it has many a glitch when dealing with the system tabs. Define glitch is... To what I can figure out when editing anything that causes things to "refresh"/Scan and apply the icons set if a tab such as All tiddlers is open it'll cause the seticon macro to not find the link it was suppose to since there are a bunch of other links now with the same names...etc. It also seemed to me like it could cause unneeded work from being done by the browser compared to just being able to give classes/ids to each tab and styling them. (I like doing this enough that the number of iconed tabs far out ways the number of normal tabs, so having to add and extra "" at the end of each tab macro for a blank id for normal tabs doesn't bother me at all.) The glitch and the other there is also the fact icons are not the only thing I actually wanted to do... There's a couple of places where I have unique CSS transform Property on different tabs in the same tabset... ^^; On Friday, February 15, 2013 5:43:41 PM UTC-8, Tobias Beer wrote: > > Before you set out to any more coding... what exactly are you trying to > achieve? I almost believe you can achieve this w/o any new or modified tab > macro. > > For example, you can wrap your tabs using... > > {{mytab{<<tabs ...>>}}} > > ...and then address that in your StyleSheet via... > > .myTab .tabSelected > > ... etc. > > However, that won't do the trick when you are trying to give each tab a > different style. But then it would perhaps be simpler to write a different > macro only to style the tabs, e.g. > > <<tabs ...>><<styleTabs classTab1 classTab2 ...>> > ...which applies the classes to the tabs rendered right before using a > jQuery selector to get the tabs and then loops that... > > tabs = $(place).last(); > $('.tab',tabs).each(function(p){ > $(this).addClass(params[p]); > }); > > Tobias. > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.

