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.


Reply via email to