2008-01-12 07:04:14

coklat
» FTalker
FTalk Level: zero
297
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=spiderbonyok][quote=coklat]gmn caranya buat themes? jd bisa ganti2 layout dalam satu friendster account.. =) trus, kalo mo ngedit2 ntuh gmn yah caranya? yg kalo uda di jadiin .swf... keknya gw sala edit de.. pusinkk :doubt:[/quote] ane cuba bantu yah :redface: sebelumnya buat 2 css script yang berbeda biar pas diganti berubah gt :D lalu masukkan script dibawah ini di javascript yang dah diganti .txt digabungin aja ma yg lain terserah mau diletakkan di paling atas atau bawah thx to bro andry [quote]/***** Theme Switchzer *****/ var defaultCSS ="[b]URL CSS pertama[/b]"; var themeCSS1 ="[b]URL CSS kedua[/b]"; /* load for Firefox, Opera + Safari */ try { document.write("<link rel='stylesheet' href='"+defaultCSS+"' title='defaultstyle'>"); }catch(e){} /* switch layout */ try { document.write("<link rel='stylesheet' href='"+themeCSS1+"' title='1'>"); }catch(e){} /* load for IE */ try { document.write("<link rel='stylesheet' href='"+defaultCSS+"' title='defaultcss'>"); }catch(e){} function ActivateCSS(title){ var i, link; for (i = 0;(link = document.getElementsByTagName("link")[i]);i++){ if (link.getAttribute("rel") != - 1 && link.getAttribute("title")){ link.disabled = true; if (link.getAttribute("title") == title) link.disabled = false; } } } var theme; try { theme = document.createElement("div"); }catch (e) { theme = document.createElement("<div>"); } theme.setAttribute("style","text-align:center;padding-top:5px"); theme.innerHTML = "<div align='center' id='themeswitch'>"+ "<h2><b><font face='Verdana' size='4' color='#f1f1f1'>[b]My Layouts[/b]</font><b><h2>"+ "<input type='button' class='themeButton' value='[b]Nama pada tombol CSS kedua[/b]' onClick=\"ActivateCSS('1'); return false;\">"+ " <input type='button' class='themeButton' value='[b]nama pada tombol CSS pertama[/b]' onClick=\"ActivateCSS('defaultcss'); return false;\"></div>"; document.getElementById("navigation").parentNode.appendChild(theme); try{ document.createStyleSheet("[b]URL CSS ekstentionnya bila perlu[/b]"); } catch(e){ document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='[b]URL CSS ekstentionnya bila perlu[/b]'>"); }[/quote] bagian yang di hitamkan diisi sesuai dengan instruksi yah :D selamat mencuba thx ;) :thumbsup:[/quote] bisa lebih jelas gag? aku pake yg dari css, trus dijadiin .js, trus di ganti namanya jadi .swf... jlasin lebih detail ya...

Board footer

© 2024 F Talk

Current time is 00:17

[ 12 queries - 0.187 second ]
Privacy Policy