Skocz do zawartości

Witaj!

Zaloguj lub Zarejestruj się aby uzyskać pełny dostęp do forum.

Zdjęcie
- - - - -

[Pokaż] SpringBoard [iPhone] [Zamknięty]


  • Zamknięty Temat jest zamknięty
5128 odpowiedzi w tym temacie

#3551 McEnter

McEnter
  • 235 postów
  • SkądWasewo, Poland

Napisano 22 marca 2009 - 10:24

Dołączona grafika

Bez szaleństw ;)

#3552 mikro123

mikro123
  • 1 274 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 11:24

PTRQ jak nazywa się ten tryb cichy itp na lockscreenie bo z tego co podałeś to w cydii nie ma -.-

#3553 Aryman

Aryman
  • 678 postów
  • SkądEdinburgh

Napisano 22 marca 2009 - 11:35

A tapetkę można? ;)


RapidShare: Easy Filehosting

tu jest wszystko, tapete sam znajdziesz :P

#3554 Dawid Szypulski

Dawid Szypulski

  • 5 535 postów
  • Płeć:
  • SkądBiałystok

Napisano 22 marca 2009 - 11:40

@ptrqu Bardzo ładny theme, no i dobra muza w odtwarzaczu. Jak zrobiłeś wyświetlanie tekstu utworu? Ja wrzucam wszystko do iTunes do zakładki słowa, synchronizuję i nic...

#3555 ptrq

ptrq
  • 812 postów
  • SkądOpole

Napisano 22 marca 2009 - 11:56

@dawxxx666
wlasni przez itunes do utworow powrzucalem. tylkopamieaj, ze jezeli wczesnej wrzuciles utwor bez napisow do ipoda, to musisz go najpierw stamtad wykasowac..

@mikro123
jezeli chodzilo ci o lockscreen, to znajdziesz go tutaj.

MacThemes Forum / lock screen widget - HomeScreen2.0 other versions included Nov.17 '08


A ja dalej prosze o "calendar.js", w ktorym dzien tygodnia zaczynalby sie od poniedzialku. Swoja droga zapoda ktos jakas ciekawa grafike pod LS?

#3556 phela133

phela133
  • 72 postów
  • SkądWałcz

Napisano 22 marca 2009 - 12:26

Mi ten HomeScreen coś nie chce działać wrzucam wszystko co trzeba i nie działa :(

#3557 mikro123

mikro123
  • 1 274 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 12:54

a mi działa ale razem z DoubleTopBar słabo trochę co prawda potem poporbuję bo teraz tylko wrzuciłem i zobaczyłem jak działa

#3558 ptrq

ptrq
  • 812 postów
  • SkądOpole

Napisano 22 marca 2009 - 12:57

Dziala, dziala, tylko duzo z nim zabawy, zeby go pod siebie dostosowac. ; )

#3559 mikro123

mikro123
  • 1 274 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 13:10

Za dużo... :D Ja i tak tyle mam plików pozminianych że nie potrafiłbym wrócić do standardowego tematu ;D

#3560 borsuk1

borsuk1
  • 1 450 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 13:12

ptrq a nie możesz w pliku pogrzebać? Jak coś to mogę pomóc

#3561 Qbik

Qbik
  • 891 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 13:19

hmm poproszę o usunięcie tego posta

#3562 mikro123

mikro123
  • 1 274 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 13:27

Borsuk..daj tapetkę -.-

#3563 borsuk1

borsuk1
  • 1 450 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 15:07

Łap ;) Daję nową i starą bez moich przeróbek:

1. Wallpaper 1
2. Wallpaper 2

pozdr0

#3564 malybtc

malybtc
  • 61 postów

Napisano 22 marca 2009 - 15:12

Dołączona grafika

#3565 ptrq

ptrq
  • 812 postów
  • SkądOpole

Napisano 22 marca 2009 - 15:27

@borsuk1

Tutaj jest caly calendar.js
function buildCal(m, y, cM, cH, cDW, cD){
	var mn=['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec','Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'];
	var dim=[31,0,31,30,31,30,31,31,30,31,30,31];

	var oD = new Date(y, m-1, 1); //DD replaced line to fix date bug when current day is 31st
	oD.od=oD.getDay()+1; //DD replaced line to fix date bug when current day is 31st

	var todaydate=new Date() //DD added
	var scanfortoday=(y==todaydate.getFullYear() && m==todaydate.getMonth()+1)? todaydate.getDate() : 0 //DD added

	dim[1]=(((oD.getFullYear()%100!=0)&&(oD.getFullYear()%4==0))||(oD.getFullYear()%400==0))?29:28;
	var t='<table cols="7" width="50%" class="'+cM+'" cellpadding="0" border="0" cellspacing="0"><tr align="center">';
	// t+='<td colspan="7" align="center" class="'+cH+'">'+mn[m-1]+' '+y+'</td></tr><tr align="center">';
	for(s=0;s<7;s++)t+='<td class="'+cDW+'">'+"[b]NPWSCPS[/b]".substr(s,1)+'</td>';
	t+='</tr><tr align="center">';
	for(i=1;i<=42;i++) {
	var x=((i-oD.od>=0)&&(i-oD.od<dim[m-1]))? i-oD.od+1 : ' ';
	if (x==scanfortoday) //DD added
	x='<span id="today">'+x+'</span>' //DD added
	t+='<td class="'+cD+'">'+x+'</td>';
	if(((i)%7==0)&&(i<36))t+='</tr><tr align="center">';
	}
	return t+='</tr></table>';
}

Zalezy mi na tym, zeby tydzien zaczynal sie od poniedzialku.

Poza calendar.js, zalezaloby mi na tym, by przerobic Wallpaper.js tak, by podczas dwoch nowych smsow pojawial sie komunikat "2-4 nowe wiadomosci sms", a >4 "5-.. nowych wiadomosci sms". Qbik w 1/3 tego tematu pytal o takie cos, ale zrobil to na podstawie warunkow, dodatkowo wrzuconych do LockBackground.html, a mi to nieodpowiada.. ; ) Ponizej code z Wallpaper.js.
var postal;
var demoMode = false;
var enabled;

var xmlReq = new XMLHttpRequest();
var launchReq = new XMLHttpRequest();

if (location.href.indexOf("Wallpaper")  == -1){
	stylesheet = stylesheetLock;
	iconSet = iconSetLock;
	iconExt = iconExtLock;
	enabled = enableLockScreen;
}else{
	stylesheet = stylesheetWall;
	iconSet = iconSetWall;
	iconExt = iconExtWall;
	enabled = enableWallpaper;
}

if(enabled == true){
if(iconSet == null || iconSet == 'null' || iconSet == ""){
	var iconSet = stylesheet;
}

var headID = document.getElementsByTagName("head")[0];         
var styleNode = document.createElement('link');
styleNode.type = 'text/css';
styleNode.rel = 'stylesheet';
styleNode.href = 'Stylesheets/'+stylesheet+'.css';
headID.appendChild(styleNode);

var scriptNode = document.createElement('script');
scriptNode.type = 'text/javascript';
scriptNode.src = 'Sources/'+source+'.js';
headID.appendChild(scriptNode);
}

function onLoad(){
	
	update();
	
	if (enabled == true){ 
	if (demoMode == true){
		document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+"cloudy1"+iconExt;
		document.getElementById("city").innerText="Somewhere";
		document.getElementById("desc").innerText="Partly Cloudy";
		document.getElementById("temp").innerText="100ş";		
		document.getElementById("forecast").innerText="Sun";	
	}else{ 
	document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+"dunno"+iconExt;
	validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)
	}
	}else{
		document.getElementsByTagName("body")[0].innerText='';
	}
}

function convertTemp(num)
{
	if (isCelsius == true)
		return Math.round ((num - 32) * 5 / 9);
	else
		return num;
}

function setPostal(obj){
	
	if (obj.error == false){
		if(obj.cities.length > 0){
			postal = escape(obj.cities[0].zip).replace(/^%u/g, "%")
			document.getElementById("WeatherContainer").className = "";	
			weatherRefresherTemp();
		}else{
			document.getElementById("city").innerText="Not Found";
			document.getElementById("WeatherContainer").className = "errorLocaleNotFound";	
		}
	}else{
		document.getElementById("city").innerText=obj.errorString;
		document.getElementById("WeatherContainer").className = "errorLocaleValidate";	
		setTimeout('validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal)', Math.round(1000*60*5));
	}
}

