[quote=aktor4]Om ada yg tau gk dimana saya bisa ketemukan
[Tutorial yg isa make 2 css ato lebih].... semacam choice gitu
thx bro perhatian nya...
tolong yha
[/quote]
ni bro codenya
[spoiler]var csslink1 ="[b]url css 1[/b]";
var csslink2 ="[b]url css 2[/b]";
var csslink3 ="[b]url css 3[/b]";
try {
document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='"+csslink1+"' title='1'>");
}catch(e){}
try {
document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='"+csslink2+"' title='2'>");
}catch(e){}
try {
document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='"+csslink3+"' title='3'>");
}catch(e){}
function ActivateCSS(title) {
var i, a, main;
for (i = 0;(a = document.getElementsByTagName("link")[i]);i++) {
if (a.getAttribute("rel").indexOf("style") != - 1 && a.getAttribute("title")) {
a.disabled = true;
if (a.getAttribute("title") == title) a.disabled = false;
}
}
}
var theme;
try {
theme = document.createElement("div");
}catch (e) {
theme = document.createElement("<div>");
}
theme.setAttribute("style","padding-top:5px");
theme.innerHTML = "<div align='center' id='themeswitch'>"+
"<h2><font face=\"Century gothic\" size=\"4\" color=\"black\"><b>[b]judul page nya[/b]<font></b><h2>"+
"<input style='font: 12px Trebuchet MS;' type='button' value='- [b]judul css 1[/b] -' onClick=\"ActivateCSS('1'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- [b]judul css 2[/b] -' onClick=\"ActivateCSS('2'); return false;\">"+
" <input style='font: 12px Trebuchet MS;' type='button' value='- [b]judul css 3[/b] -' onClick=\"ActivateCSS('3'); return false;\">"
document.getElementById("navigation").parentNode.appendChild(theme);[/spoiler]
ganti yg di [b]bold[/b]