function swGetURLArgs() {
var url = location.href; var qs = url.substring(url.indexOf('?') + 1).split('&');
for(var i = 0, result = {}; i < qs.length; i++) { qs[i] = qs[i].split('='); result[qs[i][0]] = decodeURIComponent(qs[i][1]); } return result; } // // name=HighlightWins3v3 // dependencies=jQuery // description=Highlight winning scores in summary tables. // author=Jon Eskdale based on an idea by Colin Jenkins // date=2016-07-04 // version=3.0 For use with Sailwave from V2.22.x // Requires the following lines in the Results.htm file (Results.htm is in the Templates directory) // string.set("summary.col.race.rank1.td", "rank1") // string.set("summary.col.race.rank2.td", "rank2") // string.set("summary.col.race.rank3.td", "rank3") // url=http://sailwave.com // email=jon@sailwave.com // twitter=eskdale // comments=Edit colours to colours of your choice // $(document).ready(function() { var selectorRank1 = '.rank1'; var selectorRank2 = '.rank2'; var selectorRank3 = '.rank3'; // Results with these codes will not get highlighted add or remove codes to your choice var ignoreText = /^(?!.*\b(DNC|DNF|DNS|OCS|BFD|UFD|RET|DSQ|DGM|DNE)\b).*/i // Edit these colours to change the highlight colours for 1st, 2nd and 3rd var winsColour = '#ffd700'; var twoColour = '#6a91c5'; var threeColour = '#da6841'; // Change the background color for cells with class of rank1-3 and don't have a code specified $(function () { $(selectorRank1).filter(function() { return ignoreText.test($(this).text()); }).css("background", winsColour); $(selectorRank2).filter(function() { return ignoreText.test($(this).text()); }).css("background", twoColour); $(selectorRank3).filter(function() { return ignoreText.test($(this).text()); }).css("background", threeColour); }); });
C SERIES DIV 2
R5 - 07/11/2021 at 1300
Rank | Boat | Class | SailNo | HelmName | CrewName | USPN | Elapsed | Corrected | Points |
---|---|---|---|---|---|---|---|---|---|
1 | SAPPHIRE | HBR20 | 425 | JOHN GEDAMINSKI | TONY | 93.564 | 00.24.46 | 0.26.28 | 1.0 |
2 | LARA'S SONG | RDS19 | PETER BUROS | 102.707 | 00.29.54 | 0.29.07 | 2.0 | ||
3 | STELLAR | CAP22 | 425 | BLISS DAYTON | TED, TODD | 94.341 | 00.30.03 | 0.31.51 | 3.0 |
4 | SCOT FREE | FSCT | 5815 | FRANK LEMAY | MIKE | 92.837 | 00.31.05 | 0.33.29 | 4.0 |
Sailwave Scoring Software 2.28.1
www.sailwave.com