|
Blue Forest http://www.lslnet.com at 8:28 on August 25, 2006
Shut down automatically! ! !
I inserted on the web page form to a level and then up a jpg picture, I want him to shut down automatically after 10 seconds of the show, ask how to write? Please advise. Thank you |
[html]
"!DOCTYPE HTML PUBLIC" -//W3C//DTD HTML 4.01 Transitional//EN "
"Http://www.w3.org/TR/html4/loose.dtd" "
"Html>
"Head are
"Meta http-equiv=" Content-Type "content=" text/html; charset=utf-8 ""
"Title>Untitled Document</title>
"Script language=" JavaScript "type=" text/JavaScript ""
<!--
Function MM_reloadPage (init) (//reloads resized the window if Nav4
If (init==true) with (navigator) {if ((appName== "Netscape") & (parseInt (appVersion) ==4)) (
Document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
Else if (innerWidth!=document.MM_pgW | | innerHeight!=document.MM_pgH) location.reload ();
}
MM_reloadPage (true);
//-->
"/script>
"Style type=" text/css ""
<!--
. Style1 --
Font-family : "Arial Black";
Font-size : 36px;
Color : #FF0000;
}
-->
"/style>
"/head>
"Body onload=" beginShow (), ""
"Assume filled="f"" Layer1 "Historic Significance of the Transitional Budget" position:absolute; left:183px; top:111px; width:468px; height:124px; z-index:1 "and" the various factions of the party yesterday signed a "http : //gg.blueidea.com/2005/olay/olay.gif "" </div>
"Assume filled="f"" Layer2 "formal" style1 "Historic Significance of the Transitional Budget" position:absolute; left:340px; top:53px; width:190px; height:35px; z-index : 2, "" 10</div>
"/body>
"/html>
"Script language=" Javascript "type=" text/javascript ""
Var timeOver=10;
BeginShow function () (
SetInterval (function () (
If (timeOver>0) (
TimeOver--;
Layer2.innerHTML=timeOver;
}else{
Opener=null;
Window.close ();
}
},1000)
}
"/script>
[/html] |
[html]
"Input name=clock>
"Assume id=warran>
"<img Src=></div>
"SCRIPT LANGUAGE=" JavaScript ""
Var xx=0;var o=true;
Aclock function () (
If (o) (
Xx++;
Clock.value=xx;
SetTimeout ( "aclock ()", 1000);
If (xx==10) (
Warran.style.display= 'none' ;o=false;}}}
"/SCRIPT>
"Onload=aclock body ()"
[/html] |
Warran very grateful for the program, I would like to thank the support XLING |
There is a small problem, we need the input method? Warran, when procedures are completed, we can see how not to let the clock counting frame? |
[html]
"Assume id=warran>
"<img Src=></div>
"SCRIPT LANGUAGE=" JavaScript ""
Var xx=0;var o=true;
Aclock function () (
If (o) (
Xx++;
SetTimeout ( "aclock ()", 1000);
If (xx==10) (
Warran.style.display= 'none' ;o=false;}}}
"/SCRIPT>
"Onload=aclock body ()"
[/html]
[html]
"!DOCTYPE HTML PUBLIC" -//W3C//DTD HTML 4.01 Transitional//EN "
"Http://www.w3.org/TR/html4/loose.dtd" "
"Html>
"Head are
"Meta http-equiv=" Content-Type "content=" text/html; charset=utf-8 ""
"Title>Untitled Document</title>
"Script language=" JavaScript "type=" text/JavaScript ""
<!--
Function MM_reloadPage (init) (//reloads resized the window if Nav4
If (init==true) with (navigator) {if ((appName== "Netscape") & (parseInt (appVersion) ==4)) (
Document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
Else if (innerWidth!=document.MM_pgW | | innerHeight!=document.MM_pgH) location.reload ();
}
MM_reloadPage (true);
//-->
"/script>
"Style type=" text/css ""
<!--
. Style1 --
Font-family : "Arial Black";
Font-size : 36px;
Color : #FF0000;
}
-->
"/style>
"/head>
"Body onload=" beginShow (), ""
"Assume filled="f"" Layer1 "Historic Significance of the Transitional Budget" position:absolute; left:183px; top:111px; width:468px; height:124px; z-index:1 "and" the various factions of the party yesterday signed a "http : //gg.blueidea.com/2005/olay/olay.gif "" </div>
"Assume filled="f"" Layer2 "formal" style1 "Historic Significance of the Transitional Budget" position:absolute; left:340px; top:53px; width:190px; height:35px; z-index : 2, "" 10</div>
"/body>
"/html>
"Script language=" Javascript "type=" text/javascript ""
Var timeOver=10;
BeginShow function () (
SetInterval (function () (
If (timeOver>0) (
TimeOver--;
Layer2.innerHTML=timeOver;
}else{
//opener=null;
//window.close ();
Layer1.style.display= "none";
Layer2.style.display= "none";
}
},1000)
}
"/script>
[/html] |
Halo that, I have to see how it is written 1<input name="_ftn1" "layer4" value= "diasable" "
2<input name="_ftn1" "layer4" border "0" "
Hehe ~
VLIng Thank you! ! !
Your first 2 methods I tried, through ~ Thank you! |
Obviously do not have to use the "input> also not allow reporters a few frames can be achieved
Learning things can not just copy the source of incorrect!
Now combine the two
[html]
"Assume filled="f"" Layer2 "Historic Significance of the Transitional Budget" color:#ff0000; "formal" style1 "" 0</div>
"Assume id=warran>
"<img Src=></div>
"SCRIPT LANGUAGE=" JavaScript ""
Var xx=0;var o=true;
Aclock function () (
If (o) (
Xx++;
Layer2.innerHTML=xx;
SetTimeout ( "aclock ()", 1000);
If (xx==10) (
Warran.style.display= 'none' ;o=false;
Layer2.style.display= 'none' ;o=false;
}}}
"/SCRIPT>
"Onload=aclock body ()"
[/html] |
On, the hero [color=#ff0000]x[/color]ling eyes :
This question is very simple.
Style.display you will look up. |
Oh receive a 呵~~ |
|