The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-13-2008, 10:31 AM
Green Apple
 
Join Date: Sep 2007
Posts: 35
Thanks: 3
Thanked 7 Times in 3 Posts
Help me fix my Wallpaper.html date code to automatically update on a new day

My date, for my theme, does not update automatically once the time switches from 11:59pm to 12:00am - in other words it doesn't change the date when hitting midnight. It only updates after reboot\respring.

Heres the Wallpaper.html code:
HTML pastebin - collaborative debugging tool

any ideas?

Last edited by ranova; 10-13-2008 at 11:04 AM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 10-13-2008, 12:15 PM
Green Apple
 
Join Date: Feb 2008
Posts: 58
Thanks: 10
Thanked 6 Times in 6 Posts

+1 on this. Is this happening to everyone (date not changing over at midnight), or on certain HTML codes?

Last edited by johnny69blaze; 10-13-2008 at 12:16 PM.. Reason: spelled midnight wrong
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 10-13-2008, 03:29 PM
What's Jailbreak?
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 8 Times in 3 Posts

I saw this bug last week, and made a quick fix today. Havent been able to see if it works yet, but from the way the code is built it should work based on the fact it even displays the date.
It's not the most efficent way to find the date, but it works

Here is a patched version of your code:
(I didnt clean up all the junk left over in there, just really added in my own code.
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: 20px 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("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")	  //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: 19px; 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>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to DermicSavage For This Useful Post:
Ice9812 (10-13-2008), ranova (10-13-2008)
  #4  
Old 10-13-2008, 03:58 PM
Green Apple
 
Join Date: Feb 2008
Posts: 58
Thanks: 10
Thanked 6 Times in 6 Posts

My god it worked! Thank very much! I used the code you posted, but it's not the setup I want. Can you please fix mine? I would really appreciate it and you'll definitely get thanked


Code:
<html>
<head><title>newclock</title></head>
<style>

    SPAN#clock
{
        font-family: Helvetica; 
        color: white;
        font-size: 30px;
        text-shadow: #000000 1px 2px 1px;
}

    SPAN#ampm
{
        font-family: Helvetica; 
        color: #ffffff;
        font-size: 18px;
        text-shadow: #000000 1px 2px 1px;
}

    TD#date 
{
        font-family: Helvetica; 
        text-align: center;
        color: #ffffff;
        text-shadow: #000000 1px 2px 1px;
}
        
</style>

<script type="text/javascript">
<!--
var this_weekday_name_array = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var this_month_name_array = new Array("January","February","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()    
var this_year = this_date_timestamp.getYear()    

if (this_year < 1000)
    this_year+= 1900;
if (this_year==101)
    this_year=2001;        

var this_date_string = this_weekday_name_array[this_weekday] + ", " + this_month_name_array[this_month] + " " + this_date  //concat long date string

// -->
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;
}

// -->
</script>

</head>


<body bgcolor="black" background="Wallpaper.png">





<table style="position: absolute; top: 28px; 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 id="date" valign="top">
        <script language="JavaScript">document.write(this_date_string)</script>
    </td>
</tr>
</table>

</body>
</html>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 10-13-2008, 04:11 PM
What's Jailbreak?
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 8 Times in 3 Posts

Ok, here ya go.

Note anyone using this wallpaper template has this bug, really all that needs to be done is to set up the date to be on an update counter like the time and AM/PM functions. Pretty simple fix.

Code:
<html>
<head><title>newclock</title></head>
<style>

    SPAN#clock
{
        font-family: Helvetica; 
        color: white;
        font-size: 30px;
        text-shadow: #000000 1px 2px 1px;
}

    SPAN#ampm
{
        font-family: Helvetica; 
        color: #ffffff;
        font-size: 18px;
        text-shadow: #000000 1px 2px 1px;
}

    SPAN#calendar 
{
        font-family: Helvetica; 
        text-align: center;
        color: #ffffff;
        text-shadow: #000000 1px 2px 1px;
}
        
</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("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")	  //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 bgcolor="black" background="Wallpaper.png">





<table style="position: absolute; top: 28px; 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>
</html>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 4 Users Say Thank You to DermicSavage For This Useful Post:
96hondaex (10-14-2008), Ice9812 (10-13-2008), johnny69blaze (10-13-2008), ranova (10-13-2008)
  #6  
Old 10-13-2008, 04:22 PM
Green Apple
 
Join Date: Feb 2008
Posts: 58
Thanks: 10
Thanked 6 Times in 6 Posts

You are the man! Works like a champ! I appreciate you taking the time and you've been thanked bro!
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 10-13-2008, 05:22 PM
Green Apple
 
Join Date: Sep 2007
Posts: 35
Thanks: 3
Thanked 7 Times in 3 Posts

thank you very much dermic!

Dermic, quick question. So the update interval for the Date is every second (1000 ms). Does having the date on an interval drain more battery than what it would before? Would it be ok if I updated it to 1800000 milliseconds (30 minutes)?

Thanks again

Last edited by ranova; 10-13-2008 at 05:27 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8  
Old 10-13-2008, 05:33 PM
What's Jailbreak?
 
Join Date: Oct 2008
Posts: 4
Thanks: 0
Thanked 8 Times in 3 Posts

I'm not so sure about that.
This is really my first experiment with javascript.

You can modify it to work however you want, I'm just fixing little things. Just note if you change it to update at 30 min intervals, it could have a 30 min delay at updating the date(which aint that big a deal really)

I'm waiting to mess with this a little more to consolidate some of the functionality. This was just a rough cut.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to DermicSavage For This Useful Post:
96hondaex (10-15-2008), johnny69blaze (10-15-2008)
  #9  
Old 10-15-2008, 09:01 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I tried to use the code you first posted and for some reason it doesn't work. No time, no date, no weather. If I used the 2nd code you posted, then time and date show up no problem. But I would like the weather to show up. Any ideas? Here is the code I was hoping to use that weather works but the date doesn't refresh correctly. Thanks.


<html>
<head><title>newclock</title>
<base href="./"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

<style>
body {
margin: 0;
padding: 50px 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: 50px;
}

SPAN#ampm
{
font-family: Helvetica;
color: #ffffff;
font-size: 15px;
}

TD#date
{
font-family: Helvetica;
text-align: center;
color: #ffffff;
}

</style>

<script type="text/javascript">
<!--
var this_weekday_name_array = new Array("Sunday","Monday","Tuesday","Wednesday","Thu rsday","Friday","Saturday")
var this_month_name_array = new Array("January","February","March","April","May"," June","July","August","September","October","Novem ber","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()
var this_year = this_date_timestamp.getYear()

if (this_year < 1000)
this_year+= 1900;
if (this_year==101)
this_year=2001;

var this_date_string = this_weekday_name_array[this_weekday] + ", " + this_month_name_array[this_month] + " " + this_date //concat long date string

// -->
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.nodeVa lue = 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.nodeVal ue = currentTimeString;
}

// -->
</script>

</head>


<body background="../Wallpaper.png">





<table style="position: absolute; top: 19px; 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 id="date" valign="top">
<script language="JavaScript">document.write(this_date_str ing)</script>
</td>
</tr>
</table>

<body onload="onLoad()">

<div id="WeatherContainer">

<div id="TextContainerLeft"><p id="city">Loading...</p><p id="temp">-?</p></div>

<div id="IconContainerCenter"><img id="weatherIcon" src=""/></div>

<div id="TextContainerRight"><p id="desc">-</p></div>

</div>

</body>
</html>
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #10  
Old 10-15-2008, 09:25 PM
My iPhone is a Part of Me
 
Join Date: May 2008
Device + Firmware: Iphone 1st gen 16gig 3.0 redsnOw
Operating System: xp
Location: Scranton
Posts: 510
Thanks: 158
Thanked 184 Times in 144 Posts

Quote:
Originally Posted by big8oy View Post
I tried to use the code you first posted and for some reason it doesn't work. No time, no date, no weather. If I used the 2nd code you posted, then time and date show up no problem. But I would like the weather to show up. Any ideas? Here is the code I was hoping to use that weather works but the date doesn't refresh correctly. Thanks.


>
im not sure but i copied the second code and it works fine....the code you posted is not the same code in dermicsavage post try the code from dermicsavage post and it works ....

from your code it looks like you missing the update interval for your date...i could be wrong i dont write code but from looking the the two here is what i think your missing ...it might work

your code:

TD#date
{
font-family: Helvetica;
text-align: center;
color: #ffffff;
}

<td id="date" valign="top">
<script language="JavaScript">document.write(this_date_str ing)</script>


new code:

SPAN#calendar
{
font-family: Helvetica;
text-align: center;
color: #ffffff;
}



<td align="center" valign="top">
<span id="calendar">
<script language="JavaScript">calendarDate(); setInterval('calendarDate()', 1000 )</script>


find thos two sections in you code and replace them with the bottom ones there in 2 different spots...let me know

Last edited by Ice9812; 10-15-2008 at 09:44 PM..
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11  
Old 10-16-2008, 12:02 AM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

thanks for the help...I got it working by removing the ../ in front of some of the file locations. But not sure about the date working or not. I will have to see tmw if it refreshes. I hope so...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12  
Old 01-31-2009, 10:07 PM
Green Apple
 
Join Date: Jan 2009
Device + Firmware: iPhone 3G 2.2
Operating System: Windows Vista
Posts: 63
Thanks: 0
Thanked 2 Times in 2 Posts

Hey I was wondering, if I have some fonts that are already ported for the iphone, is it possible to change the font-family: Helvetica to something else? I want to change the font of the clock and the date only, not the entire system font so I don;t want to have a different Helvetica font.

I tried using this ggraffiti type, I used fontlab to change all the names, wherever it said Helvetica i changed it to graffiti, saved it, put it in the fonts/cache folder and changed the Helvetica in the html to graffiti and it didnt work, it used some default font or something but the graffiti one didnt work.

This font will work however if it's named Helvetica, but it changes the entire system font, which isn;t what Im trying to acheive.

Anybody know how I could do this?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:01 PM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top