Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [help] using an icon font with a weather widget

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #40172
    boiledbird
    Member

    hey… I’m not super familiar with javascript and/or jquery and so I could use some help here… I want javascript to get the weather in my current area and display this on a page (I did accomplish this using http://monkeecreate.github.com/jquery.simpleWeather/)… my problem is right now the script is looking for png files, named to correspond with a ‘condition code’ (http://developer.yahoo.com/weather/ – they are halfway down the page). I was able to create my own custom png icons, modify the image url in the widget, and get them to work but what I really want is for the script to take the ‘condition code’ and turn it into a single letter that I can display so I can then map an icon font to it, rather than using png’s. Any help would be greatly appreciated! Thank you

Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.