The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

[help] using an icon font with a weather widget

  • # October 5, 2012 at 7:56 pm

    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… my problem is right now the script is looking for png files, named to correspond with a ‘condition code’ ( – 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)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed