My first edit of a widget

Discussion in 'OT Technology' started by Pineapple Devil, May 10, 2005.

  1. Pineapple Devil

    Pineapple Devil beat it!

    Joined:
    Oct 8, 2001
    Messages:
    53,754
    Likes Received:
    8
  2. maczter

    maczter Life is trying things to see if they work.

    Joined:
    Sep 30, 2003
    Messages:
    3,622
    Likes Received:
    0
    Location:
    Austin, TX
  3. IcyHot4Life

    IcyHot4Life Str8 Ballin'

    Joined:
    Aug 2, 2002
    Messages:
    18,151
    Likes Received:
    0
    Location:
    Inquire Within
    thas hot :coold:
     
  4. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    go for it!
     
  5. Pineapple Devil

    Pineapple Devil beat it!

    Joined:
    Oct 8, 2001
    Messages:
    53,754
    Likes Received:
    8
    1. Download the widget here

    2. After its downloaded go to your Home folder ~> Library ~> Widgets ~> US Weather+.wdgt
    [​IMG]

    3. Right click ~> show package contents
    [​IMG]

    4. Look for the file "4kd.js"
    [​IMG]

    5. Right click on it and open it with a program that you can edit and save html code. I use Taco which can be downloaded here
    [​IMG]

    6. Once the html code is open, scroll down to the region you live in. For me it was the Southeast
    [​IMG]

    7. Go to www.weather.com and at the top of the page enter your zip code and hit return
    [​IMG]

    8. After the new page has loaded, scroll towards the bottom and look for the following maps. You have the options for "Doppler Radar", "Infrared Map", "Temperatures", "Current Weather". Click on the map that you want first and it will make it the larger of the maps.
    [​IMG]

    9. click on the large map to bring it to another screen. you will eventually need to do this for every map so you can get the proper address
    [​IMG]

    10. drag and drop the map to the address bar so you can get the full address of the map
    [​IMG]

    11. Highlight and copy the web address beginning from "web"
    [​IMG]

    12. Go back to your html editor and look on the left side to find the correct map you just got the address to (doppler radar, infrared, current weather, etc..). Then follow the default web code on that line out to "web". Highlight then PASTE the address you copied from your picture. Repeat steps 8-12 for the different maps.
    [​IMG]

    13. After you have pasted in the new address to the proper pictures, save the new html code
    [​IMG]

    14. You will either need to restart widget or restart your whole computer for the new pictures to take affect.

    15. Pull up your widgets and add the new weather widget to your screen

    16. Pull the information for that widget up and select the information for it

    17. Select the region, then the map you want

    Done!
     
    Last edited: May 11, 2005
  6. tenplanescrashing

    tenplanescrashing Active Member

    Joined:
    Jan 9, 2005
    Messages:
    9,287
    Likes Received:
    0
    very nice.
     

Share This Page