HTC Sense dock issue

Discussion in 'iOS Themes and Customization' started by JacobVengeance, May 23, 2010.

  1. JacobVengeance

    JacobVengeance Well-Known Member

    Joined:
    Apr 12, 2010
    Messages:
    3,697
    Likes Received:
    96
    Device:
    iPhone 4S (Black)
    I got THIS theme, but a little bit more new one after a found it. There was a dock issues in both versions. I was wondering if anyone knows how to fix it. You can see what I mean in the attachment that it still shows classic dock. There is a new dock that is supposed to work that can be found where I got it.

    Attached Files:

  2. cjschriver3

    cjschriver3 New Member

    Joined:
    Mar 24, 2009
    Messages:
    1,080
    Likes Received:
    0
    Device:
    2G iPod touch
    i'm running that same download on fw 3.0 and the dock works fine for me

    Please Register or Log in to view images



    it's just like any other theme, called "Dock.png" in the iSense.theme folder

    what can you tell me about how to get the little AM and get rid of the zero on the hours<12 and your forecast for the day on the right side of the weather icon?
  3. cjschriver3

    cjschriver3 New Member

    Joined:
    Mar 24, 2009
    Messages:
    1,080
    Likes Received:
    0
    Device:
    2G iPod touch
    seriously, i need some help here...

    i don't know crap about HTML

    here is the widget code for the big flip clock

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <html><head>
        <base href="Private/"/>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    
        <style>
            body {
                background-color: none;
                margin: 0;
                padding: 278px 0 0 0;
                height: 480px;
                width: 320px;
            }
    	</style>
    </head>
    <body background="widget.png">
    
    
    <table style="position: absolute; top: -130px; left: 40px; width: 320px; height: 461px;" cellspacing="" cellpadding="" align="center">
    <td height="40" border="0">
    <img src="dg8.gif" name="hr1" width="50" heigth="69"><img 
    src="dgb.gif" name="b1" width="2" heigth="69"><img 
    src="dg8.gif" name="hr2" width="50" heigth="69"><img 
    src="dgc.gif" name="c" width="35" heigth="69"><img 
    src="dg8.gif" name="mn1" width="50" heigth="69"><img 
    src="dgb.gif" name="b2" width="2" heigth="69"><img 
    src="dg8.gif" name="mn2" width="50" heigth="69">
    </td></table>
    
    <script type="text/javascript"><!-- start
    
    dg0 = new Image();dg0.src = "dg0.gif";
    dg1 = new Image();dg1.src = "dg1.gif";
    dg2 = new Image();dg2.src = "dg2.gif";
    dg3 = new Image();dg3.src = "dg3.gif";
    dg4 = new Image();dg4.src = "dg4.gif";
    dg5 = new Image();dg5.src = "dg5.gif";
    dg6 = new Image();dg6.src = "dg6.gif";
    dg7 = new Image();dg7.src = "dg7.gif";
    dg8 = new Image();dg8.src = "dg8.gif";
    dg9 = new Image();dg9.src = "dg9.gif";
    dgc = new Image();dgc.src = "dgc.gif";
    dgz = new Image();dgz.src = "dgz.gif";
    dgb = new Image();dgb.src = "dgb.gif";
    
    
    function dotime(){ 
    theTime=setTimeout('dotime()',1000);
    d = new Date();
    hr= d.getHours()+100;
    mn= d.getMinutes()+100;
    se= d.getSeconds()+100;
    if(hr==100){hr=112;am_pm='am';}
    else if(hr<112){am_pm='am';}
    else if(hr==112){am_pm='pm';}
    else if(hr>112){am_pm='pm';hr=(hr-12);}
    tot=''+hr+mn+se;
    
    if (se%2==0){document.c.src = 'dgz.gif';}
    else {document.c.src = 'dgc.gif';}
    document.hr1.src = 'dg'+tot.substring(1,2)+'.gif';
    document.hr2.src = 'dg'+tot.substring(2,3)+'.gif';
    document.mn1.src = 'dg'+tot.substring(4,5)+'.gif';
    document.mn2.src = 'dg'+tot.substring(5,6)+'.gif';
    }
    
    dotime();
    //end -->
    </script>
    
    </body></html>
    this part seems pretty logical to me as how to tell am from pm and I judge the last line to be selecting 12 hr mode
    Code:
    hr= d.getHours()+100;
    mn= d.getMinutes()+100;
    se= d.getSeconds()+100;
    if(hr==100){hr=112;am_pm='am';}
    else if(hr<112){am_pm='am';}
    else if(hr==112){am_pm='pm';}
    else if(hr>112){am_pm='pm';hr=(hr-12);
    but why does mine display the leading 0 in the hour and NOT display the little am/pm like the OP has it ?

    this is driving me crazy

Share This Page