Lockinfo will still come up, if I activate the plugins.
Yes. It show up after some playing around. Thanks!
Lockinfo will still come up, if I activate the plugins.
nice weather theme!!! IM LOVIN IT!!! PROPZ TO ALL THE DEVELOPERS!!
Just search for these lines in the file LockBackground.html:
and replace it with this code-block:Code:var picture=''; myday=new Date(); myday=myday.getDate(); picture="<span style='font-family: Helvetica Neue; font-size: 88pt; color: #FFFFFF;'>"+myday+"</span>" document.write(picture);
Code:var picture = ''; myday = new Date(); myday = myday.getDate(); if (myday < 10){ preDay = "0"; } else{ preDay = ""; } picture = "<span style='font-family: Helvetica Neue; font-size: 90pt; color: #FFFFFF;'>" + preDay + myday + "</span>" document.write(picture);
<?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: 20px 0 0 0;
height: 480px;
width: 320px;
// background-image: url("Private/4all/images/wallpaper/Background.png");
background-image: url("/private/var/mobile/Library/SpringBoard/LockBackground.jpg");
background-size: 61%;
}
</style>
<script type="text/javascript" src="Private/configureMe.js"></script>
<script type="text/javascript" src="Private/weather/Wallpaper.js"></script>
</head>
<body onload="onLoad()">
<base href="Private"/>
<div id="WeatherContainer">
<div id="TextContainer">
<p id="city">Loading...</p>
<p id="temp">3º</p>
<p id="desc">-</p>
</div>
<img id="weatherIcon" src=""/>
</div>
<div style="position:relative; font-size:50px; z-index:2;">
<table id="TimeContainer">
<td height="40" border="0">
<img src="Private/images/time/8.png" name="hr1" width="80" height="105" heigth="69"><img
src="Private/images/time/dgb.gif" name="b1" width="2" heigth="69"><img
src="Private/images/time/8.png" name="hr2" width="80" height="105" heigth="69"><img
src="Private/images/time/dgc.gif" name="c" width="40" height="85" heigth="69"><img
src="Private/images/time/8.png" name="mn1" width="80" height="105" heigth="69"><img
src="Private/images/time/dgb.gif" name="b2" width="2" heigth="69"><img
src="Private/images/time/8.png" name="mn2" width="80" height="105" heigth="69">
</td>
</table>
<script type="text/javascript">
/* time --------- START --------- */
function dotime(){
theTime = setTimeout('dotime()', 1000);
d = new Date();
hr = d.getHours() + 100;
mn = d.getMinutes() + 100;
se = d.getSeconds() + 100;
if (twentyFourHourClock){
document.c.src = "Private/4all/images/time/24.png";
}
else{
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);}
if (am_pm=='am'){document.c.src = "Private/4all//images/time/AM.png";}
else if(am_pm=='pm'){document.c.src = "Private/4all/images/time/PM.png";}
}
tot='' + hr + mn + se;
document.hr1.src = "Private/4all/images/time/" + tot.substring(1, 2) + ".png";
document.hr2.src = "Private/4all/images/time/" + tot.substring(2, 3) + ".png";
document.mn1.src = "Private/4all/images/time/" + tot.substring(4, 5) + ".png";
document.mn2.src = "Private/4all/images/time/" + tot.substring(5, 6) + ".png";
}
dotime();
/* time --------- END --------- */
</script>
</div>
<!-- <div style="position:absolute; top:320px; left:9px; color:red; font-size:80px; z-index:1; width:100;"> -->
<div style="position:absolute; top:303px; left:15px; font-family:Helvetica Neue; margin:auto; font-weight:lighter; color:#61bee5; font-size:70px; z-index:1;">
<script language="JavaScript" type="text/javascript">
/* month --------- START --------- */
numMonth=new Date();
numMonth=numMonth.getMonth();
if (language == "de"){
arMonth = new Array("JANUAR", "FEBRUAR", "MÄRZ", "APRIL", "MAI", "JUNI", "JULI", "AUGUST", "SEPTEMBER", "OKTOBER", "NOVEMBER", "DEZEMBER");
}
else if (language == "en"){
arMonth = new Array("JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER");
}
document.write(arMonth[numMonth]);
/* month --------- END --------- */
</script>
</div>
<div style="position:absolute; top:225px; left:130px; font-family:Helvetica Neue; margin:auto; color:#ffdc92; font-size:35px; font-weight:400; z-index:3;">
<script>
/* day of the week --------- START --------- */
day = new Date();
day = day.getDay();
// arday = new Array("Sun.png", "Mon.png", "Tue.png", "Wed.png", "Thu.png", "Fri.png", "Sat.png");
// document.write("<img width=230 src='Private/" +language + "/images/day/" + arday[day] + "'>");
if (language == "de"){
arDay = new Array("SONNTAG", "MONTAG", "DIENSTAG", "MITTWOCH", "DONNERSTAG", "FREITAG", "SAMSTAG");
}
else if (language == "en"){
arDay = new Array("SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY");
}
document.write(arDay[day]);
/* day of the week --------- END --------- */
</script>
</div>
<div style="position:absolute; top:200px; left:-6px; color:red; font-size:80px; z-index:4; width:100;">
<script language="javascript">
/* day --------- START --------- */
var picture='';
myday = new Date();
myday = myday.getDate();
if (myday < 10){
preDay = "0";
}
else{
preDay = "";
}
picture="<span style='font-family: Helvetica Neue; font-size: 90pt; color: #FFFFFF;'>" + preDay + myday + "</span>"
document.write(picture);
/* day --------- END --------- */
</script>
</div>
<div style="position:absolute; top:246px; left:140px; font-family:Helvetica Neue; margin:auto; color:#d6d6d6; font-size:70px; font-weight:100; z-index:4;">
<script language="JavaScript" type="text/javascript">
/* year --------- START --------- */
myDate = new Date();
myDate = myDate.getFullYear() - 2010;
arYear = new Array("2010", "2011", "2012", "2013", "2014", "2015", "2016");
document.write(arYear[myDate]);
document.close();
/* year --------- END --------- */
</script>
</div>
</body></html>
Can I make this one clock top and weather bottom?
anyway to resize that weather icon. Cause when its sunny its huge lol.
#weatherIcon{
height:128px;
width:128px;
float:right;
border:none;
padding: 0px 0px 5px 10px;
margin: 0 0px 0 10px;
}
If you think to change the put the whole block of date&time on top and the weather on the bottom, yes, why not
I will come up with a solution, but not tonight I'll get back to you tomorrow and make a switch/style for that.
I switched to dzendeh's and it loads quicker. Pretty happy with it so thanks to him and OP for all the hard work.
how did you change the color of the year? are you using text instead of the images? i thought someone said you couldn't get the real thin year or something with text...
Just search for these lines in the file LockBackground.html:
and replace it with this code-block:Code:var picture=''; myday=new Date(); myday=myday.getDate(); picture="<span style='font-family: Helvetica Neue; font-size: 88pt; color: #FFFFFF;'>"+myday+"</span>" document.write(picture);
Code:var picture = ''; myday = new Date(); myday = myday.getDate(); if (myday < 10){ preDay = "0"; } else{ preDay = ""; } picture = "<span style='font-family: Helvetica Neue; font-size: 90pt; color: #FFFFFF;'>" + preDay + myday + "</span>" document.write(picture);
Just noticed an error I am having with this theme and biteSMS.
When I receive a text and the screen lights up, I have the >> arrow image displaying with "slide to view" text showing (almost like slide to unlock). If I let the screen go off, and then turn it on again, the biteSMS pop up is still there but the "slide to view" is now gone.
Is there a way to remove the "slide to view" completely so if I'm actually at my phone receiving text messages that I won't see it?
You need to go to the biteSMS app and within that, go into your language folder, open bitesms.strings, find the slide to view string and remove everything between the quotes, leaving slide to view = ""
Thanks for the suggestion, didn't know biteSMS had its own set of strings. I edited the file and searched for "slide to view" and removed every instance of it in the entire file and it still displays on my lockscreen. Sigh.
You can get the theme with the weather-widget included from here: LockMS_Weather.theme
After much futzing around, here's what I ended up with. Decided to ditch LockInfo altogether (except for the slider lock). I'll probably play around with the colors and size of the month text, but it'll work for now...
Thanks for all the hard work guys!
After much futzing around, here's what I ended up with. Decided to ditch LockInfo altogether (except for the slider lock). I'll probably play around with the colors and size of the month text, but it'll work for now...
Thanks for all the hard work guys!