function dealWithWeather(obj){

	if (obj.error == false){
		document.getElementById("city").innerText=obj.city;
		document.getElementById("desc").innerText=obj.description.toLowerCase();
		
		if(useRealFeel == true){
			tempValue = convertTemp(obj.realFeel);
		}else{
			tempValue = convertTemp(obj.temp)
		}
		document.getElementById("temp").innerText=tempValue+"Âş";
		document.getElementById("weatherIcon").src="Icon Sets/"+iconSet+"/"+MiniIcons[obj.icon]+iconExt;
		
		/*ProductRed*/
		lastResults = new Array;
		lastResults[0] = {daycode:obj.daycode, icon:obj.icon, hi:obj.hi, lo:obj.lo, now:obj.temp};
		var c = obj.forecast.length;
		if (c > 6) c = 6; // just to be safe
		var i = 0;
		while (i < c)
		{
			var forecast = obj.forecast[i];

			document.getElementById('day'+i).innerText = forecast.daycode;
			document.getElementById('hi'+i).innerText = convertTemp(forecast.hi)+"Âş";;
			document.getElementById('low'+i).innerText = convertTemp(forecast.lo)+"Âş";;

			document.getElementById('wIcon'+i).src="Icon Sets/"+iconSet+"/"+MiniIcons[forecast.icon]+iconExt;
			
			lastResults[i+1] = {daycode:forecast.daycode, icon:forecast.icon, hi:forecast.hi, lo:forecast.lo};

			i = i + 1;
		}
		/*ProductRed*/

		document.getElementById("WeatherContainer").className = "";	

		
	}else{
		//Could be down to any number of things, which is unhelpful...
		document.getElementById("WeatherContainer").className = "errorWeatherDataFetch";	
	}
	
	
}

function weatherRefresherTemp(){ //I'm a bastard ugly hack. Hate me.
	fetchWeatherData(dealWithWeather,postal);
	setTimeout(weatherRefresherTemp, 60*1000*updateInterval);
}

function showElement(name)
{
    document.getElementById(name + "Icon").style.display = 'inline';

    if (xmlReq.responseXML.getElementsByTagName("MMS")[0].firstChild.nodeValue < "2") {
    document.getElementById("MMSNumber").innerHTML = "<img src='imgs/mms.png' />1 nowa wiadomość MMS";
    } else {            
    document.getElementById("MMSNumber").innerHTML = "<img src='imgs/mms.png' />" + xmlReq.responseXML.getElementsByTagName("MMS")[0].firstChild.nodeValue + " nowych wiadomości MMS";
    }
    
    if (xmlReq.responseXML.getElementsByTagName("SMS")[0].firstChild.nodeValue < "2") {
    document.getElementById("SMSNumber").innerHTML = "<img src='imgs/sms.png' />1 nowa wiadomość SMS";
    } else {            
    document.getElementById("SMSNumber").innerHTML = "<img src='imgs/sms.png' />" + xmlReq.responseXML.getElementsByTagName("SMS")[0].firstChild.nodeValue + " nowych wiadomości SMS";
    }
    
    if (xmlReq.responseXML.getElementsByTagName("Call")[0].firstChild.nodeValue < "2") {
    document.getElementById("CallNumber").innerHTML = "<img src='imgs/call.png' />1 nieodebrane połączenie";
    } else {            
    document.getElementById("CallNumber").innerHTML = "<img src='imgs/call.png' />" + xmlReq.responseXML.getElementsByTagName("Call")[0].firstChild.nodeValue + " nieodebranych połączeń";
    }
    
    if (xmlReq.responseXML.getElementsByTagName("Mail")[0].firstChild.nodeValue < "2") {
    document.getElementById("MailNumber").innerHTML = "<img src='imgs/mail.png' />1 nowy e-mail";
    } else {            
    document.getElementById("MailNumber").innerHTML = "<img src='imgs/mail.png' />" + xmlReq.responseXML.getElementsByTagName("Mail")[0].firstChild.nodeValue + " nowych e-maili";
    }

	if (xmlReq.responseXML.getElementsByTagName("IM")[0].firstChild.nodeValue < "2") {
    document.getElementById("IMNumber").innerHTML = "<img src='imgs/im.png' />1 nowa wiadomość";
    } else {            
    document.getElementById("IMNumber").innerHTML = "<img src='imgs/im.png' />" + xmlReq.responseXML.getElementsByTagName("IM")[0].firstChild.nodeValue + " nowych wiadomości";
    }
}

