[quote=dani55]aku pernah liat yg lebih simple, tapi aku dah lupa[/quote]
yg begini
[quote]var x = document.createElement("link");
x.type = "text/css";
x.rel = "stylesheet";
x.href = "[u]URL CSS HERE[/u]";
x.media = "screen, print";
document.getElementById("navBg").appendChild(x);[/quote]
apa yg begini
[quote]var css="[u]URL CSS HERE[/u]";
try{document.createStyleSheet(css);}
catch(e){document.write("<link rel='stylesheet' type='text/css' media='screen, print' href='"+css+"'>");}[/quote]
[quote=arashiuzumaki15]btw gimana cara ningkatin reputation?[/quote]
pm ajah momod bilang minta nambah repu gtu
..
ntar juga d tegur
Last edited by Co_don SanAdH (2008-07-19 05:45:15)