Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
Code:
#calendar 
			{
			position: absolute; 
			top: 7px; 
			   left: 216px;

Go into widget.html and change the left value to the number above to move Mar to the correct line.
 
How do I make it say Sat, Mar 19 instead of Sat, 19 Mar? I tried messing with the coding order for the date string and when I changed it, it ruined the widget all together. Thanks in advance.
 
My lockscreen Mods.

ls_sleek_hd_by_1wildcat1-d38u069.png


ls_velocity_by_1wildcat1-d38oesr.png
 
Transparent Status Bar 4.2.1?

Can not seem to get the status bar transparent in 4.2.1

Many of the screenshots here have it

Care to share?

Thanks
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)

KentuckyHouse said:
Thank you for the excellent widget, LEXS! I'm only having one small problem and I'm hoping you can help me figure it out.

f77245f1.png


As you can see, "Mar" is sitting under the time. I noticed in your screen shot, the day/date is moved to the left just a bit and "Mar" is to the right of it, above the time. However, after looking through the code, I can't find what I need to change to move the month up and day/date to the left.

Thanks again!

You can go to widget.HTML and in the #infoContainer script adjust the width to 320px and see if that works.

Also on your pic it looks like day/month is over to the right too much. You can try to decrease the value and see if that helps. BUT ID DO THE ABOVE FIRST!
 
Last edited:
How do I move march up to the correct line?

I changed the font size in the widget.html to 12 instead of 14 and it looks pretty good:

Code:
#calendar 
			{
			position: absolute; 
			top: 7px; 
			   left: 224px;	
	    	    font-family: Helvetica; 
	    	    font-size: 12px;
	    	    color: white;
			}
 
img0515.png


How do I make it say Sat, Mar 19 instead of Sat, 19 Mar? I tried messing with the coding order for the date string and when I changed it, it ruined the widget all together. Thanks in advance.

Go to /Weather/wallpaper.js and look for this script:

Code:
// Get the date string

	var date_string = days[current_time.getDay()] + ', ' + current_time.getDate() + ' ' + months[current_time.getMonth()];

and change line to this:

Code:
       var date_string = days[current_time.getDay()] + ', ' + months[current_time.getMonth()] + ' ' + current_time.getDate();

Save and respring!
 
Last edited:
img0515.png




Go to /Weather/wallpaper.js and look for this script:

Code:
// Get the date string

	var date_string = days[current_time.getDay()] + ', ' + current_time.getDate() + ' ' + months[current_time.getMonth()];

and change line to this:

Code:
       var date_string = days[current_time.getDay()] + ', ' + months[current_time.getMonth()] + ' ' + current_time.getDate();

Save and respring!

Thanks Jason and he is correct re date/cal line change width to 320
not sure what happened there must have changed it before I put the Download up my apologies guys :eek:

#infoContainer
{
position: absolute;
top: 315px;
left: 10px;
width: 320px;
overflow: black;
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)



You can go to widget.HTML and in the #infoContainer script adjust the width to 320px and see if that works.

Also on your pic it looks like day/month is over to the right too much. You can try to decrease the value and see if that helps. BUT ID DO THE ABOVE FIRST!

Code:
#calendar 
			{
			position: absolute; 
			top: 7px; 
			   left: 216px;

Go into widget.html and change the left value to the number above to move Mar to the correct line.

img0515.png




Go to /Weather/wallpaper.js and look for this script:

Code:
// Get the date string

	var date_string = days[current_time.getDay()] + ', ' + current_time.getDate() + ' ' + months[current_time.getMonth()];

and change line to this:

Code:
       var date_string = days[current_time.getDay()] + ', ' + months[current_time.getMonth()] + ' ' + current_time.getDate();

Save and respring!

Thanks everyone, for the help. Those all worked perfectly and got everything lined up correctly!
 
Thanks for yet another great widget LEXS. In my playing around I seem to have moved the weather icon(picture) over too much to the left, but now I can't figure out how to move it to the right a little. Can someone help me out with what I need to edit? Also, I'd like to get rid of the text under the time, where it says "cloudy_day."

58a621d7.jpg
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)

jjk454ss said:
Thanks for yet another great widget LEXS. In my playing around I seem to have moved the weather icon(picture) over too much to the left, but now I can't figure out how to move it to the right a little. Can someone help me out with what I need to edit? Also, I'd like to get rid of the text under the time, where it says "cloudy_day."

58a621d7.jpg

Go to Widget.HTML And scroll down to #bgimg and change the LEFT: value to something like 190px;

You'll have to adjust it more to move to right... Less to move left. Save and respring

To remove the weather description go to Widget.HTML and scroll down to #desc and add DISPLAY:none; to it so it looks like below:

#desc{
display:none;
top: xxpx;
left: xxpx;
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_1 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8B117 Safari/6531.22.7)



Go to Widget.HTML And scroll down to #bgimg and change the LEFT: value to something like 190px;

You'll have to adjust it more to move to right... Less to move left. Save and respring

To remove the weather description go to Widget.HTML and scroll down to #desc and add DISPLAY:none; to it so it looks like below:

#desc{
display:none;
top: xxpx;
left: xxpx;

Thank you
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.