remove this... since this one is included already in ur loader 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/drakula/CSS/EMO1.css");
css.setAttribute("media","screen, print");
document.getElementsByTagName("head")[0].appendChild(css);
}
}injectcss();
i tested ur codes here how it luks lyk...
http://profiles.friendster.com/64173833
ps:
if u wont gonna put mp3 better make ur loader codes like this:
[quote]document.createStyleSheet('http://h1.ripway.com/drakula/CSS/load.css')
welcome = "Hello! "+pageViewerFName+", Welcome to my Page "
function createLoader(){
myDiv=document.createElement('<div id=loaderContainer>')
myDiv.innerHTML=
"<div id=loader>"+welcome+"<br><a href='#' onclick='msg.start();'>Enter Here</a> <a href='javascript:window.close()'>Exit Here</a>"+
"<marquee id='msg' height=20 behavior=slide direction=down scrollamount=1 scrolldelay=50"+
"truespeed=true loop=1 onstart='stop()' onclick='start()' onfinish='bar.start()'>Page Loading... Please wait...</marquee>"+
"<br>"+
"<marquee id='bar' behavior=slide direction=right scrollamount=1 scrolldelay=10 "+
"truespeed=true loop=1 onstart='stop();' onfinish='PageLoad(); track1.stop(); track2.play()'>"+
"<div id=slider></div></marquee>"+
"</div>"+
[b]""+
"</div>"
document.body.appendChild(myDiv)
}[/b]
function PageLoad() {
container=document.getElementById('flo1t')
document.body.filters[0].Apply();{
loaderContainer.style.visibility="hidden";
container.style.visibility="visible";
loader.style.display="none"
document.body.style.overflow="auto"}
document.body.filters[0].Play();
document.createStyleSheet('http://h1.ripway.com/drakula/CSS/EMO1.css')
alert('welcome!!')
}
onload=createLoader;[/quote]
Last edited by switpotato (2008-03-13 22:01:36)