[Original]. IPhone Theme Method
August 31, 2011
important reminder: The system detects that your account may have stolen the risk, please see the risk warning as soon as possible, and immediately change your password. Close
Netease blog security alert: The system detected that your current password is less secure, for your account security, we recommend that you change your password immediately amend the timely closure
Citie Transfer iFan ~ ~
Well, many people hope to see told me that I can write a simple method to do the theme, then write a few words on Fucai, and claims that the level of primary-level logic language
hope to see you can read, you install WinterBoard it? Not loaded you do not read, how many outlets you can replace the clear.
dbar, mina told me that I remember two words: the first is simple, the second is the idea. dbar theme never let you see a desktop full of icons, I think you have frequent contact soon after I know to explain.
1, create a folder name at random, into the path of the legendary theme package, I was var / stash / theme .#$%$^。 Permissions 755.
(BTW, I have been using 91, the next pirated software, install ringtones wallpaper, do the theme, never white too, get at 91 is not so mobile that the terrorist killers, anything is how you use, In order to facilitate the software itself, you are, BUG natural is normal) thrown into the back, open the empty bag hanging it OK.
2, wallpaper, how often a kind of theme, 60% on wallpaper, you can also say, if you do theme, then saw this wallpaper, I think your mind should have about this theme looks like, and if he just did not, I think you have to first put up this thing backwards, what is my hello, no goal or done things very hard. Is chosen to change the name, two ways: ① If you want to lock screen theme, wallpaper named LockBackground.png. ② If the desktop is the Wall ***. png
3, material selection, which you usually see the vision and the current ability, and I used to think a good set of icons can be directly used, ability of the OK to do that naturally direct more personal characteristics. Anyway: Knights and Angels
① icon: Subject bag to create a folder called Icons, 755 privileges, you want to change a few icons on the number put forward to that: with reference to your desktop icon in the folder name into the seat they sit in the right.
② Dock: This is something optional, if you want good-looking materials can be directly named Dock Dock throw [theme package], the look, the theme package. If you want to cancel the Dock, just any size with a transparent png, renamed thrown to the Dock. (This is something very common and transparent, of course, the smaller the better, as the resources to implement also allows you to take the worry)
③ Set the status bar at the top of the desktop, it has two ways changes: 1, named StatusBar.png directly into the theme package. 2, create a folder inside the theme package called Bundles, open Bundles, and then create a folder named com.apple.springboard, then open the com.apple.springboard, put the figure you want the status bar, named FSO_BG.png, Of course, the system is not the same, FSO may be Black, that you pay attention to the good.
④ Turn the small point, this thing you do not have WB or not through the name, you need to unpack it should, with the WB easy. Theme package to create UIImages folder permissions 755, if you want to clear out of them, as casually through the name of two pictures, one named UIPageIndicator.png, the other for UIPageIndicatorCurrent.png, OK the.
In this way, a desktop is clean
⑤ on the icon of the hidden hide.
iBlank, this thing you are a search in the forum, how to use will be very specific to write about. Unless you do not know the location of the mobile desktop icon approach, or I will not not use. Just great, open iBlank, choose one, is to create a vacancy icon, pulled the first God, then you can put all your icons pulled the first two, and so only a beautiful desktop wallpaper was born.
Well, some people say the following words Dock icon out how I want to do
I change the system through the cancellation, so that later on simpler. Open the / System / Library / CoreServices / SpringBoard.app / zh_CN .lproj / LocalizedApplicationNames.strings DOCK you see on some of the text for the icon name can be deleted, the best backup, do not to kneel when they filled. After you change the iPod of course, find it at. How to do, open / Applications / MobileMusicPlayer.app / zh_CN.lproj / UI RoleDisplayNames.strings, to this change, huh, huh.
In this way, until now, the desktop if there are several icons in addition to DOCK bar and status bar icons outside of a few things, then you have not done.
3, HTML
attentive friends will find each topic and I can not do without it, the theme in order to achieve various effects, and ultimately the file. This is the replacement Why do not reach this reason.
I give you a simple HTML content before it
it that you want to modify the contents of the following body to the theme package to which which CSS file folder.
time the script
/ / ->
function init ()
{
timeDisplay = document.createTextNode (“”);
document.getElementById (“clock”). appendChild (timeDisplay);
}
function updateClock ()
{
< br /> var currentTime = new Date ();
var currentHours = currentTime.getHours ();
var currentMinutes = currentTime.getMinutes ();
< br /> 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 that one can be applied without modification, this is the time of the conversion script.
/ / 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; This is the time display definition. Plus seconds, then is such currentHours “:” currentMinutes “:” currentSeconds;
/ / 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."; you can put quotation marks into the morning or afternoon, and more more than you can think of.
/ / 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;
}
function calendarDate ()
{
var this_weekday_name_array = new Array (“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thu rsday”, “Friday”, “Saturday”) within the red part of the quote can be changed, you can read Chinese, then finished, the birds also asked the line. The above is a week from Sunday start number, the following is a 1-month in December.
var this_month_name_array = new Array (“January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “Novemb er”, “December”) / / predefine month names
var this_date_timestamp = new Date ()
var this_weekday = this_date_timestamp.getDay () < br />
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 month = this_date_timestamp.getMonth ();
document.getElementById ("calendar"). firstChild.nod eValue = this scarlet letter on behalf of the calendar that way. Blue for the format of the examples, with reference to the format change.
this_month_name_array [this_month] / / concat long date string / / ** this_date "," this_month_name_array [this_month] "." this_year / / concat long date string
document.getElementById ("vweekday"). firstChild.nod eValue = this_weekday_name_array [this_weekday] / / concat long date string
document.getElementById ("vyear"). firstChild.nodeVa lue = this_year / / concat long date string
document.getElementById ("vdate"). firstChild.nodeVa lue = this_date / / concat long date string
}
/ / ->
this thing is the whole script in Overlay.png execution space, your theme package must be Overlay.png,
This is a complete set parameters. Including its specific location. What it is, its width, height, arrangement.
the clock
updateClock (); setInterval ( pdateClock () 1000)
< / td>
updateClock (); setInterval ( pdateClock () 1000)
amPm (); setInterval ( mPm () 1000 )
calendarDate (); setInterval ( alendarDate () 1000) < br />
calendarDate (); setInterval ( alendarDate () 1000)
calendarDate (); setInterval ( alendarDate () 1000 )
calendarDate (); setInterval ( alendarDate () 1000)
< br />
specify the folder, the world swordfight name can be changed, but the theme must have the same name within the package folder. It is a path of points.
< br />
