Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
farbpalette = Array("0xCCCC00", "0x660066", "0x3333CC", "0xCC0033");
function parse(obj) {
_title = obj.firstChild.attributes.title;
obj = obj.firstChild.childNodes;
for (var i=0; i<obj.length; i++) {
_data[i] = new Object();
_data[i]._attrib = obj[i].attributes.attrib;
_data[i]._value = parseInt(obj[i].attributes.value, 10);
//_data[i]._color = parseInt(obj[i].attributes.color, 16);
_data[i]._color = farbpalette[i];
}
Tobias Menzel hat gesagt.:Hi,
ich habe mal ein kleines Beispiel fertig gemacht. .