+ Reply
Page 29 of 136 FirstFirst ... 192728293031 39 79 129 ... LastLast
Results 561 to 580 of 2706

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


Thread: GPS Based HTML Lockscreen Weather Theme

is a discussion within the

iPhone 4|4S New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
...
  1. #561
    desconocido
    Join Date
    Sep 2008
    Posts
    2,940
    Thanks
    2,901
    Thanked 25,716 Times in 2,504 Posts

    Quote Originally Posted by ruedi04 View Post
    Thanks!

    ... and how can i change the date to: 9. Mars ? And at least how can i change mars to the german März? ""März" doesn't work.

    ...... open html and this line

    <div id="weekday"> <span id="month"> <span id="date">
    <script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>
    </div>
    change to this

    <div id="weekday"> <span id="date"> <span id="month">
    <script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>
    </div>

  2. The Following User Says Thank You to Schnedi For This Useful Post:

    The_Durben (03-09-2012)

  3. #562
    iPhoneaholic ruedi04's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    344
    Thanks
    1,069
    Thanked 190 Times in 116 Posts

    Quote Originally Posted by ruedi04 View Post
    And at least how can i change mars to the german März? ""März" doesn't work.
    problem solved!!

    In the head section of LockBackground.html i added

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>


    Quote Originally Posted by schnedi View Post
    ...... open html and this line
    change to this
    THANKS!!

    Additionaly in DateTime.js at the end it hat to be:

    document.getElementById("date").firstChild.nodeVal ue = this_date_name_array[this_date] //concat long date string
    document.getElementById("month").firstChild.nodeVa lue = ". " + this_month_name_array[this_month] //concat long date string
    to get the point between 09 and März.

    Now it's correct: 09. März

    Thanks for help!!
    Last edited by ruedi04; 03-09-2012 at 08:43 AM.
    -------
    iPhone 5S, iOS 7.1.2 jb
    iPhone 5, iOS 7.1.2 jb

  4. The Following 3 Users Say Thank You to ruedi04 For This Useful Post:

    Ian Nicoll (03-10-2012), jotka (03-09-2012), The_Durben (03-09-2012)

  5. #563
    Green Apple
    Join Date
    Nov 2009
    Posts
    36
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Anyone replied to this yet? I would love to be able to use animated weather like HTCPerPageHTML with GPS auto update.

    Quote Originally Posted by anig View Post
    This code mixed with animated weather with forecast changing wallpapers (hd retina)I would gladly pay for. Anyone may point me in the right direction

  6. #564
    Green Apple
    Join Date
    Jun 2010
    Location
    Germany
    Posts
    79
    Thanks
    32
    Thanked 24 Times in 17 Posts

    @ruedi04 If i add that line i have "März" but it crashed my weather text. It now cant display "Schön" or "bewölkt".

  7. #565
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    441
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Quote Originally Posted by Dacal View Post
    Guys, during your tests, if you drive don't forget to look the road... Don't focalize on you phone .



    No. I'm trying to make a all-in-one script for modders. The change to an existing widget must be minor. For now, need only 4 things.

    1) Include a line in the HTML (be careful must point to the right location for js) :



    2) Copy the "GetLocation_Weather.js" (code in previous post) in the place above

    3) Slightly modify the main javascript of your theme (for my widget, i call an init function in main.js) and must replace (for exemple ) :



    by :



    4) Put the locale variable to 0. For my widget (and a lot now, as a many are based on my code), edit the ../Setup/Config.js.

    I think i didn't forget anything....
    Can one you expert modders clarify #3 and #4? Not sure where I would modify these lines of code. I am using Ian's UNiAW test mod.

    Thanks.

  8. #566
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by jotka View Post
    Hi, a short question:
    as PerPage dont work yet but i would like to have that on my Springboard i just renamed LockBackground.html to Wallpaper.html and played a little bit around. In general it works great. I removed the layer.png cause it doesnt fit to SB.
    Now i have only a black background and would like to change that. But if i add a new layer it will cover my weather icon means the layer is on top of the icon and the icon is "invisible". Is there any way to change the backgroung but keep all weather information including the icon on top ? And i dont want to cut the layer, i just want to change the complete background if possible.

    Oh, i use the EPHDiOS5 GPS Weather

    Thanks in advance ...
    In the lock background html change the z index of the layer to 1 from 90
    Add your image to the folder Files and replace Layer.png naming yours the same.
    In the Style folder go style css and change the z index of the weathericon from -99 to 10

    It may not look great without the "frame" I would suggest making no changes and instead just cutting out your wall to be the layer. Up to you though

    Quote Originally Posted by Thespikie View Post
    Big thanks to @The_Durben
    Attachment 571968

    But how can a chance the day "09" before the month?

    Thx
    Look back some pages can't remember where but schnedi posted how to change that.
    Last edited by The_Durben; 03-09-2012 at 10:08 AM.

  9. The Following User Says Thank You to The_Durben For This Useful Post:

    jotka (03-09-2012)

  10. #567
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    441
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Is it necessary to leave sig.change on at all times?

  11. #568
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Ian Nicoll View Post
    Hi M8, I'm using this too, beautifully simple, but I see a wee problem, there isn't enough room for long weather condition descriptions like "Mostly cloudy but might rain, then again maybe snow followed by thunder but probably a sunny day. ", so I'm gonna remove the GPS coordinates and put the description in there,

    Thanks for sharing this pal.
    No worries
    Was just a simple play around. Has the original location js so you might want to change that.
    lol at the longest weather description ever
    I might start adding ones like that just to mess around :P

    Quote Originally Posted by Thespikie View Post
    i have it :-)

    Attachment 571977
    Disregard my last post then

    Quote Originally Posted by Ian Nicoll View Post
    To all modders & themers.

    when you are making your yahoo icon sets, (especially with this GPS code as it happens a lot) don't forget to add icon number 3200.
    3200 is the code yahoo uses for "Unknown" so instead of widgets showing a question mark with a white outline you can make a special icon for this. In the case of this GPS widget you would make 2 and name then "3200d" & "3200n".

    The result: No more question mark.

    Thanks all.
    That last widget I posted does not have those. They just used crazy's icons.
    All my other ones have the 3200 pngs
    Last edited by The_Durben; 03-09-2012 at 10:18 AM.

  12. The Following User Says Thank You to The_Durben For This Useful Post:

    Ian Nicoll (03-09-2012)

  13. #569
    iPhoneaholic ruedi04's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    344
    Thanks
    1,069
    Thanked 190 Times in 116 Posts

    Quote Originally Posted by jotka View Post
    @ruedi04 If i add that line i have "März" but it crashed my weather text. It now cant display "Schön" or "bewölkt".
    Same problem here. I'm working on it .....
    -------
    iPhone 5S, iOS 7.1.2 jb
    iPhone 5, iOS 7.1.2 jb

  14. #570
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by will822 View Post
    Is it necessary to leave sig.change on at all times?
    No it's not. If left on it will update on the fly as you change cities.
    You can leave it off and the weather conditions will continue to update for your current city.
    If you change cities and have it off, simply toggle Sig.Change on again and then off and your new location will be updated.

  15. The Following 3 Users Say Thank You to The_Durben For This Useful Post:

    Dacal (03-09-2012), Ian Nicoll (03-09-2012), will822 (03-09-2012)

  16. #571
    iPhone? More like MyPhone Thespikie's Avatar
    Join Date
    Mar 2010
    Location
    Tienen, Belgium
    Posts
    137
    Thanks
    9
    Thanked 44 Times in 38 Posts

    Disregard my last post then


    Sorry i can not follow :-(
    Sorry for my bad english, I'm Dutch

  17. #572
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Any news on a cydia package ?

  18. #573
    iPhoneaholic ruedi04's Avatar
    Join Date
    May 2008
    Location
    Germany
    Posts
    344
    Thanks
    1,069
    Thanked 190 Times in 116 Posts

    Quote Originally Posted by jotka View Post
    @ruedi04 If i add that line i have "März" but it crashed my weather text. It now cant display "Schön" or "bewölkt".
    Here is my solution:

    First step: make a save copy of the original "Weather.js". Then open the "Weather.js" and save it again but with the encoding: Unicode (UTF-8); now change the weather descriptions like "schoen" to "schön" and so on. Then transfer it to your iPhone.

    Why should you do this: the original Weather.js is saved with encoding: Western (Mac OS Roman)!

    I'm going this way and it works perfect!!

    Last edited by ruedi04; 03-09-2012 at 11:30 AM. Reason: add screenshot
    -------
    iPhone 5S, iOS 7.1.2 jb
    iPhone 5, iOS 7.1.2 jb

  19. The Following User Says Thank You to ruedi04 For This Useful Post:

    jotka (03-09-2012)

  20. #574
    The Mechanic The_Durben's Avatar
    Join Date
    Aug 2010
    Location
    Vancouver Canada
    Posts
    8,424
    Thanks
    34,944
    Thanked 40,561 Times in 7,513 Posts

    Quote Originally Posted by Dacal View Post
    Any news on a cydia package ?
    I just heard from crazyvivek today it has been submitted.
    If everything was correct and MMi has no issues with permissions it should be soon

  21. The Following User Says Thank You to The_Durben For This Useful Post:

    Dacal (03-09-2012)

  22. #575
    Theme Modder WaGGuM's Avatar
    Join Date
    Feb 2011
    Posts
    1,713
    Thanks
    2,160
    Thanked 4,532 Times in 1,175 Posts

    Quote Originally Posted by WaGGuM View Post
    Hi Folks,


    First off the work being done on here is amazing and something I've been thinking about for over a year now. Always wanted my weather to be tracked by my location and you guys are pulling it off in such precise fashion that I couldn't be more excited.

    OK so this is probably an easy question but I need help. I'm running the Vertical Widget Mod and I'm trying to shift my Temp and Desc details over to the right. I update their "left" coordinate in the Style.Css file, and it looks good on the Wallpaper.html, but when I respring and apply none of the changes take effect on my Spring board. What am I missing?


    Code:
    #temp{
    
    	position:absolute; top:29px; left:95px; width:320px; height:480px; text-align:left; z-index:90;
    
    	font: 12px "Helvetica";
    
    	color: red; 
    
    	text-shadow: black 0px 0px 1px;
    
    	font-weight: 100;
    
    	text-transform: uppercase;
    
    }
    
    #desc{
    
    	position:absolute; top:29px; left:135px; width:320px; height:480px; text-align:left; z-index:90;
    
    	font: 12px "Helvetica";
    
    	color: white; 
    
    	text-shadow: black 0px 0px 1px;
    
    	font-weight: 100;
    
    	text-transform: uppercase;
    
    }

    Wallpaper.html screenshot (Looks good here):





    Springboard (No Changes!)






    Thanks for any help!
    Bump!

  23. #576
    iPhone? More like MyPhone
    Join Date
    Aug 2009
    Posts
    144
    Thanks
    16
    Thanked 20 Times in 19 Posts

    Hello friends,

    This is yahoo weather error? ((
    GPS Based HTML Lockscreen Weather Theme-imageuploadedbymodmyi1331321736.750101.jpg

    Thank you
    Nicos

  24. #577
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    441
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Guys, during your tests, if you drive don't forget to look the road... Don't focalize on you phone .


    Originally Posted by chevymusclecar
    So Dacal will not need to add this line....

    <script language="JavaScript">UpdateLocation(); setInterval('UpdateLocation()', 20000 )</script>

    In HTML?
    No. I'm trying to make a all-in-one script for modders. The change to an existing widget must be minor. For now, need only 4 things.

    1) Include a line in the HTML (be careful must point to the right location for js) :


    <script type="text/javascript" charset="utf-8" src="Resources/JavaScript/Main/GetLocation_Weather.js"/></script>
    2) Copy the "GetLocation_Weather.js" (code in previous post) in the place above

    3) Slightly modify the main javascript of your theme (for my widget, i call an init function in main.js) and must replace (for exemple ) :


    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal

    by :

    if (locale == 0) { UpdateLocation(); }
    else { validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal); }


    4) Put the locale variable to 0. For my widget (and a lot now, as a many are based on my code), edit the ../Setup/Config.js.

    I think i didn't forget anything....



    Can someone clarify what Dacal meant by #3 and #4 above? Not sure what main javascript file to modify and where do I put the locale variable to 0. Is it even needed?

    Thanks.

  25. #578
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Quote Originally Posted by will822 View Post
    Guys, during your tests, if you drive don't forget to look the road... Don't focalize on you phone .


    Originally Posted by chevymusclecar
    So Dacal will not need to add this line....

    <script language="JavaScript">UpdateLocation(); setInterval('UpdateLocation()', 20000 )</script>

    In HTML?
    No. I'm trying to make a all-in-one script for modders. The change to an existing widget must be minor. For now, need only 4 things.

    1) Include a line in the HTML (be careful must point to the right location for js) :


    <script type="text/javascript" charset="utf-8" src="Resources/JavaScript/Main/GetLocation_Weather.js"/></script>
    2) Copy the "GetLocation_Weather.js" (code in previous post) in the place above

    3) Slightly modify the main javascript of your theme (for my widget, i call an init function in main.js) and must replace (for exemple ) :


    validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal

    by :

    if (locale == 0) { UpdateLocation(); }
    else { validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal); }


    4) Put the locale variable to 0. For my widget (and a lot now, as a many are based on my code), edit the ../Setup/Config.js.

    I think i didn't forget anything....



    Can someone clarify what Dacal meant by #3 and #4 above? Not sure what main javascript file to modify and where do I put the locale variable to 0. Is it even needed?

    Thanks.
    Hi ! It depends of the widget you use. All i mentionned is available for widget based on my code...

  26. The Following User Says Thank You to Dacal For This Useful Post:

    The_Durben (03-09-2012)

  27. #579
    iPhoneaholic
    Join Date
    Jul 2010
    Posts
    441
    Thanks
    172
    Thanked 296 Times in 152 Posts

    Quote Originally Posted by Dacal View Post
    Hi ! It depends of the widget you use. All i mentionned is available for widget based on my code...
    Hey Dacal, I am using Ian's UNiAW perpage test code with your modified code for GetLocation-weather.js that you posted a few pages back.

    Do I need to add the other changes you suggested?

    Thanks.

  28. #580
    Addicted to Code Dacal's Avatar
    Join Date
    Nov 2010
    Posts
    1,891
    Thanks
    2,903
    Thanked 8,487 Times in 1,500 Posts

    Quote Originally Posted by will822 View Post
    Hey Dacal, I am using Ian's UNiAW perpage test code with your modified code for GetLocation-weather.js that you posted a few pages back.

    Do I need to add the other changes you suggested?

    Thanks.
    Hi ! Sorry, but there is so many version on this thread, i can not know if it is necessary or not. Ian send me a PerPage version of uniAW to have a look on it (seems not refresh correctly) but don't have time now to check it... Perhaps tomorrow.

  29. The Following 5 Users Say Thank You to Dacal For This Useful Post:

    chg128 (03-10-2012), Ian Nicoll (03-09-2012), stratnik (03-10-2012), The_Durben (03-09-2012), will822 (03-09-2012)

LinkBacks (?)

  1. 04-12-2013, 02:27 PM
  2. 03-15-2013, 10:09 AM
  3. 08-11-2012, 12:06 AM
  4. 03-03-2012, 12:38 PM

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