How to include Cottage Lane Weather on your website:

For a ticker like this one, use the following HTML code

For the HEADER:

<SCRIPT TYPE="text/javascript" src = "http://www.socsdteachers.org/~weather/other/weatherdata.js"></SCRIPT>


<SCRIPT TYPE="text/javascript" src = "http://www.socsdteachers.org/cle-weather/weatherjava.js"></SCRIPT>

 

For the BODY at the location you want the ticker to appear:

<script>doMarquee();</script>

To include a specific graph like the ones on the homepage of the weather site, just right click on the graph you want and choose properties from the pop-up window.  Each of the graphs is just a graphic in the GIF format.  You can include them on your site by putting in an image in your site the way you normally do. Each time the page loads, the graphic will be updated.  The address of the image will be http://www.socsdteachers.org/~weather/images/filename.gif where the filename is the name of the image you want.  For example, the outside temperature graphic is called OutsideTemp.gif, so the file can be included this way:  http://www.socsdteachers.org/~weather/images/OutsideTemp.gif

 

You can include a Last Update line to check when the data was acutally last uploaded from the station.  To do so, use the same HEADER as you did for the ticker and include this line in the BODY of your page where you want the line to appear:

<script>doLastMod();</script>

It will look write the following line

You may also load data from the Weatherunderground site.  We load to that as well.  Here is a link to the page where you can get code for their graphics: