Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Stang07

macrumors member
Sep 18, 2007
41
0
My tweak: forecast info from yahoo weather rss

see attached
 

Attachments

  • photo.PNG
    photo.PNG
    483.5 KB · Views: 88
Last edited:

andy9l

macrumors 68000
Original poster
Aug 31, 2009
1,699
365
England, UK
I just did the update in Cydia and it went flawlessly. I really like the addition of the setup page in Safari!

The only request I would have is could you add a field in the setup page to allow you to change the color of the slider to match the color of the temp/second hand? I manually changed it before this theme was available on Cydia (and I could do it that way now), but it would be great to have the option to change it on the fly if needed.

Thank-you for the comments :)

As for your request, unfortunately it is impossible to allow for that kind of setting via Safari. This is just a limitation of HTML background functionality on the iPhone. It's unfortunate, and the best I can do is provide users with a variety of colours for them to choose from.

I apologise for the inconvenience this causes, but there's truly nothing I can do about it.

KentuckyHouse said:
andy9l...as with all your themes, AMAZING job! You're definitely in my top 3 favorite theme developers. I can't wait to see what else you come up with.

I've got something exciting just round the corner for you all ;)
 

ctt1wbw

macrumors 68000
Jan 17, 2008
1,730
2
Seaford VA
Okay, I made two more. One for the Ubuntu Linux geeks and one for the awesome Tar Heels!!!
 

Attachments

  • Analock HD Ubuntu Face.png
    Analock HD Ubuntu Face.png
    457.8 KB · Views: 95

ctt1wbw

macrumors 68000
Jan 17, 2008
1,730
2
Seaford VA
Now THAT's what I'm talking about. I need a Rolex Daytona wallpaper from one of you artists!

I can't find a good Daytona face without the hands already in the image, but here's an Oyster face.
 

Attachments

  • Analock HD Rolex Face Oyster.png
    Analock HD Rolex Face Oyster.png
    544.6 KB · Views: 145
Last edited:

KentuckyHouse

macrumors 68030
Jan 29, 2010
2,720
992
Lexington, KY.
Thank-you for the comments :)

As for your request, unfortunately it is impossible to allow for that kind of setting via Safari. This is just a limitation of HTML background functionality on the iPhone. It's unfortunate, and the best I can do is provide users with a variety of colours for them to choose from.

I apologise for the inconvenience this causes, but there's truly nothing I can do about it.

Oh, no need to apologize! I not less than nothing about these sorts of things, so I just thought I'd ask and see if it were possible. Keep up the great work! :D

I've got something exciting just round the corner for you all ;)

Cannot wait! :D
 

scirica

macrumors 68020
May 13, 2008
2,070
3
Dallas, TX
Rolex Sea Dweller (Submariner)

So I played with the clockpieces and numbers to get rid of them. Next I'm going to make smaller hands when I get time. Here it is for now...
 

Attachments

  • IMG_0213.PNG
    IMG_0213.PNG
    516.7 KB · Views: 87

scirica

macrumors 68020
May 13, 2008
2,070
3
Dallas, TX
Sweet! Did you change the theme to get rid of the numbers? That looks super duper!

Yeah, I had to monkey with it to get the numbers and clockpieces to disappear. For some reason my resizing of the minute and hour hands didn't work. This will do for now though! Thanks for the background.
 

scirica

macrumors 68020
May 13, 2008
2,070
3
Dallas, TX
Sure. I wouldn't have the slightest idea what to change inside the theme settings to do that... :confused:

Wasn't elegant, but went into the analock.js file and did this:

