2007-10-04 13:17:29

strigh.plus
» n00b
FTalk Level: zero
99
0
1969-12-31

Re: nah.. d snii temen2 skalian bisa nanya mengenai problem2 FS.. [jangan problem cinta.. itu mah lain. . :P hwehwehwehwe].. ya? byr ga ad SPAMMER d section Indo..hewhehwe.. :eh: peace and love,.. :

[quote=KaNaLiTnUk][quote=Yαηζτυiδ][b]bro stright_plus[/b] inbox kamu full .. aq ga bs kirim [b]pm[/b] aq posting disini aja ya replaynya :D :D ini codenya bro [quote]function themechange1() { document.getElementById("ephekai").href="[b] URL layout 1[/b]" } function themechange2() { document.getElementById("ephekai").href="[b]URL layout 2[/b]" } function themechange3() { document.getElementById("ephekai").href="[b]URL layout 3[/b]" } document.write('<link rel="stylesheet" type="text/css" id="ephekai" href="[b]URL Original layout [/b]">') ; var controlPanelButtons; try {controlPanelButtons = document.createElement("div");} catch (e){controlPanelButtons = document.createElement("<div>");} controlPanelButtons.setAttribute("style","text-decoration: none;"); controlPanelButtons.innerHTML = "<input type='button' onclick='themechange1()' value='THEMES 1'/><br><input type='button' onclick='themechange2()' value='THEMES 2' /><br><input type='button' onclick='themechange3()' value='THEMES 3' /><br>"; document.getElementById("controlPanelButtons").parentNode.appendChild(controlPanelB[/quote] untuk membuat themes switch seperti code diatas .. bro membutuhkan 3 buah layout plus satu buah layout original jati total layoutnya ada 4 :D :D :D tutorialnya ada di link ini bro (utn lbh jelasnya) :arrow: [url]http://theftalk.com/t6997-Theme-Switcher-%5BShort-Code%5D.html[/url] maaf krn inbox kamu full :thumbsup: :D =D[/quote] Atau bro Ipunk bisa pakai alternatif lain seperti yang bisa dilihat di link ini : 1. Tampilan CSS yg beda untuk IE dan Mozilla. Mungkin ada sebagian dari kalian yang profilenya terlihat bagus di IE tapi jelek di Mozilla atau sebaliknya :D :D :arrow: http://theftalk.com/t11644-seperate-files%3A.html 2. Versi advance dari nomor 1 yaitu merandomize tampilan CSS kalian yang artinya tampilan FS kita akan berubah setiap kali pengnjung datang atau ketika kita refresh page profile kita (baik itu tampilan di IE atau di Mozilla) :arrow: http://theftalk.com/t11964-Randomize.html Aku sendiri sudah memakai yang Randomize CSS dengan menggunakan 6 layout masing-masing 3 CSS utk IE dan 3 CSS utk Mozilla. Gak usah buat script JS baru kok :) Tinggal tambahkan saja script tersebut di atas tracker.js kalian dengan syarat hapus script CSS linker yang lama apabila script tersebut sudah ada di tracker.js kalian. Untuk contohnya ini tracker.js aku yang sekarang (Aku mengunakan WVM versi 2.1 Renalvir Tweak): [quote]//force login if(pageViewerID==""){ alert("PLEASE LOG IN YOUR FRIENDSTER ACCOUNT TO VIEW MY PROFILE THANK YOU :-)"); top.location.href="http://www.friendster.com/login.php?next=%2fuser.php%3fuid%3D"+pageOwnerID+"&cookie=1"; } //css injection [color=blue][b]var browser=navigator.appName; var mic="Microsoft Internet Explorer"; if (browser==mic){ buffy = new Array(); buffy[0]="http://h1.ripway.com/kanalitnuk/testing.css"; buffy[1]="http://h1.ripway.com/kanalitnuk/testinga.css"; buffy[2]="http://h1.ripway.com/kanalitnuk/testingb.css"; angel=Math.floor(Math.random() * buffy.length); try{ document.createStyleSheet(buffy[angel]); } catch(e){ document.write("<link rel='stylesheet' type='text/css' media='screen, print' href="+buffy[angel]+">"); } } else { willow = new Array(); willow[0]="http://h1.ripway.com/kanalitnuk/testong.css"; willow[1]="http://h1.ripway.com/kanalitnuk/testonga.css"; willow[2]="http://h1.ripway.com/kanalitnuk/testongb.css"; spike=Math.floor(Math.random() * willow.length); try{ document.createStyleSheet(willow[spike]); } catch(e){ document.write("<link rel='stylesheet' type='text/css' media='screen, print' href="+willow[spike]+">"); } }[/b][/color] function onProfileLoad() { //onload handler //(pattern) addBox("L-R","Header",htm,"cssid","sibling"); addBox("RIGHT",pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker",null); //other boxes goes here } /*TRACKER OBJECT*/ if (typeof TRACKER == "undefined") { TRACKER = {}; } TRACKER = { . . . . .dst[/quote] Yang tebal dan berwarna biru itu adalah script CSS randomizer aku utk tampilan di IE dan Mozilla :) :)[/quote] :thumbsup: terimakasih atas smua petunjuk nya bang kanal n bro yanz :thumbsup: mo di coba tp ntar nunggu update fs udah selesai :D

Board footer

© 2024 F Talk

Current time is 05:53

[ 13 queries - 0.179 second ]
Privacy Policy