OK sir!!!! last question...
Can i use this code sir???
[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","CSS URL");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();[/quote]
instead of this one:
[quote]var css = document.createElement("link");
css.type = "text/css";
css.rel = "stylesheet";
css.href = "CSS URL";
css.media = "screen, print";
document.getElementsByTagName("head")[0].appendChild(css);[/quote]