[b]Kap_j4ck[/b] ni sob [quote]//This is a shakiro214 production
//In cooperation with friendsterTalk forum
buffy = new Array();
buffy[0]="[b]CSS_URL_1[/b]";
buffy[1]="[b]CSS_URL_2[/b]";
angel=Math.floor(Math.random() * buffy.length);
try{
document.createStyleSheet(buffy[angel]);
}
catch(e){
var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href=buffy[angel];
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
}[/quote]
kalo ini beda css d FF AMA IE [quote]//This is a shakiro214 production
//In cooperation with friendsterTalk forum
var css = document.createElement("link");
var browser=navigator.appName;
var mic="Microsoft Internet Explorer";
if (browser==mic){
buffy = new Array();
buffy[0]="[b]IE_CSS_URL[/b]";
buffy[1]="[b]IE_CSS_URL[/b]";
angel=Math.floor(Math.random() * buffy.length);
try{
document.createStyleSheet(buffy[angel]);
}
catch(e){
css.type = "text/css";
css.rel = "stylesheet";
css.href=buffy[angel];
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
}
}
else
{
willow = new Array();
willow[0]="[b]FF_CSS_URL[/b]";
willow[1]="[b]FF_CSS_URL[/b]";
spike=Math.floor(Math.random() * willow.length);
try{
document.createStyleSheet(willow[spike]);
}
catch(e){
css.type = "text/css";
css.rel = "stylesheet";
css.href=willow[spike];
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);
}
}[/quote]
taro d bagian A