Page 2643 of 2938 FirstFirst ... 1643214325432593263326412642264326442645265326932743 ... LastLast
Results 52,841 to 52,860 of 58759

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


Thread: Elite PRO HD [ RELEASE ]

  1. #52841
    try..
    // Convert an hours component of "0" to "24"

    currentHours = ( currentHours == 0 ) ? 24 : currentHours;

    chage all "24" to "0"

    see if the damn thing get fixed

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

    EricB78 (2012-06-30)

  3. #52842
    Alien time !

    Brilliant !! it did work, thanks !!!!

    another thing, how can I add the year (2012) to the date ?
    Attached Thumbnails Attached Thumbnails -alien-hour.jpg  
    Last edited by PyD; 2012-06-30 at 12:26 PM.

  4. #52843
    Did you copy and paste everything in the script file? cuz, I don't see any lines for the date settings.

  5. #52844
    Here it is

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



    <html xmlns="http://www.w3.org/1999/xhtml">



    <head>



    <title>EPHDiOS5 Weather Lock by The_Durben</title>



    </head>

    <link rel="stylesheet" href="Private/Durben.css" type="text/css">

    <style>



    body

    {

    }





    </style>



    <script type="text/javascript">

    function init ( )

    {

    timeDisplay = document.createTextNode ( "" );

    document.getElementById("clock").appendChild ( timeDisplay );

    }



    function updateClock ( )

    {

    var TwentyFourHourClock = true

    var currentTime = new Date ( );



    var currentHours = currentTime.getHours ( );

    var currentMinutes = currentTime.getMinutes ( );

    var currentSeconds = currentTime.getSeconds ( );



    // 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 "24"

    currentHours = ( currentHours == 0 ) ? 0 : currentHours;



    // Compose the string for display

    var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds;



    // Update the time display

    document.getElementById("clock").firstChild.nodeVa lue = 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 "24"

    currentHours = ( currentHours == 0 ) ? 0 : currentHours;



    // Compose the string for display

    var currentTimeString = timeOfDay;



    // Update the time display

    document.getElementById("ampm").firstChild.nodeVal ue = currentTimeString;

    }



    function init3 ( )

    {

    timeDisplay = document.createTextNode ( "" );

    document.getElementById("calendar").appendChild ( timeDisplay );

    }



    function calendarDate ( )

    {

    var this_date_name_array = new Array("00","01","02","03","04","05","06","07","08" ,"09","10","11","12","13","14","15","16","17","18" ,"19","20","21","22","23","24","25","26","27","28" ,"29","30","31")

    var this_weekday_name_array = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi ","Vendredi","Samedi")

    var this_month_name_array = new Array("Janvier","Février","Mars","Avril","Mai","Ju in","Juillet","Août","Septembre","Octobre","Novemb re","Décembre")



    var this_date_timestamp = new Date()



    var this_weekday = this_date_timestamp.getDay()

    var this_date = this_date_timestamp.getDate()

    var this_month = this_date_timestamp.getMonth()



    //document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_month_name_array[this_month] + " " + this_date_name_array[this_date] //concat long date string

    document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_date_name_array[this_date] + " " + this_month_name_array[this_month] //concat long date string

    }





    </script>

    </head>





    <body>







    <tr align="center" valign="top" border="0" cellpadding="0">

    <td height="10" valign="top">

    <table width="300" border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td align="left"><span id="clock">

    <script language="JavaScript">updateClock(); setInterval('updateClock()', 1000 )</script></span><span id="ampm">

    <script language="JavaScript">amPm(); setInterval('amPm()', 1000 )</script>

    </span></td>



    <td align="right"><span id="calendar">

    <script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>

    </span></td>

    </tr>

    </table></td>

    </tr>



    </table>



    </body>



    </div>



    <style>



    body {



    background-color: none;



    background-size: 320px 480px;



    background-repeat:no-repeat;



    position: absolute;



    </style>





    <body style="top:0px; left:0px; text-align:center; padding:0px; margin:0px;">




    </div>

    </body>



    </html>

  6. #52845
    Here it is


    function init ( )

    {

    timeDisplay = document.createTextNode ( "" );

    document.getElementById("clock").appendChild ( timeDisplay );

    }



    function updateClock ( )

    {

    var TwentyFourHourClock = true

    var currentTime = new Date ( );



    var currentHours = currentTime.getHours ( );

    var currentMinutes = currentTime.getMinutes ( );

    var currentSeconds = currentTime.getSeconds ( );



    // 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 "24"

    currentHours = ( currentHours == 0 ) ? 0 : currentHours;



    // Compose the string for display

    var currentTimeString = currentHours + ":" + currentMinutes + ":" + currentSeconds;



    // Update the time display

    document.getElementById("clock").firstChild.nodeVa lue = 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 "24"

    currentHours = ( currentHours == 0 ) ? 0 : currentHours;



    // Compose the string for display

    var currentTimeString = timeOfDay;



    // Update the time display

    document.getElementById("ampm").firstChild.nodeVal ue = currentTimeString;

    }



    function init3 ( )

    {

    timeDisplay = document.createTextNode ( "" );

    document.getElementById("calendar").appendChild ( timeDisplay );

    }



    function calendarDate ( )

    {

    var this_date_name_array = new Array("00","01","02","03","04","05","06","07","08" ,"09","10","11","12","13","14","15","16","17","18" ,"19","20","21","22","23","24","25","26","27","28" ,"29","30","31")

    var this_weekday_name_array = new Array("Dimanche","Lundi","Mardi","Mercredi","Jeudi ","Vendredi","Samedi")

    var this_month_name_array = new Array("Janvier","Février","Mars","Avril","Mai","Ju in","Juillet","Août","Septembre","Octobre","Novemb re","Décembre")



    var this_date_timestamp = new Date()



    var this_weekday = this_date_timestamp.getDay()

    var this_date = this_date_timestamp.getDate()

    var this_month = this_date_timestamp.getMonth()



    //document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_month_name_array[this_month] + " " + this_date_name_array[this_date] //concat long date string

    document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_date_name_array[this_date] + " " + this_month_name_array[this_month] //concat long date string

    }





    </script>

    </head>





    <body>







    <tr align="center" valign="top" border="0" cellpadding="0">

    <td height="10" valign="top">

    <table width="300" border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td align="left"><span id="clock">

    <script language="JavaScript">updateClock(); setInterval('updateClock()', 1000 )</script></span><span id="ampm">

    <script language="JavaScript">amPm(); setInterval('amPm()', 1000 )</script>

    </span></td>



    <td align="right"><span id="calendar">

    <script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>

    </span></td>

    </tr>

    </table></td>

    </tr>



    </table>



    </body>



    </div>



    <style>



    body {



    background-color: none;



    background-size: 320px 480px;



    background-repeat:no-repeat;



    position: absolute;



    </style>





    <body style="top:0px; left:0px; text-align:center; padding:0px; margin:0px;">




    </div>

  7. #52846
    Theme Supporter TaJr12's Avatar
    Join Date
    Dec 2011
    Location
    Pennsville, New Jersey, United States
    Posts
    1,231
    Thanks
    4,420
    Thanked 2,906 Times in 905 Posts

    Quote Originally Posted by MamaJaay View Post
    Thanks Eric. I think I have it like I like it.



    Got all the elements in there, now gotta find someone to clean the code
    Very nice MamaJ looks nice so I see you are sporting boss as well.

  8. #52847
    Man no power and no AC because of the thunderstorm. Lol but what made me even more mad was when I looked at my gps widgets none of them were doing lightning.......-_-

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

    EricB78 (2012-06-30)

  10. #52848
    Okay. Just fast glance of the script, there is no command line for "year".
    Which means you need to add whole new line for that.
    I ain't an expert on scripting but, judging by the script, this is html file. And, yet it isn't primary html for LS.(probably, clock.html or date.html something like this.)

    I am sorry to say this but, it is kinda out of your hands. Ask someone to do whole LS modifying or just be happy what you have right now.

    Besides, you already have "2012" on the top logo img. Why do you need one more?
    Last edited by companyboss; 2012-06-30 at 04:18 PM.

  11. The Following User Says Thank You to companyboss For This Useful Post:

    EricB78 (2012-06-30)

  12. #52849
    Quote Originally Posted by PyD View Post
    Here it is

    don't see code for the year but...

    replace this line

    document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_date_name_array[this_date] + " " + this_month_name_array[this_month] //concat long date string

    with this one

    document.getElementById("calendar").firstChild.nod eValue = this_weekday_name_array[this_weekday] + " " + this_date_name_array[this_date] + " " + this_month_name_array[this_month] + " " + this_year //concat long date string

    if it doesn't work you'll have to add the code for the year

  13. The Following 2 Users Say Thank You to Schnedi For This Useful Post:

    EricB78 (2012-06-30), King_O_Hill (2012-07-01)

  14. #52850
    @ companyboss
    thanks for your help anyway, you solved the 24 hours problem

    @schnedi
    it didn't work, I replaced the code but still, the year won't show up

    I'll try to add the code for the year

    Thank you for your help

  15. #52851
    Quote Originally Posted by shortysos7 View Post
    Man no power and no AC because of the thunderstorm. Lol but what made me even more mad was when I looked at my gps widgets none of them were doing lightning.......-_-
    Same here.

  16. #52852
    Quote Originally Posted by MamaJaay View Post
    Ive changed some things around, added overlays, and included Waverleys timed background modded by Durben. The wallpaper changes according to the time of day. What do you think so far??



    Oh and added the "new" animated weather by subywrex and Durben
    How many wallpaper images are involved for it to change according to the time of day?

    Looks nice!

    BTW, right now (11:09am) in So. IL it's 97 w/34% humidity.

  17. #52853
    Theme Supporter TaJr12's Avatar
    Join Date
    Dec 2011
    Location
    Pennsville, New Jersey, United States
    Posts
    1,231
    Thanks
    4,420
    Thanked 2,906 Times in 905 Posts

    CMC Inbox is full

  18. The Following User Says Thank You to TaJr12 For This Useful Post:

    chevymusclecar (2012-06-30)

  19. #52854
    Quote Originally Posted by tajr12 View Post
    CMC Inbox is full
    It almost always is He's a popular guy.

  20. The Following 3 Users Say Thank You to EricB78 For This Useful Post:

    chevymusclecar (2012-06-30), King_O_Hill (2012-07-01), TaJr12 (2012-06-30)

  21. #52855
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,708
    Thanks
    8,333
    Thanked 16,463 Times in 7,695 Posts

    Quote Originally Posted by shortysos7 View Post
    Man no power and no AC because of the thunderstorm. Lol but what made me even more mad was when I looked at my gps widgets none of them were doing lightning.......-_-
    this is, sadly, the most distressing thing about using Yahoo weather for most of the weather widgets we have available to us on these forums. Yahoo weather is just simply the worst weather reporting company in the world. The only three things I ever see on my weather widget regardless of the weather outside is fair, cloudy, partly cloudy. Occasionally if it's raining for three days in a row you'll see light rain for a few hours on one of the days.

    It's really why I stopped using animated weather widgets, because the only cool weather widgets are the ones with rain. But yahoo weather never reports rain to my phone no matter how hard it's raining outside or for how long. All these weather widgets need to be rewritten for weatherchannel.com or Google weather. And then we'd all have accurate representations on our phones of what's really going on outside our windows. I've never once seen the lightning animation on any of my weather widgets and we've been through many many storms in the last several months since I started modding. I wonder why you programmers were drawn toward Yahoo as your favorite weather service. They're just really awful.

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

    King_O_Hill (2012-07-01)

  23. #52856
    Quote Originally Posted by NewdestinyX View Post
    this is, sadly, the most distressing thing about using Yahoo weather for most of the weather widgets we have available to us on these forums. Yahoo weather is just simply the worst weather reporting company in the world. The only three things I ever see on my weather widget regardless of the weather outside is fair, cloudy, partly cloudy. Occasionally if it's raining for three days in a row you'll see light rain for a few hours on one of the days.

    It's really why I stopped using animated weather widgets, because the only cool weather widgets are the ones with rain. But yahoo weather never reports rain to my phone no matter how hard it's raining outside or for how long. All these weather widgets need to be rewritten for weatherchannel.com or Google weather. And then we'd all have accurate representations on our phones of what's really going on outside our windows. I've never once seen the lightning animation on any of my weather widgets and we've been through many many storms in the last several months since I started modding. I wonder why you programmers were drawn toward Yahoo as your favorite weather service. They're just really awful.
    I can't venture to guess about why Yahoo is used, but I can say that just about every time it rains where I am, I see rain displayed in my weather widgets. Although, I would agree, I have not seen lightning.

  24. The Following User Says Thank You to EricB78 For This Useful Post:

    King_O_Hill (2012-07-01)

  25. #52857
    I'm pretty sure that mine lit up one night when we were having t-storms here in So. IL.

  26. #52858
    Quote Originally Posted by EricB78 View Post
    I can't venture to guess about why Yahoo is used, but I can say that just about every time it rains where I am, I see rain displayed in my weather widgets. Although, I would agree, I have not seen lightning.
    Yahoo reports weather in Canada pretty well. I never see lightning pics. Once a year maybe. We just don't get thunderstorms here. I see rain and cloudy pics a lot though. Pretty much all it does in my city 7 months out of the year lol

  27. The Following 2 Users Say Thank You to The_Durben For This Useful Post:

    EricB78 (2012-06-30), King_O_Hill (2012-07-01)

  28. #52859
    Code Dependent NewD's Avatar
    Join Date
    Jan 2012
    Location
    Northeast US
    Posts
    5,708
    Thanks
    8,333
    Thanked 16,463 Times in 7,695 Posts

    Quote Originally Posted by EricB78 View Post
    I can't venture to guess about why Yahoo is used, but I can say that just about every time it rains where I am, I see rain displayed in my weather widgets. Although, I would agree, I have not seen lightning.
    Have you ever seen FOG? WINDY? LIGHT SHOWERS? (different from LIGHT RAIN), HEAVY RAIN? These are all images that the widgets can show and these conditions have all existed since I started Modding. You go to WeatherChannel.com and you see it - you go to Yahoo.com and it just says one of the three things - year around - not matter what the weather!! :-)

    Now I have a theory. When I changed my MyLocation.txt to a fixed lat/long for Philadelphia (big city) rather than let the GPS function find my 'smaller town'. THEN that was the first time I saw Heavy RAIN when it was actually HEAVY RAINING and then LIGHT RAIN a few hours later. It seemed to 'update quicker' and more accurately. I think you're in MapleShade (NJ?) - right? Then you're close to me. I'll bet if you changed it to Philly or Trenton - you might also experience more accurate weather. My guess is that Yahoo reports the conditions of only 'larger cities' to any towns within a 25 mile area. Where these other weather services are more accurate down to the little town you're in. Only a theory....

  29. The Following 3 Users Say Thank You to NewD For This Useful Post:

    EricB78 (2012-06-30), King_O_Hill (2012-07-01), The_Durben (2012-06-30)

  30. #52860
    Theme Supporter TaJr12's Avatar
    Join Date
    Dec 2011
    Location
    Pennsville, New Jersey, United States
    Posts
    1,231
    Thanks
    4,420
    Thanked 2,906 Times in 905 Posts

    Quote Originally Posted by NewdestinyX View Post
    Have you ever seen FOG? WINDY? LIGHT SHOWERS? (different from LIGHT RAIN), HEAVY RAIN? These are all images that the widgets can show and these conditions have all existed since I started Modding. You go to WeatherChannel.com and you see it - you go to Yahoo.com and it just says one of the three things - year around - not matter what the weather!! :-)

    Now I have a theory. When I changed my MyLocation.txt to a fixed lat/long for Philadelphia (big city) rather than let the GPS function find my 'smaller town'. THEN that was the first time I saw Heavy RAIN when it was actually HEAVY RAINING and then LIGHT RAIN a few hours later. It seemed to 'update quicker' and more accurately. I think you're in MapleShade (NJ?) - right? Then you're close to me. I'll bet if you changed it to Philly or Trenton - you might also experience more accurate weather. My guess is that Yahoo reports the conditions of only 'larger cities' to any towns within a 25 mile area. Where these other weather services are more accurate down to the little town you're in. Only a theory....
    I have noticed for the south Jersey area where I am accu weather is a better forcast then yahoo but I have seen different weather condidtions in my area fog, light rain, thunderstorms ect but I am 10 minutes from wilmington de just on the Jersey side.

  31. The Following 2 Users Say Thank You to TaJr12 For This Useful Post:

    EricB78 (2012-06-30), King_O_Hill (2012-07-01)

Page 2643 of 2938 FirstFirst ... 1643214325432593263326412642264326442645265326932743 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •