alamshahi

alamshahi does not currently provide support for this item.

Popular questions for this item

Why it shows C in my weather widget

Trying to get the weather widget working, I need it to display in Fahrenheit so I have changed the following in common.js file:
// Weather feed
    $(function () {
    $('#weather').weatherfeed(['USCA0795'],{
        unit: 'f', // I changed it to Fahrenheit
        image: true,
        country: false,
        highlow: false,
        wind: false,
        humidity: false,
        visibility: false,
        sunrise: false,
        sunset: false,
        forecast: false,
        link: false
    });
    });
It works and displays the weather in Fahrenheit, but it still shows “C” on the front-end!


The ‘C’ is printed using javascript, please open ‘jquery.zweatherfeed.js’ file located in the ‘javascripts’ folder in your desired editor (notepad, notepad+ or dreamweaver).
go to the line number 141, or find the following line:

html += '<div class="weatherTemp">'+ feed.item.condition.temp +'°C</div>';

change the
'°C'
to
'°F'
save the file and now it prints ‘F’ instead of ‘C’.
by
by
by
by
by
by