Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.addEvent('domready',function(){
- new Request.Weather('bucharest','c',{
- onSuccess: function(o){
- var title = '<p style="color: blue"><strong>'+o.query.results.weather.rss.channel.item.title+'</strong></p>',
- description = o.query.results.weather.rss.channel.item.description;
- $('weatherbadge').set('html',title+description);
- }
- }).send();
- });
Add Comment
Please, Sign In to add comment