1. gadget69's Avatar
    yea i dont know whats wrong. i tried to compare it with other Widget.html files and cant find the problem....it does have the 12 hour format =/....
    Yes it does have the 12hr format, I'm relatively new to HTML, but can still move around, either I'm not seeing or understanding what needs to be changed.

    Thanks for the help
    2010-08-14 03:15 AM
  2. Halten77's Avatar
    When I changed the location of the weather from Singapore to my hometown, the homescreen weather just says Error...? And says loading but the weather never actually comes up... Just a blank box...
    2010-08-14 03:21 AM
  3. tonyyvo's Avatar
    When I changed the location of the weather from Singapore to my hometown, the homescreen weather just says Error...? And says loading but the weather never actually comes up... Just a blank box...
    respring and if that doesnt help try a different zip code or type in your city to where u have a different code?
    2010-08-14 03:52 AM
  4. brynden29's Avatar
    I am the only one that can't download this theme?
    2010-08-14 04:08 AM
  5. tonyyvo's Avatar
    I am the only one that can't download this theme?
    google the theme's name. i think he posted this theme on several other sites with download links

    and as far as the 12 hour clock....i got it somehow. some copy and pasting works =D.
    Last edited by tonyyvo; 2010-08-14 at 04:43 AM.
    2010-08-14 04:31 AM
  6. killkyo's Avatar
    I will be doing the 12hr format out when I get home as I dunno how to explain how to get it done but the HTML code to convert to 12hr is already in the widget.html

    Oops, didn't realize someone has done the job for me. Thanks alot!
    Last edited by killkyo; 2010-08-14 at 07:19 AM.
    2010-08-14 07:16 AM
  7. gadget's Avatar
    This looks to be the code difference for the 12hr change


    Code:
      // Pad the minutes and seconds with leading zeros, if required
      currentMinutes = ( currentMinutes < 10 ? "0" : "" ) + currentMinutes;
      currentSeconds = ( currentSeconds < 10 ? "0" : "" ) + currentSeconds;
    
      // Choose either "AM" or "PM" as appropriate
      var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
    
      // Convert the hours component to 12-hour format if needed
      currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
    
      // Convert an hours component of "0" to "12"
      currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    
      // Compose the string for display
      var currentTimeString = currentHours + ":" + currentMinutes;
    
      // Update the time display
      document.getElementById("clock").firstChild.nodeValue = currentTimeString;
    }
    
    function init2 ( )
    {
      timeDisplay = document.createTextNode ( "" );
      document.getElementById("ampm").appendChild ( timeDisplay );
    }
    
    function amPm ( )
    {
      var currentTime = new Date ( );
    
      var currentHours = currentTime.getHours ( );
    
      // Choose either "AM" or "PM" as appropriate
      var timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";
    
      // Convert the hours component to 12-hour format if needed
      currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
    
      // Convert an hours component of "0" to "12"
      currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    
      // Compose the string for display
      var currentTimeString = timeOfDay;
    
      // Update the time display
      document.getElementById("ampm").firstChild.nodeValue = currentTimeString;
    }
    
    function init3 ( )
    Thanks again for the help.
    Last edited by gadget; 2010-08-14 at 08:34 AM. Reason: Automerged Doublepost
    2010-08-14 08:34 AM
  8. ziggy7's Avatar
    google the theme's name. i think he posted this theme on several other sites with download links

    and as far as the 12 hour clock....i got it somehow. some copy and pasting works =D.
    Well done matey..
    2010-08-14 12:12 PM
  9. tonyyvo's Avatar
    so i plugged in my iPhone to my car dock and saw that my buttons on the iPod player (Back-Play/Pause-Next) were out of place. I think the culprit was the volume slider disappearing. Anyone know a fix to this? Ill post a screenshot of what i mean.



    the red is where the button WOULD be.

    excuse the album artwork if it offends anyone.
    2010-08-15 05:02 AM
  10. King Shady's Avatar
    so i plugged in my iPhone to my car dock and saw that my buttons on the iPod player (Back-Play/Pause-Next) were out of place. I think the culprit was the volume slider disappearing. Anyone know a fix to this? Ill post a screenshot of what i mean.



    the red is where the button WOULD be.

    excuse the album artwork if it offends anyone.
    wow ur ****** up
    ]
    2010-09-07 02:08 AM
  11. ndue_lee's Avatar
    go into Private\WeatherWidget and open "WeatherWidget.html" with TextPad (on Windows). Scroll down until you see var locale = "SNXX0006". change SNXX0006 with....

    go on weather.yahoo.com and type in your city. then click on "extended Forecast". Look at the address bar and find http://www.weather.com/outlook/travel/businesstraveler/extended/USLA0340

    use whatever code that is in place of the bolded ^ to replace SNXX0006

    lemme know if you need any more help
    how to use location from accuweather? because my city isnt listed in yahoo weather.
    2010-10-10 03:57 PM
  12. MindGem's Avatar
    Looks great!
    2010-10-10 04:23 PM
  13. ndue_lee's Avatar
    how to use location from accuweather? because my city isnt listed in yahoo weather.
    bump.
    2010-10-11 02:09 PM
  14. ndue_lee's Avatar
    how to use location from accuweather? because my city isnt listed in yahoo weather.
    bump (again)
    2010-10-18 07:46 PM
34 12
LINK TO POST COPIED TO CLIPBOARD