Hi Scott, sorry for the delay in replying.
What am I supposed to be looking for on the ajax java script?
Pleased to have been of some help with the above script.
Rosalind
Rosalind
I see you have version 6.02 and there have been several changes since then that I think will help improve how things work for you since you're using metric readings. You should download the update, replace your ajax-dashboard6.php and ajaxWDwx.js files with the ones in version 6.07. That will help several things. Can you send me a screen shot of what you see in the daytime in the UV section, when I look at it, its working well but it's still dark there! I'll try to check it a bit later when it lighter there and maybe I can see it. The link to the update is at the end if this thread.
I've also noticed an error in the Java Script, that is probably what is causing the script to stop before it finishes updating the UV. The error I'm seeing is:
Webpage error details
Timestamp: Fri, 28 Jan 2011 01:55:19 UTC
Message: 'clientraw' is undefined
Line: 672
Char: 7
Code: 0
URI: http://www.mad-weather.com/ajaxWDwx.js
Message: 'clientraw' is undefined
Line: 672
Char: 7
Code: 0
URI: http://www.mad-weather.com/ajaxWDwx.js
This probably means that the path to your clientraw.txt file (defined in both the settings file and java script file) is incorrect and it can't find that file. Look for a line that looks something like this in both:
var clientrawFile = './clientraw.txt'; // location of clientraw.txt relative to this page on website
Updated 1/28/2011 - Just got a look at the problem and it is because you don't have the right images in the right spot. It is looking for the UV images to be in the following location:
http://www.mad-weather.com/ajax-images/uv4.gifAlso make sure the file names are lowercase and in .gif format!
Scott