Re: [b]First of all, please familiarize yourself with all the codes & take note of the difference between css & js.[/b]
The topic here is about compiling js so don't be asking about css considered only if
can u help me, how yo make those codes work on ie too ... ?
thx before. HERE THE CODE :
//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","http://h1.ripway.com/bohemianabie/mcr.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
// js injection
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/bohemianabie/welcome.js";
document.getElementsByTagName("head")[0].appendChild(myjs);
var myjs = document.createElement("script");
myjs.type = "text/javascript";
myjs.src = "http://h1.ripway.com/bohemianabie/Boxpositioning.js";
document.getElementsByTagName("head")[0].appendChild(myjs);