Hi Hegart, Okay, so I got that part working and understood, thanks. Now, how would I > style each individual button, so that in a single *<<tabs>>* instance, > one tab title could be a different colour to the other, and they would be > different again when selected? I want a darker shade of the same colour > when a tab is selected, as you would expect, but I also want each tab to be > of a different (specific) base colour. Is this possible? >
I don't know if that is possible. Be aware I am just an end user, no developer or programmer ;-) > > Also, I guess I can create my own new names for the styles, so that they > are not the defaults, which apply to *every* instance of the *<<tabs>>* > macro, then just use the *class=* parameter when calling *<<tabs>>*, > right? > In principle you have to use the core classes, e.g. 'tc-tab-selected' etc. To add your own classes there are 2 possibilities: 1) Overwrite the shadow tabs macro ($:/core/macros/tabs) and add your own classes. 2) Define your own tabs macro - based on the core macro - and use that for your own tabs (e.g. a macro <<tab>> instead of <<tabs>>). Cheers, Ton -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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 https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/79bbe53a-6b35-4915-b66b-154f210fba09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
