Page 2 of 2
Re: HTML5 and Canvas
Posted: Sun 16 May 2010 9:12 am
by mcrossley
gemini06720 wrote:Mark, I really,
really,
really like that new gauge - finally indicators/pointers that do not to be viewed under a magnifying glass...
Ha! That is one I rejected

If you want the compass styled differently, let me know, either I can let you have the Photoshop file (all the components of the gauge are in different layers so you can tweak them at will), or I can make the changes for you.
gemini06720 wrote:I have downloaded the ZIP file and should have a look at its contents later on this evening (Pacific coast time).
I will also compare your modified 'boxover.js' with my modified 'boxover.js' and see if I can find (reach) a coalition/compromise between the two versions...

Ray, before you go delving into the code, take a look at the parameters that boxover accepts. You can provide CSS style sheets for both the header and body of the boxover.
Boxover parameters are (*= param used in demo code):
Code: Select all
header*
body*
cssbody
cssheader
hideselects
fixedrelx
fixedrely
fixedabsx
fixedabsy
offsety
offsetx
fade
fadespeed
delay*
requireclick
doubleclickstop
singleclickstop
windowlock
Re: HTML5 and Canvas
Posted: Sun 16 May 2010 11:07 am
by beteljuice
The problems with dials, arrows, and wind ....
er ... Haven't you now created a wind TO, rather than wind FROM dial ?
Re: HTML5 and Canvas
Posted: Sun 16 May 2010 12:34 pm
by mcrossley
Not sure what you mean, the arrows point to to 'from' direction. Currently the wind is from the NW to N at the moment.
I have updated the zip and the script to add the new realtime data that Steve has added to v1.9.0
The demo is setup such that you simply have to add <span>'s to the HTML with their id set the same as the Cumulus webtag name, and the data will be automatically updated.
Re: HTML5 and Canvas
Posted: Mon 17 May 2010 1:11 am
by gemini06720
mcrossley wrote:Ha! That is one I rejected
Mark!!! Do not be so mean...
mcrossley wrote:If you want the compass styled differently, let me know, either I can let you have the Photoshop file (all the components of the gauge are in different layers so you can tweak them at will), or I can make the changes for you.
I cannot impose on you any further...
mcrossley wrote:...before you go delving into the code, take a look at the parameters that boxover accepts. You can provide CSS style sheets for both the header and body of the boxover.
Duh!

You really think I would not look and compare both codes before, as you wrote, I delve into the code...

Re: HTML5 and Canvas
Posted: Fri 28 May 2010 9:59 am
by mcrossley
beteljuice wrote:er ... Haven't you now created a wind TO, rather than wind FROM dial ?
Ha! I finally saw what you meant!

Is this any better?
<<Link removed - no longer exists>>
Download new source here:
<<Link removed - no longer exists>>