Hello, Anyone know if Pavitra is still working on the processTrain? If not I'll work on that issue and should be done with it tomorrow or so. I'll use the following hooks:
af|train af|train::station af|train::station::join af|train::station::link af|train::station::left-icon af|train::station::right-icon The station will accept the following pseudoClass: :active (except on ::station::join since joins can only be visited or not) :disabled :overflow-next (except on ::station::join since joins can only be visited or not) :overflow-prev (except on ::station::join since joins can only be visited or not) :unvisited :visited And hopefully :disabled will be combinable with any of the other pseduClass. There's one thing I dislike though (and I think Jeanne does as well): the ::left-icon and ::right-icon. A single icon per station station would be far more interesting. However, I cannot find a way to generate markup code accepting one and not having a major drawback. So if someone feels inspired I would be glad to see a better solution. Note: I already tried the following solution (extract showing only active station code) <table class="af|train"> <tr> <td class="af|train::station:visited::join"> </td> <td class="af|train::station:active" style="width:1em;"><img src="af|train::station:active::station-icon"/></td> <td class="af|train::station:unvisited::join"> </td> </tr> <tr> <td colspan="3" class="af|train::station:active"/> </tr> </table> The above code won't work if af|train::station:active specifies a width (Which happen to be very useful if you want equidistant stations) Regards, ~ Simon