//Change to numeric clock
function setNumeric(){
document.getElementById('top').innerHTML = ''; //12 all changed for Rolex theme
document.getElementById('right').innerHTML = ''; //3
document.getElementById('bottom').innerHTML = ''; //6
document.getElementById('left').innerHTML = ''; //9

Basically put a blank for the numerics then selected numeric style in the safari configuration.

To get rid of clock pieces, I just substituted a blank image for the ClockPieces.png file

Of course do this at your own risk. It was just a fun experiment and I backed up everything before I played. I love Andy's theme just the way it is out of the box!
 

Stang07

macrumors member
Sep 18, 2007
41
0
Awesome addition Stang! Mind sharing how you did that?:D

Please share, this is exactly what I have been tring to do

Instructions:

##################################################
Add the following inside the updateWeather method "else" condition in the Analock.js file:
##################################################

document.getElementById("fctodayday").innerHTML=wtrObj.todayDay;
document.getElementById("fctodhi").innerHTML=wtrObj.todayHigh+'°';
document.getElementById("fctodlo").innerHTML=wtrObj.todayLow+'°';
document.getElementById("fctodtext").innerHTML=wtrObj.todayText;
document.getElementById("fctodimage").setAttribute('src','images/weather/'+wtrImages[wtrObj.todayCode]+'.png');
document.getElementById("fctomorrowday").innerHTML=wtrObj.tomorrowDay;
document.getElementById("fctomhi").innerHTML=wtrObj.tomorrowHigh+'°';
document.getElementById("fctomlo").innerHTML=wtrObj.tomorrowLow+'°';
document.getElementById("fctomtext").innerHTML=wtrObj.tomorrowText;
document.getElementById("fctomimage").setAttribute('src','images/weather/'+wtrImages[wtrObj.tomorrowCode]+'.png');

#################################################
Add the following in LockBackground.html file in the last before closing the body tag:
#################################################

<div id="todayfc" style="width:150px;height:60px;position:absolute;
left:5px;top:360px;">

<table cellspacing="1" width="100%" cellpadding="0" border="0"
height="100%">

<tr height="1%"><td style="font:8pt Verdana;
font-weight:bold; overflow:hidden;" align="center" id="fctodayday">
</td></tr>

<tr height="99%"><td>

<table cellspacing="0" width="100%"
cellpadding="0" border="0" height="100%">

<tr>

<td width="40"><img
id="fctodimage" height="38" width="38" src="images/weather/dunno.png"
/></td>

<td>

<table cellspacing="0"
width="100%" cellpadding="0" border="0" height="100%">

<tr height="50%">

<td
style="font: 6pt Verdana;" align="center">HI: <span id="fctodhi"
style="font: 8pt verdana; font-weight:bold;"> </span> | LO: <span
id="fctodlo" style="font: 8pt verdana; font-weight:bold;">
</span></td>

</tr>

<tr height="50%">

<td
style="font: 6pt Verdana;" align="center"><span id="fctodtext">
</span></td>

</tr>

</table>

</td>

</tr>

</table>

</td></tr>

</table>

</div>

<div id="tomorrowfc" style="width:150px;height:60px;position:absolute;
left:165px;top:360px;">

<table cellspacing="1" width="100%" cellpadding="0" border="0"
height="100%">

<tr height="1%"><td style="font:8pt Verdana;
font-weight:bold;" align="center" id="fctomorrowday"> </td></tr>

<tr height="99%"><td>

<table cellspacing="0" width="100%"
cellpadding="0" border="0" height="100%">

<tr>

<td width="40"><img
id="fctomimage" height="38" width="38" src="images/weather/dunno.png"
/></td>

<td>

<table cellspacing="0"
width="100%" cellpadding="0" border="0" height="100%">

<tr height="50%">

<td
style="font: 6pt Verdana;" align="center">HI: <span id="fctomhi"
style="font: 8pt verdana; font-weight:bold;"> </span> | LO: <span
id="fctomlo" style="font: 8pt verdana; font-weight:bold;">
</span></td>

</tr>

<tr height="50%">

<td
style="font: 6pt Verdana;" align="center"><span id="fctomtext">
</span></td>

</tr>

</table>

</td>

</tr>

</table>

</td></tr>

</table>

</div>

##################################################
Add the following in Analock.css file in the last:
##################################################

#todayfc{

opacity:0.75;

color: #BBBBBB;

background-color: #333333;

-webkit-border-radius:10px;
}
#tomorrowfc{

opacity:0.75;

color: #BBBBBB;

background-color: #333333;

-webkit-border-radius:10px;
}




--------------------------------------------------------------
Respring once done... you are all set for it...

Thanks a ton for Andy L for this beautiful theme..
 
Last edited:

scirica

macrumors 68020
May 13, 2008
2,070
3
Dallas, TX
Nice work on the modification Stang!
Though I must give you a slap for using ghastly tables in your HTML ;)

I think it is very cool too, but this is a minimalist theme and for me it's just a little too much on the lockscreen. Great to have options!

Andy: You might want to clean up that code a little if you want to offer this as an option.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.