[主題] 想更改部分主題天氣設定 請幫幫忙! - iPhone4.TW

會員登入



顯示結果從 1 到 4 共計 4 條
  1. #1

    熱血的愛用者

    註冊日期:02-24-2010
    文章:413
    謝謝你: 12
    在 1篇文章中獲得 2感謝
    新下載的主題 還滿想使用 請幫幫我!!!

    這是他的天氣語法

    "// Configuration here ! //
    // By Dacal (for KrsChris revi-krs theme)
    // Edited by rickym22 (some features were removed and/or modified)
    var ampm = true; // Set to true for 12h format
    var locale = 2295411; // Yahoo Weather
    var tempUnit = "f"; // f for fahrenheit
    var updateInterval = 20; // in minutes
    var langfr = false; // true for french
    var WeekStartMonday = true; // false for week start on sunday
    var SecDisplay = false; // true to display seconds
    var SunsetSunrise = true; // true to display sunset and sunrise time
    var GMT = 0; // Adjust the hour of sunset and sunrise only if YahooWeather don't report correctly summer time
    var IconSet = "Custom"; // Choose beetwen Custom - original weather by Chris (other options were removed by Larke and images replaced)"


    我想改變的僅有 1.台北天氣 2.能否更改為"攝氏"
    PS: var locale = 2295411; // Yahoo Weather 數字部分我有嘗試更改為 TWXX0021 但失敗~

    能否請神人幫幫我


  2. #2

    愛用者

    註冊日期:11-18-2010
    文章:93
    謝謝你: 2
    在 4篇文章中獲得 4個感謝
    引用 作者: leontattoo 查看文章
    新下載的主題 還滿想使用 請幫幫我!!!

    這是他的天氣語法

    "// Configuration here ! //
    // By Dacal (for KrsChris revi-krs theme)
    // Edited by rickym22 (some features were removed and/or modified)
    var ampm = true; // Set to true for 12h format
    var locale = 2295411; // Yahoo Weather
    var tempUnit = "f"; // f for fahrenheit
    var updateInterval = 20; // in minutes
    var langfr = false; // true for french
    var WeekStartMonday = true; // false for week start on sunday
    var SecDisplay = false; // true to display seconds
    var SunsetSunrise = true; // true to display sunset and sunrise time
    var GMT = 0; // Adjust the hour of sunset and sunrise only if YahooWeather don't report correctly summer time
    var IconSet = "Custom"; // Choose beetwen Custom - original weather by Chris (other options were removed by Larke and images replaced)"


    我想改變的僅有 1.台北天氣 2.能否更改為"攝氏"
    PS: var locale = 2295411; // Yahoo Weather 數字部分我有嘗試更改為 TWXX0021 但失敗~

    能否請神人幫幫我
    大大,關於你的問題,我覺得應該是更改如下:

    1) 溫度部份,請改var tempUnit = "f"; // f for fahrenheit 這行改為 "c"
    2) 而台北天氣yahoo代號部份, Yahoo weather上,你可以輸入台北,然後會顯示台北目前的天氣,這時請你看瀏覽器上方的網址列,應該會顯示一組7位數的台北代碼,麻煩你記下後,並輸入在var locale = 2295411; // Yahoo Weather,這邊應該就可以了.

    如果以上有錯誤的部份,還請其他大大指正. TKS.


  3. #3

    熱血的愛用者

    註冊日期:02-24-2010
    文章:413
    謝謝你: 12
    在 1篇文章中獲得 2感謝
    非常感謝大大的幫忙 "攝氏"的部分 ok了!
    只是臺北的天氣代號 似乎不太行 小弟查找到的是"2206179" 也更改過裡面了 但替換後 一直顯示loading........ 能不能請大大幫幫忙 幫小弟查找一下!!感恩 感恩


  4. #4

    熱血的愛用者

    註冊日期:02-24-2010
    文章:413
    謝謝你: 12
    在 1篇文章中獲得 2感謝
    報告 我弄好了 原來臺北代碼是 2306179 非常感謝大大的幫忙 謝謝您!!


 

 

發文規則

  • 不可以發表新主題
  • 不可以發表回覆
  • 不可以上傳附件
  • 不可以編輯自己的文章
  •  
回到此頁頂端