Publishing effect to highlight firsts in series summary tables

A little effect that may interest some users.

Create a text file called Wins.js with this text:-

//

//#name=Wins

//

//#desc=Change background of 1.0 scores in series summary tables.

//

//#author=Colin Jenkins

//#date=2015-07-27

//#version=1.0

//#url=http://op12no2.me

//#email=op12no2@gmail.com

//#twitter=@op12no2

(The mismatched script lines are deliberate.)

Save it to your custom effect folder, making sure Sailwave knows about it in GlobalOptions+Folders (it’s actually misnamed javascript folder in that tab - can you chnage that Jon? to effects folder). I use dropbox folders so they are always there wherever I am.

Then when publishing, add the Wins effect.

All “1.0” results in the series summary table are changed to have background of gold ish.

Example:-

http://mumblesyachtclub.co.uk/results/2015/open2015.htm

···

Easy to tweak to change any string to any format.

Cheers,

Colin J

http://sailwave.com

This is a better example, because of the spread of 1sts.

Sailwave results for Skandia Sail for Gold Regatta 2012 at Weymouth & Portland National Sailing Academy 2015

Sailwave results for Skandia Sail for Gold Regatta 2012 at Weymouth & Portland National Sailing …
sailwave results

View on sailwave.com

Preview by Yahoo