Special effects

Here’s an interesting curiosity in the use of HighlightWins3, which
is the effect that highlights boats on the published scoresheet
placing one, two and three in each race.

Attached is a series where the first class sailed only two races;

the second class sailed four. (Dragons didn’t want to come out on a
rainy evening, apparently.) Anyway, when we publish with the
Dragons listed first, the highlighting only works on the first two
races for the other class. When we put the other class first,
highlighting works as expected.

The solution is there, but it might not be something we remember in

the heat of a major regatta. I wonder if a fix is in the works?

jrc
···

John R Culter IRO CAN

      Vancouver Canada

      +1 604 742-8832

Hi John,

It is something I’m aware of. The reason is that the javascript has to know which columns are race columns on which it is to highlight them.

It does this by finding the first summary table and determining which columns that are needed to be highlighted. So the summary series tables currently need to be the same size or at least the first one needs to be the largest. One easy solution is to publish all races ( as opposed to all sailed races) - A column is generated for all races whether they were sailed or not.

The source of the javascript is included if you feel like modifying it.

Jon

···

On 3 June 2016 at 05:32, John Culter jrculter@medi.net [sailwave] sailwave@yahoogroups.com wrote:

Here's an interesting curiosity in the use of HighlightWins3, which

is the effect that highlights boats on the published scoresheet
placing one, two and three in each race.

Attached is a series where the first class sailed only two races;

the second class sailed four. (Dragons didn’t want to come out on a
rainy evening, apparently.) Anyway, when we publish with the
Dragons listed first, the highlighting only works on the first two
races for the other class. When we put the other class first,
highlighting works as expected.

The solution is there, but it might not be something we remember in

the heat of a major regatta. I wonder if a fix is in the works?

jrc

John R Culter IRO CAN

      Vancouver Canada

      +1 604 742-8832

Jon Eskdale
07530 112233

Skype “eskdale”

A Solution for Highlighting the top 3 in each race with the effects when fleets have a differing number of races.

Currently the Effect for highlighting/Colour coding of the top 3 winners in each race Effect HighlightWins3.js uses the first Summary table to workout which columns that are to be highlighted. This works great if all the fleets sail the same number of races. But if the second or subsequent fleets have more races then they won’t get highlighted.

A solution is to replace the Results.htm file with this one https://dl.dropboxusercontent.com/u/220425/Results.htm This file is typically in the Templates directory which is a subdirectory of where your Sailwave.exe is stored. This causes Sailwave to put a class=“summaryrace” in all the race cells of the summary tables, You can then use a simplified effect HighlightWins3v2.js from https://dl.dropboxusercontent.com/u/220425/highlightWins3v2.js to highlight the appropriate cells

This method is compatible for Sailwave up to Version 2.21.x

Jon Eskdale

03333 443377

07530 112233

···

Jon Eskdale
07530 112233

Skype “eskdale”

On 3 June 2016 at 05:32, John Culter jrculter@medi.net [sailwave] sailwave@yahoogroups.com wrote:

Here's an interesting curiosity in the use of HighlightWins3, which

is the effect that highlights boats on the published scoresheet
placing one, two and three in each race.

Attached is a series where the first class sailed only two races;

the second class sailed four. (Dragons didn’t want to come out on a
rainy evening, apparently.) Anyway, when we publish with the
Dragons listed first, the highlighting only works on the first two
races for the other class. When we put the other class first,
highlighting works as expected.

The solution is there, but it might not be something we remember in

the heat of a major regatta. I wonder if a fix is in the works?

jrc

John R Culter IRO CAN

      Vancouver Canada

      +1 604 742-8832