Page 1 of 1

Is there a smiple way to add a (free) gauge to a web page?

Posted: Fri Nov 13, 2009 5:16 am
by lethbridgegeoff
Hello,

Is there a simple way to add a (free) gauge to a web page, something like "Bindows free gauges"?

http://www.bindows.net/free_gauges/

These gauges require an XML file and JavaScript.

The JavaScript looks OK (thanks to the paper on AJAX) but how does NetBurner deal with XML?

Re: Is there a smiple way to add a (free) gauge to a web page?

Posted: Fri Nov 13, 2009 4:49 pm
by Kiwinet
Do you mean something like this ? :-

http://www.microwebserver.net/html/Sample.html (sample clock)

http://www.microwebserver.net/html/Sample2.html (sample speedometer )

These sample gauges are currently running via the NetBurner SB70LC development kit.

Re: Is there a smiple way to add a (free) gauge to a web page?

Posted: Fri Nov 13, 2009 8:06 pm
by lethbridgegeoff
Yes:-)

Thank you!

I am new to networking and I did not know if this xml and Javascript would work on a NetBurner.

To make this gauge I first got the gauge to run the a PC. Next I will work though the AJAX Demo. Last, apply the same approach used in the Demo to the Javascript in the Bindows gauge.

Is there anything particular to NetBurner in the way xml is used (I have not found an xml example)?

Re: Is there a smiple way to add a (free) gauge to a web page?

Posted: Fri Nov 13, 2009 10:28 pm
by Kiwinet
Thats Ok. These gauges are visually appealing. Thanks for pointing these out.

I assume that you have already created your own webpage already from Netburner.

In less than a couple of minutes I unzipped bindows_free_gauges_11_beta2.zip which I downloaded
and copy and pasted (verbatum) all the files and directorys into the html folder.

Re: Is there a smiple way to add a (free) gauge to a web page?

Posted: Fri Nov 13, 2009 11:00 pm
by lethbridgegeoff
Thanks again.

The most helpful thing is just knowing that it can be done. And when I make errors in stead of code I now know where to look.

The http://www.w3schools.com looks like a good place to start for learning about JavaScript and xml.