Mike, I was able to reproduce all the issues you were having, both on
2.5 and after upgrading your TW to 2.5.2.
> 1. When multiple tables exist inside one tiddler, sometimes one or
> more table will fill entirely instead of every evenRow, upon highlight
> this will correct until next render. See TestTable1 or TestTable2 for
> examples.
> 1. Possible CSS / JQuery conflict with the handling of
> evenRow
It appears that the plugin removes all style class declarations from
the table-row when you hover and replaces them with the highlight and
hoverRow classes. It then removes the highlight and hoverRow classes,
and adds back the even/odd style to the TR when you blur...
unfortunately it uses a slightly different algorithm for detecting
even/odd than the TW table wikifier does, and can come up with
different results when there are multiple tables.
This issue itself is pretty easy to fix if all you do is add the
highligher class (and/or the hoverRow) and then remove it, but you
need to tweak the stylesheet to make highlighter's background rule "!
important" so that it will override all non-"! important" rules. It
has nothing to do with jQuery conflicts, and was most likely always an
issue -- just unnoticed until now.
> 2. When transcluding via the tabs macro, only the first table is
> rendered with the script, a refresh has to be invoked to use the
> script on the next table / tab. See TestTabs1 for an example.
> 1. normal transclusion works fine i.e. <<tiddler TestTable1>>
> 2. might be a symptom of transcluding the script via the
> ViewTemplate
Unless I'm mistaken, the sortable plugin does its work when
refreshTiddler is called. Unfortunately, refreshTiddler isn't called
when a tab's content's are wikified. A fix would probably require
overriding the tabs macro as well. Calling refeshTiddler after
changing tabs using firebug doesn't seem to do it, although calling
refreshAll() does. I haven't spent a whole lot of time looking at
Saq's plugin/refreshTiddler, so I may simply be calling things wrong.