2008-02-22 05:07:42

alien17
» n00b
FTalk Level: zero
10
0
1969-12-31

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

//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","URL TO EXT CSS HERE"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); } }injectcss(); // for multiple js injection scriptFolder = 'url of your script folder here/' var scripts = new Array() scripts[0] = 'file1.js' scripts[1] = 'file2.js' scripts[2] = 'file3.js' for example i use this code do i need to rename file1.js to file3.js into .txt files or ill save them as .js??????

Board footer

© 2024 F Talk

Current time is 08:02

[ 12 queries - 0.016 second ]
Privacy Policy