[quote=alambaka]malem bro and sis.. tolong dong, ada ngak yang bisa kasi kode css inject ?. tengkyu sebelumnya[/quote]
ini..
[quote]//css injection
var css = document.createElement("link");
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]URL CSS MU[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();[/quote]
[i]edit :[/i]
3 versi berbeda...
di pilih ... di pilih..
obral....
Last edited by Andy_99990 (2008-06-07 13:34:34)