PSX5Central

Non Gaming Discussions => Off-Topic => Topic started by: Richard on August 02, 2004, 07:31:35 AM

Title: javascript question
Post by: Richard on August 02, 2004, 07:31:35 AM
can anyone tell me how the website below created the weather high and low for the current day.  the "mostly sunny" icon is identical to that of weather.com.

is the code fairly simple?

http://www.phoenixpubliclibrary.org/index.jsp (http://www.phoenixpubliclibrary.org/index.jsp)
Title: javascript question
Post by: Cyrus on August 02, 2004, 08:45:36 AM
http://www.weather.com/services/oap.html?from=servicesindex
Title: javascript question
Post by: Richard on August 02, 2004, 09:47:12 AM
not exactly what i was looking for.  I want a simple High and Low temp. without all the weather.com advertisement.

thanks for your time and effort
Title: javascript question
Post by: THX on August 02, 2004, 01:17:07 PM
Hmm it\'s weird.. the temps seem to be static values listed in the source.

Quote
H: 101° L: 82°  


The JS at http://www.phoenixpubliclibrary.org/include/tools.js isn\'t showing anything.

Maybe they manually change it everyday?
Title: javascript question
Post by: Cyrus on August 02, 2004, 01:46:02 PM
Well the phx library did it using this site

http://www.newsisfree.com