<mailto:artengel123%40earthlink.net >>
wrote:
>> >
>> >> **
>> >>
>> >>
>> >> Jon,
>> >>
>> >> I think maybe the
Javascript stuff is not ideal. We already
have
>> >> "locales" for
translation of control names and that
general
>> approach
>> >> would seem a much better
way to go for translation of column
>> and other
>> >> names in HTML output.
The HTML files that include Javascript
>> that I've
>> >> generated for testing
are approximately twice the size of
>> straight HTML
>> >> files for the same
results. That seems like an awful lot of
>> internet
>> >> overhead just to change
a few words.
>> >>
>> >> If you look at the
output Javascript files you will see a
whole
>> lot of
>> >> definitions. Those could
presumably be put into a config file that
>> >> Sailwave would access
when publishing, thus making the HTML
>> output much
>> >> cleaner and smaller.
>> >>
>> >> Art
>> >>
>> >> PS - I wanted to change
some of the HTML output which is currently
>> >> unchangeable. So, I have
written an Excel macro which will do
>> >> replacement on a
specified file (it uses RegEx format,
which
>> you can
>> >> Google for more info).
The user picks an HTML file to “process”
>> and the
>> >> macro makes prettier
HTML. I then have the user click a button
to
>> >> automatically upload the
file via FTP with the correct name. I
>> need to
>> >> do a bit more work but
would be happy to make a version of my
>> Excel file
>> >> available to anyone who
might be interested.
>> >>
>> >> As an example of the
processing I do - I think it somewhat
>> silly for the
>> >> caption for races to
repeat the name of the fleet/class which
>> is just
>> >> above in the title (as
in: “Start: Laser” for the Laser fleet.
>> That is
>> >> redundant. So, in my
processing I delete that from the HTML
file.
>> >> Samples of the standard
and processed output here:
>> >> [http://results.calyachtclub.com/sample_sailwave/](http://results.calyachtclub.com/sample_sailwave/)
>> >>
>> >> Note that the majority
of the different “look” is undoubtedly
>> due to
>> >> differing CSS style but
the text is different as well.
>> >>
>> >>
>> >> On 11/13/2012 4:30 PM,
Jon Eskdale wrote:
>> >>> Hi Christof,
>> >>>
>> >>> Glad the age groups
and gender are working OK. The JavaScript
>> problem is
>> >> in the Code which Colin
passed to me when I took over.
>> Apparently he has
>> >> made some changes to it
to make it more flexible but he hadn’t
>> finished it
>> >> all and it's broken the
JavaScript output. He does tell me he
>> is going to
>> >> fix it. It's almost
impossible for me to change that bit of
>> code without
>> >> starting from scratch as
I don’t know what his intention was
>> with it. The
>> >> change from 2.5.4 to
2.5.5 was only to stop any JavaScript code
>> outputting
>> >> during the standard
publish.
>> >>>
>> >>> Sorry about the
JavaScript output but hopefully Colin is
>> reading this.
>> >>>
>> >>> Jon
>> >>>
>> >>> Sent from my iPad
>> >>>
>> >>> On 14 Nov 2012, at
00:09, “paulesgps”<paulesgps@yahoo.com