[quote=MaLaiKat HaPpY]Dah coba ngikutin Cara Ngebuat file css ke Js mas...
ampe dah masuk keripway...
ni dya dya hasil nya mas,...
http://h1.ripway.com/pepekko/deko.txt
tolong yah mas diliat...
[/quote]
// CSS INJECTION
function injectcss() {
if(window.cssinjected == undefined) {
cssinjected = 1;
var css = document.createElement("link");
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","[b]
http://h1.ripway.com/pepekko/ravly.txt[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
ntu yg w tebalin coba extensionnya d ganti ama css,,,
contoh
yg tdnya ravli.txt qm ganti jd ravli.css
qy...
coba dulu sprti itu iah.........
Last edited by ekhy_07 (2008-06-03 00:43:46)