аЯрЁБс > ўџ ( * ўџџџ ' џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџьЅС M №П n bjbjт=т= ) W W n џџ џџ џџ l и и и и и и и ь ь ь ь ь ј ь і $ < и < Р и и Q Р Р Р и и Р Р V Р и и а0Cъ^Ць ь Ђ g 0 = Р = Р ь ь и и и и й How to make WEL images update automatically. The following code shows how to make a WEL image refresh automatically on your own web page. The example shown here displays two charts: AirTemp and KWUSED. The yellow section contains the scripts that do the initial image retrieval and then the 1 minute refresh. The initial retrieval is there to make sure that the persons browser doesnt use an old copy of the chart that it has in cache. This code can be put anywhere between the
and tags. The green section shows what is different from page to page. There is a line for each image on the page that needs to be refreshed. The text in the single quotes MUST match the ID and Name attributes that are added to the HTML later on. The blue text is stuff that gets added to the body of the html. The onload stuff forces the updating process to be started once the page has fully loaded the first time. The ID and Name are used to identify the images to be updated. For consistency, I use the exact same text as the base of the image filename, which is the same as the name of the graph in the graphs.txt file.