Adding a widget

  • Unknown's avatar

    I am trying to add a gas tracker to my site that is active and updates constantly. I found it on the website listed below. I have also added the code. However when I paste it into a Text/HTML widget it will not work. Can anyone tell me how to make it work on wordpress? Thank you so much.

    http://zfacts.com/p/1026.html

    <!– Start zFacts.com Gas Gizmo –>

    Gasoline Prices</td></tr>

    var zFontColor = “#000000”; // Font Color
    var zWidth = 125; // Width of the frame
    var zHeight = 185; // Height of lower Portion
    var zBackColor = “#FFFDEF”;// Background Color
    var zBorderColor = “#000000”;// Border Color
    var zWeek = 1; // Prevents last week’s data from being shown
    var zYear = 1; // Prevents last year’s data from being shown
    var zSpeed = 45;// The speed that states will rotate, higher numbers mean faster changes.
    </script><script type=”text/javascript” src=”http://www.zfacts.com/giz/G10/gas.js”></script>
    </td></tr></table>
    <!– End Gizmo –>

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    This contains javascript, and javascript is not allowed here due to security concerns.

    Code

  • The topic ‘Adding a widget’ is closed to new replies.