+ Reply
Page 94 of 1492 FirstFirst ... 44 849293949596 104 144 194 594 1094 ... LastLast
Results 1,861 to 1,880 of 29823

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Jaku for iOS 5

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Can someone please help me out? I found this screen on a different site and waited for help but I got none. I bought the Jaku theme and LOVE IT.
...
  1. #1861
    Green Apple
    Join Date
    Jan 2011
    Posts
    47
    Thanks
    31
    Thanked 16 Times in 11 Posts

    Can someone please help me out? I found this screen on a different site and waited for help but I got none. I bought the Jaku theme and LOVE IT. In the following screen caps, I'm looking for the lock screen wallpaper, the font and the widget on the home screen with the day and date. Can anyone help? Thanks in advance!! That status bar would be a nice bonus as well as figuring out how to remove the "slide to unlock" text. =]


  2. #1862
    Master Modder bjbinc's Avatar
    Join Date
    Nov 2008
    Location
    Georgia USA
    Posts
    1,541
    Thanks
    1,595
    Thanked 2,190 Times in 834 Posts

    That's my screen

    Font: Josefin Sans Std

    Widget: MacThemes Forum / [Widget] Springboard Time/Date/Weather iOS3/4.X (Update: 4/18/2011)

    Statusbar:


    Removing the Slide to Unlock Text: Do a cydia search

    Wallpaper: It's a personal mod using elements from a paid theme...so it's NFR

  3. The Following 2 Users Say Thank You to bjbinc For This Useful Post:

    Bakerbot (03-20-2012), chiki1973 (03-21-2012)

  4. #1863
    Green Apple
    Join Date
    Jan 2011
    Posts
    47
    Thanks
    31
    Thanked 16 Times in 11 Posts

    Thanks so much!! I had a feeling I'd get the answers I wanted here. Beautiful setup!

    By the way, I've done several cydia searches to remove the slide to unlock and they dont seem to work with this. Maybe my cameralock is conflicting with it.

    EDIT: actually, I had found that link before for that widget and can't get it to work. I assume it's not compatible with iOS5?
    Last edited by Bakerbot; 03-20-2012 at 11:59 PM.

  5. #1864
    What's Jailbreak?
    Join Date
    Dec 2010
    Posts
    29
    Thanks
    11
    Thanked 20 Times in 10 Posts

    Quote Originally Posted by Bakerbot View Post
    Thanks so much!! I had a feeling I'd get the answers I wanted here. Beautiful setup!

    By the way, I've done several cydia searches to remove the slide to unlock and they dont seem to work with this. Maybe my cameralock is conflicting with it.
    Using iFile, you can go to System/Library/CoreServices/SpringBoard.app/English.lproj/SpringBoard.stringsand search for away_lock_label and change the "slide to unlock" text to whatever you want.

  6. The Following User Says Thank You to NexusLite For This Useful Post:

    Bakerbot (03-20-2012)

  7. #1865
    Master Modder bjbinc's Avatar
    Join Date
    Nov 2008
    Location
    Georgia USA
    Posts
    1,541
    Thanks
    1,595
    Thanked 2,190 Times in 834 Posts

    Quote Originally Posted by Bakerbot View Post
    Thanks so much!! I had a feeling I'd get the answers I wanted here. Beautiful setup!

    By the way, I've done several cydia searches to remove the slide to unlock and they dont seem to work with this. Maybe my cameralock is conflicting with it.

    EDIT: actually, I had found that link before for that widget and can't get it to work. I assume it's not compatible with iOS5?
    Rename widget.html to wallpaper.html and it should work

  8. #1866
    iPhoneaholic
    Join Date
    Sep 2010
    Posts
    320
    Thanks
    66
    Thanked 148 Times in 91 Posts

    Can u also share your iconoclasm layout? Thanks! Nice setup btw.

    Quote Originally Posted by Bakerbot View Post
    Can someone please help me out? I found this screen on a different site and waited for help but I got none. I bought the Jaku theme and LOVE IT. In the following screen caps, I'm looking for the lock screen wallpaper, the font and the widget on the home screen with the day and date. Can anyone help? Thanks in advance!! That status bar would be a nice bonus as well as figuring out how to remove the "slide to unlock" text. =]


  9. #1867
    Master Modder bjbinc's Avatar
    Join Date
    Nov 2008
    Location
    Georgia USA
    Posts
    1,541
    Thanks
    1,595
    Thanked 2,190 Times in 834 Posts

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>EasyGrid</key>
      <true/>
      <key>Cols</key>
      <array>
        <integer>50</integer>
        <integer>130</integer>
        <integer>210</integer>
      </array>
      <key>Rows</key>
      <array>
        <integer>39</integer>
        <integer>127</integer>
        <integer>215</integer>
      </array>
    </dict>
    </plist>

  10. The Following User Says Thank You to bjbinc For This Useful Post:

    j1o6sh (03-21-2012)

  11. #1868
    iPhoneaholic
    Join Date
    Sep 2010
    Posts
    320
    Thanks
    66
    Thanked 148 Times in 91 Posts

    Thanks man. Just a quick question, how do I remove the weather icon in the widget? I got the file on macthemes but it doesn't look the same as yours.

    Quote Originally Posted by bjbinc View Post
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>EasyGrid</key>
      <true/>
      <key>Cols</key>
      <array>
        <integer>50</integer>
        <integer>130</integer>
        <integer>210</integer>
      </array>
      <key>Rows</key>
      <array>
        <integer>39</integer>
        <integer>127</integer>
        <integer>215</integer>
      </array>
    </dict>
    </plist>

  12. #1869
    Green Apple
    Join Date
    Apr 2009
    Posts
    96
    Thanks
    28
    Thanked 161 Times in 44 Posts

    Instant Heart Rate:


  13. The Following User Says Thank You to sabankuru For This Useful Post:

    indyzzzz (03-21-2012)

  14. #1870

  15. The Following User Says Thank You to Groinchurn For This Useful Post:

    bjbinc (03-21-2012)

  16. #1871
    My iPhone is a Part of Me iGeriya's Avatar
    Join Date
    Feb 2012
    Location
    The Hague, Netherlands, EU
    Posts
    733
    Thanks
    805
    Thanked 1,256 Times in 431 Posts

    Quote Originally Posted by NexusLite View Post
    I think I'm pretty odd, but I love wooden icons. If anyone here likes this style icon, I'm glad to make custom ones.
    Overlays are wrong, and bevels too.
    Last edited by iGeriya; 03-21-2012 at 06:25 AM.

  17. #1872
    Green Apple
    Join Date
    Apr 2009
    Posts
    96
    Thanks
    28
    Thanked 161 Times in 44 Posts

    Peggle:


  18. #1873
    iPhone? More like MyPhone
    Join Date
    Feb 2012
    Posts
    131
    Thanks
    23
    Thanked 49 Times in 33 Posts

    Quote Originally Posted by bjbinc View Post
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
      <key>EasyGrid</key>
      <true/>
      <key>Cols</key>
      <array>
        <integer>50</integer>
        <integer>130</integer>
        <integer>210</integer>
      </array>
      <key>Rows</key>
      <array>
        <integer>39</integer>
        <integer>127</integer>
        <integer>215</integer>
      </array>
    </dict>
    </plist>
    Where would I paste/place this to use?

  19. #1874
    Livin the iPhone Life Joserrrr's Avatar
    Join Date
    Jul 2009
    Location
    Norcal
    Posts
    1,513
    Thanks
    772
    Thanked 1,420 Times in 624 Posts

    Jaku w/ ZUI2012


  20. #1875
    "The Original Modsta" _Vansmak_'s Avatar
    Join Date
    Jul 2011
    Posts
    1,652
    Thanks
    295
    Thanked 5,868 Times in 1,227 Posts

    Jaku icons with gps Uniaw and zui
    Attached Thumbnails Attached Thumbnails Jaku for iOS 5-imageuploadedbymodmyi1332341142.376486.jpg   Jaku for iOS 5-imageuploadedbymodmyi1332341161.903969.jpg  

  21. #1876
    iPhone? More like MyPhone
    Join Date
    Mar 2012
    Posts
    298
    Thanks
    179
    Thanked 145 Times in 105 Posts

    Quote Originally Posted by harget View Post
    Quick Scan's icon included in Jaku, you can find it in com.ihandysoft.barcode.pro
    Ahh, thanks so much. I knew I saw it somewhere, I swear it was on the community site though. But, I guess I saw it in iFile lol. Looks amazing as my RL icon. I couldn't find the app in the app store that the icon corresponds with, I searched Barcode Pro?

    amazing. Love the scoreboard effect! Ahh, up there with my favourite icons I think. So simple, yet so perrty.

    Quote Originally Posted by NexusLite View Post
    Using iFile, you can go to System/Library/CoreServices/SpringBoard.app/English.lproj/SpringBoard.stringsand search for away_lock_label and change the "slide to unlock" text to whatever you want.
    I probably wouldn't do it this way, Inside the Jaku Bundles folder go to com.apple.springboard/English.Iproj/SpringBoard.strings and change the following:

    "AWAY_LOCK_LABEL" = " ";
    "AWAY_LOCK_LABEL_SHORT" = " ";

    edit: Not sure, but doesn't the folder need to be en.Iproj and not English.Iproj?
    Last edited by mdot; 03-21-2012 at 09:17 AM.

  22. The Following User Says Thank You to mdot For This Useful Post:

    bjbinc (03-21-2012)

  23. #1877

  24. #1878
    iPhone? More like MyPhone harget's Avatar
    Join Date
    Feb 2012
    Posts
    270
    Thanks
    172
    Thanked 93 Times in 73 Posts

    Default Se Coucher Moins Bęte Jaku
    Just finished the icon for Se Coucher Moins Bęte app (french app sorry guys )
    Attached Thumbnails Attached Thumbnails Jaku for iOS 5-icone-114.png  

  25. #1879
    Banned
    Join Date
    Dec 2010
    Location
    New York
    Posts
    2,882
    Thanks
    1,457
    Thanked 8,056 Times in 1,696 Posts

    The easiest way to hide the unlock text is using springtomize. Just select custom string and hit the space or return key and save.

  26. #1880
    Master Modder bjbinc's Avatar
    Join Date
    Nov 2008
    Location
    Georgia USA
    Posts
    1,541
    Thanks
    1,595
    Thanked 2,190 Times in 834 Posts

    Quote Originally Posted by j1o6sh View Post
    Thanks man. Just a quick question, how do I remove the weather icon in the widget? I got the file on macthemes but it doesn't look the same as yours.
    Here's my modified wallpaper.html file...just paste this over yours

    Code:
    <?xml version="1.0" encoding="UTF-16"?>
    <html>
    <head>
    
    <body>
    
    <div id="Layer"><img src="[email protected]" class="stretch"/></div>
    
    <style>
    #Layer{
      position:absolute; width:321px; height:481px; top:-1px; right:0px; down:0px; left:-1px;
    }
    
    .stretch{
      width:100%; height:100%;
    }
    
    SPAN#clock{
      display:none;
      position:absolute; top:-275px; right:0px; down:0px; left:0px;
      text-align:center;
      font-family:Helvetica;
    //font-weight:bold;
      font-size:20px;
      color:#ffffff; 
      text-shadow:0px 2px 2px rgba(0, 0, 0, 0.7);
      z-index:14;
    }
    
    SPAN#amPm{
      display:none;
      position:absolute; top:100px;left: 110px;
      text-align:center;
      font-family:Helvetica;
    //font-weight:bold;
      font-size:25px;
      color:#ffffff; 
      text-shadow:0px 2px 2px rgba(0, 0, 0, 0.7);
    }
    
    .CalendarWidget{
      position:absolute; width:320px; height:480px; top:330px; right:0px; down:0px; left:0px;
      text-align:center;
    }
    
    .main{
      position:absolute;
      text-align:center;
      font-family:Helvetica;
      font-weight:normal;
      font-size:12px;
      color:#ffffff;
      text-shadow:0px 2px 2px rgba(0, 0, 0, 0.7);
      padding:2px 2px 2px 2px;
      background-color:transparent;
      z-index:14;
    }
    
    .month{
      display:none;
      position:absolute;top: -50px;
      text-align:center;
      font-family:Helvetica;
      font-weight:normal;
      font-size:12px;
      color:#ffffff;
      text-transform:uppercase;
      opacity:1.0;
      z-index:14;
    }
    
    .year{
    //display:none;
      position:absolute; width:320px; height:480px; top:-30px; left:7px;
      text-align:center;
      font-family:Helvetica;
      font-weight:100;
      font-size:70px;
      //color:#ffa800; 
      color:#ffffff;
      text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.7);
      letter-spacing:0.1em;
      opacity:0.1;
      z-index:14;
    }
    
    #daysofweek{
      font-family:Helvetica;
      font-size:11px;
      color:#ffffff;
      text-shadow:0px 2px 2px rgba(0, 0, 0, 0.7);
      padding:0 2px;
      z-index:14;
    }
    
    #days{
      font-family:Helvetica;
      font-size:11px;
      color:#ffffff;
      text-shadow:0px 2px 2px rgba(0, 0, 0, 0.7);
      z-index:14;
    }
    
    #today{
      font-family:Helvetica;
      font-weight:bold;
      font-size:16px;
      color:#ffffff;
      text-shadow:0px 0px 8px white;
      background-color:transparent;
      padding:0px 3px 0px 3px;
      z-index:14;
    }
    
    #separator{
      font-family:Helvetica;
      font-weight:bold;
      font-size:16px;
      color:#ffffff;
      text-shadow:0px 0px 8px white;
      background-color:transparent;
      padding:0px 3px 0px 3px;
      z-index:14;
    }
    </style>
    </head>
    
    
    <script type="text/javascript">
    
    function init ( ){
      timeDisplay = document.createTextNode ( "" );
      document.getElementById("clock").appendChild ( timeDisplay );
    }
    
    function updateClock ( ){
      var currentHours_name_array = new Array ("0", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN", "ELEVEN", "TWELVE", "ONE", "TWO", "THREE", "FOUR", "FIVE", "SIX", "SEVEN", "EIGHT", "NINE", "TEN", "ELEVEN", "MIDNIGHT")
    
        var currentMinutes_name_array = new Array ("o'clock", "o'one", "o'two", "o'three", "o'four", "o'five", "o'six", "o'seven", "o'eight", "o'nine", "ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen", "sixteen", "seventeen", "eighteen", "nineteen", "twenty", "twentyONE", "twentyTWO", "twentyTHREE", "twentyFOUR", "twentyFIVE", "twentySIX", "twentySEVEN", "twentyEIGHT","twentyNINE", "thirty", "thirtyONE", "thirtyTWO", "thirtyTHREE", "thirtyFOUR", "thirtyFIVE", "thirtySIX", "thirtySEVEN", "thirtyEIGHT", "thirtyNINE", "forty", "fourtyONE", "fourtyTWO", "fourtyTHREE", "fourtyFOUR", "fourtyFIVE", "fourtySIX", "fourtySEVEN", "fourtyEIGHT", "fourtyNINE", "fifty", "fiftyONE", "fiftyTWO", "fiftyTHREE", "fiftyFOUR", "fiftyFIVE", "fiftySIX", "fiftySEVEN", "fiftyEIGHT", "fiftyNINE", "o'clock")
    
      var currentTime = new Date ( );
      var currentHours = currentTime.getHours ( );
      var currentMinutes = currentTime.getMinutes ( );
      var currentSeconds = currentTime.getSeconds ( );
    
      currentHours = ( currentHours < 0 ) ? currentHours + 24 : currentHours;
      currentMinutes = ( currentMinutes < 0 ) ? currentMinutes + 60 : currentMinutes;
      currentSeconds = ( currentSeconds < 0 ) ? currentSeconds + 60 : currentSeconds;
    
      currentHours = ( currentHours == 0 ) ? currentHours + 24 : currentHours;
      currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
      currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    
      var currentTimeString = "[" + currentHours_name_array[currentHours] + "]" + currentMinutes_name_array[currentMinutes];
    
      document.getElementById("clock").firstChild.nodeValue = currentTimeString;
    }
    
    function amPm ( ){
      var currentTime = new Date ( );
      var currentHours = currentTime.getHours ( );
      var timeOfDay = ( currentHours < 12 ) ? "am" : "pm";
    
      currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
      currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    
      var currentTimeString = timeOfDay;
      document.getElementById("ampm").firstChild.nodeValue = " " + currentTimeString;
    }
    
    function buildCal(m, y, cM, cH, cDW, cD){
      var this_weekday_name_array = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
      var this_weekday_name2 = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
      var mn=['JAN','FEB','MAR','APR','MAY','JUN','JUL','AUG','SEP','OCT','NOV','DEC'];
      var dim=[31,0,31,30,31,30,31,31,30,31,30,31];
      var oD = new Date(y, m-1, 1);
      oD.od=oD.getDay()+1;
      var todaydate=new Date()
      var this_weekday = todaydate.getDay()
      var this_month = todaydate.getMonth()
      var this_date = todaydate.getDate()
      var this_year = todaydate.getYear()
      var startonMonday = false; //Set to "true" if you want the widget to start on Mon.
    
      if(startonMonday == true) {
        this_weekday_name_array = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"];
        if (this_weekday == 0)
          this_weekday = 6;
        else
          this_weekday--;
      }
    
      if (this_year < 2000){this_year = this_year + 1900;}
    
      dim[1]=(((oD.getFullYear()%100!=0)&&(oD.getFullYear()%4==0))||(oD.getFullYear()%400==0))?29:28;
        var t = '';
      days_TM=dim[this_month];
    
      if (this_month==0)
        days_PM=dim[11];
      else
        if (this_date<7)
          days_PM=dim[this_month-1];
        else
          days_PM=dim[this_month];
    
      if (this_month==11)
        days_NM=dim[0];
      else
        days_NM=dim[this_month+1];
    
      k=0;
    
      do{
        k2=this_date-k;
        if(k2<=0)
          wkstart=days_PM+k2;
        else
          wkstart=k2;
        k++;}
    
      while(k<=this_weekday)
    
      for (s=0;s<7;s++){
        if (s==this_weekday){
          t+='<span id="today">'+this_weekday_name_array[s]+'</span>';}
        else{
          t+='<span id="daysofweek">'+this_weekday_name_array[s]+'</span>';}
      }
    
      t+='<span id="daysofweek"><a id="separator" style="display:none;"> ·</a></span>';
    
      for (L=0;L<this_weekday;L++){
      L2=L+wkstart;
    
      if(L2>days_PM) L2=L2-days_PM;
        if(L2==this_date)
          t+='<span id="today">'+L2+'</span>';
        else
          t+='<span id="daysofweek">'+L2+'</span>';}
    
      for (M=0;M<=6-this_weekday;M++){
      M2=M+this_date;
    
      if(M2>days_TM) M2=M2-days_TM;   
        if (M2==this_date)
          t+='<span id="today">'+M2+'</span>';
        else
          t+='<span id="daysofweek">'+M2+'</span>';}
    
      t+='<div class="month">'+mn[this_month]+'</div>';
      t+='<div class="year">'+this_year+'</div>';
    return t;
    }
    
    </script>
    
    <td id="CalendarWidget">
    <div class="CalendarWidget">
    
    <table style="position: absolute; width: 320px;height: 480px; top:0px; left:0px;">
      <tr align="center" valign="top" border="0" cellpadding="0">
        <td valign="top">
          <span id="clock">
    	<script language="JavaScript">updateClock(); setInterval('updateClock()', 1000 )</script>
          </span>
        </td>
      </tr>
    </table>
    
    <table style="position: absolute; width:320px;height:480px; top:0px; left:0px;">
      <tr align="center" valign="top" border="0" cellpadding="0">
        <td valign="top">
          <span id="ampm">
    	<script language="JavaScript">amPm(); setInterval('amPm()', 1000 )</script>
          </span>
        </td>
      </tr>
    </table>
    
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta http-equiv="refresh" Content="1800">
    
    <script type="text/javascript">
    
    var todaydate=new Date(); 
    var curmonth=todaydate.getMonth()+1; 
    var curyear=todaydate.getFullYear();
    
    document.write(buildCal(curmonth ,curyear, "main", "month", "daysofweek", "days"));
    
    </script>
    </body>
    
    <html>
    <body>
    <head><title>weather</title>
    
    <base href="Private/"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
    </head>
    
    <script language="JavaScript" type="text/javascript">
    
    var locale = "30427"
    var isCelsius = false
    var useRealFeel = false
    
    var enableWallpaper = true;
    var enableLockScreen = true;
    
    var stylesheetWall = 'wStyle'
    var stylesheetLock = 'wStyle'
    var stylesheet = 'wStyle'
    
    var iconSetWall = 'fif7y'
    var iconExtWall = ".png"
    var iconSetLock = 'fif7y'
    var iconExtLock = '.png'
    
    var source = 'yahooWeather'
    var updateInterval = 15
    
    var postal;
    var demoMode = false;
    var enabled;
    
    if (location.href.indexOf("Wallpaper")	== -1){
      stylesheet = stylesheetLock;
      iconSet = iconSetLock;
      iconExt = iconExtLock;
      enabled = enableLockScreen;
    }else{
      stylesheet = stylesheetWall;
      iconSet = iconSetWall;
      iconExt = iconExtWall;
      enabled = enableWallpaper;
    }
    
    
    if(enabled == true){
      if(iconSet == null || iconSet == 'null' || iconSet == ""){
      var iconSet = stylesheet;
    }
    
    
    var headID = document.getElementsByTagName("head")[0];	       
    var styleNode = document.createElement('link');
    
    styleNode.type = 'text/css';
    styleNode.rel = 'stylesheet';
    styleNode.href = 'Stylesheets/'+stylesheet+'.css';
    headID.appendChild(styleNode);
    var scriptNode = document.createElement('script');
    scriptNode.type = 'text/javascript';
    scriptNode.src = 'Sources/'+source+'.js';
    headID.appendChild(scriptNode);
    }
    
    function onLoad(){
    if (enabled == true){ 
      if (demoMode == true){
      document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+"26"+iconExt;
      document.getElementById("city").innerText="Chicago, IL";
      document.getElementById("desc").innerText="Partly Cloudy";
      document.getElementById("temp").innerText="100";
    }else{ 
      document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+"dunno"+iconExt;
      validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)
      }
    }else{
      document.getElementsByTagName("body")[0].innerText='';
      }
    }
    
    function convertTemp(num){
    if (isCelsius == true)
      return Math.round ((num - 32) * 5 / 9);
    else
      return num;
    }
    
    function setPostal(obj){
    if (obj.error == false){
      if(obj.cities.length > 0){
        postal = escape(obj.cities[0].zip).replace(/^%u/g, "%")
        document.getElementById("WeatherContainer").className = ""; 
        weatherRefresherTemp();
      }else{
        document.getElementById("city").innerText="Location Not Found..";
        document.getElementById("WeatherContainer").className = "errorLocaleNotFound";	
      }
    }else{
      document.getElementById("city").innerText=obj.errorString;
      document.getElementById("WeatherContainer").className = "errorLocaleValidate";	
      setTimeout('validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)', Math.round(1000*60*5));
      }
    }
    
    function dealWithWeather(obj){
    if (obj.error == false){
      /*document.getElementById("city").innerText=obj.city;*/
       document.getElementById("desc").innerText=obj.description.toLowerCase();
      document.getElementById("city").innerText=obj.city;
      if(useRealFeel == true){
        tempValue = convertTemp(obj.realFeel);
      }else{
        tempValue = convertTemp(obj.temp)
      }
      if (isCelsius == true){
        document.getElementById("temp").innerHTML =tempValue+ "°C";
      }else{
        document.getElementById("temp").innerHTML =tempValue+ "°F";
      }
      document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+MiniIcons[obj.icon]+iconExt;
      document.getElementById("WeatherContainer").className = ""; 
    }else{
      document.getElementById("WeatherContainer").className = "errorWeatherDataFetch";	
      }
    }
    
    function weatherRefresherTemp(){
      fetchWeatherData(dealWithWeather,postal);
      setTimeout(weatherRefresherTemp, 60*1000*updateInterval);
    }
    
    var MiniIcons =
    [
      "0",		       //0	tornado
      "1",		       //1	tropical storm
      "2",		       //2	hurricane
      "3",		       //3	severe thunderstorms
      "4",		       //4	thunderstorms
      "5",		       //5	mixed rain and snow
      "6",		       //6	mixed rain and sleet
      "7",		       //7	mixed snow and sleet
      "8",		       //8	freezing drizzle
      "9",		       //9	drizzle
      "10", 	       //10	freezing rain
      "11", 	       //11	showers
      "12", 	       //12	showers
      "13", 	       //13	snow flurries
      "14", 	       //14	light snow showers
      "15", 	       //15	blowing snow
      "16", 	       //16	snow
      "17", 	       //17	hail
      "18", 	       //18	sleet
      "19", 	       //19	dust
      "20", 	       //20	foggy
      "21", 	       //21	haze
      "22", 	       //22	smoky
      "23", 	       //23	blustery
      "24", 	       //24	windy
      "25", 	       //25	cold
      "26", 	       //26	cloudy
      "27", 	       //27	mostly cloudy (night)
      "28", 	       //28	mostly cloudy (day)
      "29", 	       //29	partly cloudy (night)
      "30", 	       //30	partly cloudy (day)
      "31", 	       //31	clear (night)
      "32", 	       //32	sunny
      "33", 	       //33	fair (night)
      "34", 	       //34	fair (day)
      "35", 	       //35	mixed rain and hail
      "36", 	       //36	hot
      "37", 	       //37	isolated thunderstorms
      "38", 	       //38	scattered thunderstorms
      "39", 	       //39	scattered thunderstorms
      "40", 	       //40	scattered showers
      "41", 	       //41	heavy snow
      "42", 	       //42	scattered snow showers
      "43", 	       //43	heavy snow
      "44", 	       //44	partly cloudy
      "45", 	       //45	thundershowers
      "46", 	       //46	snow showers
      "47", 	       //47	isolated thundershowers
      "dunno",	       //3200	not available
    ]
    
    function constructError (string){
      return {error:true, errorString:string};
    }
    
    function findChild (element, nodeName){
    var child;
    
    for (child = element.firstChild; child != null; child = child.nextSibling)
    {
    if (child.nodeName == nodeName)
      return child;
    }
    return null;
    }
    
    function fetchWeatherData (callback, zip){
      url="http://weather.yahooapis.com/forecastrss?u=f&p=" //u=Farenheit
    
      var xml_request = new XMLHttpRequest();
      xml_request.onload = function(e) {xml_loaded(e, xml_request, callback);}
      xml_request.overrideMimeType("text/xml");
      xml_request.open("GET", url+zip);
      xml_request.setRequestHeader("Cache-Control", "no-cache");
      xml_request.send(null); 
    
      return xml_request;
    }
    
    function xml_loaded (event, request, callback){
      if (request.responseXML)
        {
          var obj = {error:false, errorString:null};
          var effectiveRoot = findChild(findChild(request.responseXML, "rss"), "channel");
          obj.city = findChild(effectiveRoot, "yweather:location").getAttribute("city");
          obj.realFeel = findChild(effectiveRoot, "yweather:wind").getAttribute("chill");//Only accounts for windChill
          conditionTag = findChild(findChild(effectiveRoot, "item"), "yweather:condition");
          obj.temp = conditionTag.getAttribute("temp");
          obj.icon = conditionTag.getAttribute("code");
          obj.description = conditionTag.getAttribute("text"); 
    
          callback (obj); 
      }else{
        callback ({error:true, errorString:"XML request failed. no responseXML"});
      }
    }
    
    function validateWeatherLocation (location, callback){
      var obj = {error:false, errorString:null, cities: new Array};
      obj.cities[0] = {zip: location};
      callback (obj);
    }
    </script>
    
    <body onload="">
      
    </body>
    </html>
    
    </html>

    Quote Originally Posted by ipawd1 View Post
    Would you mind doing a "MyfitnessPal" and "Bodybuilding" like you did Scoremobile please?"
    The scoreboard icon? I'll do it...I just don't understand the metaphor.


    Quote Originally Posted by MaybachMusic View Post
    Where would I paste/place this to use?

    Either SSH or use iFile and go to /Library/Iconoclasm/Layouts. Then create a new .plist and name it whatever you like and paste this code into it. Save and apply in Iconoclasm
    Last edited by bjbinc; 03-21-2012 at 11:21 AM.

  27. The Following User Says Thank You to bjbinc For This Useful Post:

    j1o6sh (03-21-2012)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts