Thread: [RELEASE] OSX LEOPARD ADD-ONs
-
11-04-2008, 12:52 PM #181
I can put the analog clock, just tell me where to put it, as you can see I have put digital clock on my springboard. I can replace it with the analog clock ( the one that I hve is the WAD ).
My new setup.
Last edited by samber; 11-04-2008 at 12:52 PM. Reason: Automerged Doublepost
-
11-04-2008, 01:03 PM #182
which one of these widgets is causing my usage and standby time to be the same??
-
11-04-2008, 01:07 PM #183
Another background. I think it looks better

I am sorry but I dont think i get the question ( If its for me ) ?Last edited by samber; 11-04-2008 at 01:07 PM. Reason: Automerged Doublepost
-
11-04-2008, 01:17 PM #184
Its for anyone I am just saying that my standby time and usage time on my phone are the same meaning there are some processes running in the background draining my battery I am just trying to pinpoint the cause.
-
11-04-2008, 01:21 PM #185
Samber....Great work....This is what I did....Can you make it look better using your code? This one has a moving "second" hand (red)...but it is not full length. The goal was to make it look like the actual Dashboard clock. If you can do that...then I could release it right away. I'd like to get it with a full working second hand versus the small indicator on this one.
I can't release this version until I get permission from Wargames since it was a modification of his clock code:
I have updated the theme with a working analog clock widget that also opens up the clock application. I cannot release this modification until I receive permission from Wargames since it was a modification of his release. So hopefully he will reply back very soon:
Here is a screenshot:

Roger...I am not experiencing any of that...did you download anything new from Cydia...or maybe its possible that one of your Cydia applications doesn't like html? I don't know.Last edited by Bear Hunter; 11-04-2008 at 01:38 PM. Reason: Automerged Doublepost
-
11-04-2008, 01:40 PM #186My iPhone is a Part of Me
- Join Date
- Oct 2007
- Location
- Florida
- Posts
- 738
- Thanks
- 235
- Thanked 138 Times in 86 Posts
How do you make glass dashboard bigger or smaller in PhotoShop ?
Thanks, kinda new at photoshop ........
-
11-04-2008, 01:44 PM #187
-
The Following User Says Thank You to Bear Hunter For This Useful Post:
Zehlek (11-05-2008)
-
11-04-2008, 01:49 PM #188My iPhone is a Part of Me
- Join Date
- May 2008
- Location
- Scranton
- Posts
- 584
- Thanks
- 164
- Thanked 197 Times in 155 Posts
hi,
i was thinking about this calendar auto update problem....and a while back when the time/date widget came out it had the same problem for the date it wouldnt update itself unless you did a respring...but than someone rewrote the code to to have an interval update for the calendar and it worked perfect......
so i was thinking maybe this calendar widget needs the same thing...
im not familiar with html code but i was study the two of them and found the update interval in the other widget so i added it to this calendar widget to see if it will work....but i wont be able to see if it works until midnight.....
any thoughts?
like i said i know nothin about writing code....maybe it will work ...
If I Helped You Hit The Thanks Button
-
11-04-2008, 01:50 PM #189
Yep, no problem. First select the layer to the right