function hideElement(name)
{
    document.getElementById(name + "Icon").style.display = 'none'; 
}

function updateIcon(name) 
{
var show = 0;
    try
    {
    if (xmlReq.responseXML.getElementsByTagName(name)[0].firstChild.nodeValue != "0")
	    show = 1;
    }
    catch(error)
    {
}

if (show)
	showElement(name);
    else
        hideElement(name);
}

function processXml() 
{
    if (xmlReq.readyState != 4) 
        return;

    if (xmlReq.status != 200 && xmlReq.status != 0) 
        return;

    updateIcon("Calendar");
    updateIcon("Call");
    updateIcon("RSS");	    
    updateIcon("MMS");	    
    updateIcon("SMS");	    
    updateIcon("IM");	    
    updateIcon("Mail");
	updateIcon("Silent");
}

function update()
{

    xmlReq.onreadystatechange = processXml;
xmlReq.timeout = 2000;
    xmlReq.open("GET", "http://127.0.0.1:16322/status", true);
    xmlReq.send();

    setTimeout(update, 3000);
}

function iconClick(name)
{
}

Bede wdzieczny.

#3566 Qbik

Qbik
  • 891 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 16:06

a nie możesz dopisać mojego rozwiązania do wallpaper.js ?

#3567 fanuel

fanuel
  • 14 postów
  • SkądPraha, CZ

Napisano 22 marca 2009 - 17:15

@Borsuk1: te ikonki są świetne, co to jest?

#3568 ptrq

ptrq
  • 812 postów
  • SkądOpole

Napisano 22 marca 2009 - 18:04

a nie możesz dopisać mojego rozwiązania do wallpaper.js ?


A moze ty moglbys to zrobic?: ) Nie jestem w tym za dobry..

#3569 Qbik

Qbik
  • 891 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 18:18

A moze ty moglbys to zrobic?: ) Nie jestem w tym za dobry..



podeslij mi na PW cały theme to wieczorem sprawdzę

#3570 borsuk1

borsuk1
  • 1 450 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 18:25

@ptrq to na pewno cały plik? Bo powinna być jeszcze linijka z czyms tego typu: "Niedziela, ..., Środa, Poniedzialek" itd. Wtedy zmieniasz nedziele na pon, a pon na nedzjele i ew. cyfry kolejnksci i powinno dziac. Co do wallpaper.js nie mam pewnosci jak tk zrobic @fanuel częsciowo moje, czesciowo deep i cos jeszcze. Nadal nad tym stylem pracuje.

#3571 Bekas

Bekas
  • 548 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 18:41

Dołączona grafika

#3572 mikro123

mikro123
  • 1 274 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 21:26

@PTRQ
KLIK
TUTAJ masz kalendarz zaczynający się od poniedziałku

Mógłby ktoś dać repo dla Iminin do CYdii!!
bo nie mogę znaleźć

#3573 Qbik

Qbik
  • 891 postów
  • SkądWarszawa

Napisano 22 marca 2009 - 22:22

spr w repo i-apps.pl by mls
CYDIA.I-APPS.PL - Pierwsze polskie repozytorium Cydia Installer.

#3574 iJedrula

iJedrula
  • 54 postów
  • SkądDesigned by Apple in California. Assembled in China

Napisano 23 marca 2009 - 17:15

O to mój theme:)

#3575 iJedrula

iJedrula
  • 54 postów
  • SkądDesigned by Apple in California. Assembled in China

Napisano 23 marca 2009 - 17:18

Mam pytanko... Czy ktoś mógłby wysłać oryginalne ikony iphone + cycoder, był bym bardzo wdzięczny... P.S proszę o potwierdzenie, a potem myślę wiadomość z mailem Z góry dzięki:)




Użytkownicy przeglądający ten temat: 3

0 użytkowników, 3 gości, 0 anonimowych