You are viewing a post by teguh0203. View all 59149 posts in [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-.
[b]venusvhie[/b] dek seharusnya ini format css
[quote]//css injection
var css;
try {
css = document.createElement("link");
}catch(e) {
css = document.createElement("<link>");
}
css.setAttribute("type","text/css");
css.setAttribute("rel","stylesheet");
css.setAttribute("href","[b]http://h1.ripway.com/venusvhi/itemputih.txt[/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);[/quote]
kamu rename n tambah ini d css nya biar gak keliatan scriptnya 
[quote].scrapbook{display:none;background:transparent;}[/quote]
contoh: [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/venusvhi/itemputih[u].css[/u][/b]");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();[/quote]
Last edited by teguh0203 (2008-06-13 11:42:10)