....then go up to "Edit", "Transform", then "Scale". You will then see a box outline....just drag it up or down or left or right. Then click the "arrow" to the top left to accept the changes.
The arrow is at the top left:
-
The Following User Says Thank You to Bear Hunter For This Useful Post:
24trepid (11-04-2008)
-
11-04-2008, 01:51 PM #190
Guys,
I've been having this problem here with my Safari icon and can't seem to be able to change it. I've tried different icons to see if those work, but they don't and I'm trying to get that black one you have Bear onto my phone but the icon that is on there doesn't change. I know I'm putting it in right, but nothing is happening. Does anyone know why this is happening??
Any help, would be much appreciated.
Thanks..
Marc
-
11-04-2008, 01:55 PM #191
Yeah, if you know something I don't...please share. I already tried putting:
var updateInterval = 35 //Minutes
in the calendar.js and it didn't work
Marc...I have no idea... there has to be something wrong with your setup, or it is not an actual ".png" file.
The only thing I can suggest is to disable everything you have in winterboard right now and redownload my plug and play version...then activate and see if that works.Last edited by Bear Hunter; 11-04-2008 at 01:55 PM. Reason: Automerged Doublepost
-
11-04-2008, 01:59 PM #192
-
11-04-2008, 02:00 PM #193My iPhone is a Part of Me
- Join Date
- May 2008
- Location
- Scranton
- Posts
- 584
- Thanks
- 164
- Thanked 197 Times in 155 Posts
i dont know much ...but the update interval was written into the .html file here ill post you the other clock/date widget file and show you what im talking about .....
this is a different widget than yours but if you scroll down to the bottom where the text is black youll see
<td align="center" valign="top">
<span id="calendar">
<script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>
</span
..thats what was added that made it auto update:
...so i tired adding it to you code like this:PHP Code:<html>
<head><title>newclock</title>
<base href="Private/"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style>
body {
margin: 0;
padding: 0px 0 0 0;
height: 480px;
width: 320px;
}
</style>
<script type="text/javascript" src="configureMe.js"/>
<script type="text/javascript" src="Wallpaper.js"/>
</head>
<style>
SPAN#clock
{
font-family: Helvetica;
color: #ffffff;
font-size: 30px;
}
SPAN#ampm
{
font-family: Helvetica;
color: #ffffff;
font-size: 15px;
}
SPAN#calendar
{
font-family: Helvetica;
text-align: center;
color: #ffffff;
font-size: 16px;
}
</style>
<script type="text/javascript">
function init ( )
{
timeDisplay = document.createTextNode ( "" );
document.getElementById("clock").appendChild ( timeDisplay );
}
function updateClock ( )
{
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 "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = currentHours + ":" + currentMinutes;
// Update the time display
document.getElementById("clock").firstChild.nodeValue = 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 "12"
currentHours = ( currentHours == 0 ) ? 12 : currentHours;
// Compose the string for display
var currentTimeString = timeOfDay;
// Update the time display
document.getElementById("ampm").firstChild.nodeValue = currentTimeString;
}
function init3 ( )
{
timeDisplay = document.createTextNode ( "" );
document.getElementById("calendar").appendChild ( timeDisplay );
}
function calendarDate ( )
{
var this_weekday_name_array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var this_month_name_array = new Array("January","Feburary","March","April","May","June","July","August","September","October","November","December") //predefine month names
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.nodeValue = this_weekday_name_array[this_weekday] + ", " + this_month_name_array[this_month] + " " + this_date //concat long date string
}
</script>
</head>
<body background="Wallpaper.png">
<table style="position: absolute; top: 402px; left: 0px; width: 320px; height: 461px;" cellspacing="0" cellpadding="0" align="center">
<tr align="center" valign="top" border="0" cellpadding="0">
<td height="10" valign="top">
<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>
</tr>
<tr>
<td align="center" valign="top">
<span id="calendar">
<script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>
</span>
</td>
</tr>
</table>
<body onload="onLoad()">
<div id="WeatherContainer">
<div id="TextContainer">
<p id="city">Loading...</p>
<p id="temp">-º</p>
<p id="desc">-</p>
</div>
<img id="weatherIcon" src=""/>
</div>
</body>
</html>
<span id="DisplayCalendarIcon">
<script language="JavaScript">DisplayCalendarIcon(); setInterval('DisplayCalendarIcon()', 1000 )</script>
</span>
...but like i said i dont know anything about writing code...it might be missing something for it to work rightLast edited by Ice9812; 11-04-2008 at 02:10 PM.
If I Helped You Hit The Thanks Button
-
11-04-2008, 02:01 PM #194
Also, it's not working with other icons I tried putting on to see if it works. I'm using your plug and play, so not sure what else to do.
I appreciate your help!!!
-
11-04-2008, 02:11 PM #195
I'll give it a shot bro...thanks. Don't feel bad, I don't know much either...I kinda just play with stuff until it works
Marc,
Your blowing my mind...I have no clue why your icons don't work. Is anyone else having this problem?
Do the original dock icons work that were included in the "icons" folder? Your theme is selected and activated in winterboard and everything else works right?Last edited by Bear Hunter; 11-04-2008 at 02:12 PM. Reason: Automerged Doublepost
-
11-04-2008, 02:16 PM #196
Yeah, all the other icons work, except for that one. It's the Safari one. Like I said I've tried changing it with other Safari icons and it isn't working. It's the icon that is same as the black one, but the original version is the one that is on there now. I don't get it.
-
11-04-2008, 02:18 PM #197My iPhone is a Part of Me
- Join Date
- May 2008
- Location
- Scranton
- Posts
- 584
- Thanks
- 164
- Thanked 197 Times in 155 Posts
i do the same thing and if it works it works....ill let you know at midnight if it works but like i said it might be missing something in the code for it to actually update the calendar...i dont know i dont know how to write code...if someone does please let us know....
If I Helped You Hit The Thanks Button
-
11-04-2008, 02:23 PM #198
No I looked at it and came to the same determination you did....but then again, I'm no code expert. I'll let you know as well. Keep our fingers crossed.
-
11-04-2008, 02:29 PM #199
BearHunter, really nice work! It works all very great and looks fantastic. Will make some pix from my setup and post it tomorrow. It would be fine, if we can solve the problem with the calender and maybe it´s also a idea with an analog clock. Keep that work up!
-
11-04-2008, 02:31 PM #200
Thanks man.
Analog clock widget works and is complete, I'm just waiting for permission from "Wargames" at Macthemes. Also waiting to see if Samber can make something better so we could get it out faster.



LinkBack URL
About LinkBacks
Reply With Quote




