• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

javascript

I need a javacript with a digital clock and extra link that would show the time and temptreture based on user's selection of the city name. Is that possible. Please help if you can.

Thank you,
Paul
0
pauledwardian
Asked:
pauledwardian
1 Solution
 
Gurvinder Pal SinghCommented:
You need to have the list of all the timezones and temperatures for each city names first, since they cannot be derived using javascript
0
 
pepdCommented:
if your applicaiton works on a browser supporting HTML5 then you can obtain user's geolocation (http://html5demos.com/geo) then using that location info find temperatures from a weather mashup/service through AJAX
0
 
leakim971PluritechnicianCommented:
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
leakim971PluritechnicianCommented:
0
 
pauledwardianAuthor Commented:
leakim971 can you tell me how can I change that code in http://www.myphpetc.com/2009/11/jquery-weather-widget.html  so it would show the weather based on the user's selection of city. For example if they select Florida then it would show the weather in Florida.

Thanks for all your guys' help.
Paul
0
 
leakim971PluritechnicianCommented:

$("document").ready(function() {
      var data = { "geoplugin_latitude":"fill here", "geoplugin_longitude":"fill here", "geoplugin_countryName":"fill here", "geoplugin_region":"fill here","geoplugin_city":"fill here", "geoplugin_countryCode":"fill here" }
      geoPlugin(data);
});
0
 
pauledwardianAuthor Commented:
thanks for your help
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now