Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <meta name="Autor" content="2C0_ticri" >
- <meta name="Descriptipon" content="C181">
- <title>2C0_ticri C181</title>
- </head>
- <SCRIPT LANGUAGE= "JavaScript">
- <!--
- var pgix=1
- var timerID=null
- var timerRunning=true
- pgs=new fncreate(pgmx);
- var pgmx=10
- var tmou=5000
- pgs[1]="v01"
- pgs[2]="v02"
- pgs[3]="v03"
- pgs[4]="v04"
- pgs[5]="v05"
- pgs[6]="v06"
- pgs[7]="v07"
- pgs[8]="v08"
- pgs[9]="v09"
- pgs[10]="v10"
- function fncreate(size)
- {
- this.length=size
- var i;
- for(i=1;i<=size;i++)
- {
- this[i]=""
- }
- }
- function fnprev()
- {
- pgix-=1
- fndis();
- }
- function fnnext() {
- pgix+=1
- fndis();
- }
- function fndis()
- {
- if(pgix<1)
- pgix=pgmx;
- if(pgmx<pgix)
- pgix=1;
- var href;
- var hrf1;
- hrf1=pgs[pgix]
- href="sub/"+hrf1+".html"
- document.fmclk.ttdis1.value=pgix
- document.fmclk.ttdis2.value=href
- top.frames[0].location.href=href
- }
- </SCRIPT>
- <SCRIPT>
- function fnon()
- {
- fnsrtclk()
- }
- function fnof()
- {
- fnstpclk()
- fnsetlow()
- }
- function fnsetlow()
- {
- var href;
- href="low.html"
- top.frames[0].location.href=href
- }
- function fnstpclk()
- {
- if(timerRunning)
- clearTimeout(timerID)
- timerRunning= false
- }
- function fnsrtclk()
- {
- fnstpclk()
- fnshwtim()
- }
- function fnshwtim() {
- /*
- var now = new Date()
- var hours = now.getHours()
- var mins = now.getMinutes()
- var secs = now.getSeconds()
- var timVal = ""
- timVal+= hours
- //timVal+= ((mins<10)
- //timVal+= ((secs<10)
- document.fmclk.ttfac.value= timVal */
- pgix+=1
- fndis();
- timerID= setTimeout("fnon()",tmou)
- timerRunning=true
- }
- //-->
- </SCRIPT>
- <body bgcolor="blue">
- <font color="red" size="+5">
- <strong>
- upr
- </strong>
- <form name="fmclk" onSubmit="fnsubmint()">
- <table border="1">
- <tr>
- <td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td>
- </tr>
- <tr>
- <td><input TYPE="button" VALUE="«" NAME="btprew" onClick="fnprev()"></td>
- <td><input TYPE="button" VALUE="»" NAME="btnext" onClick="fnnext()"></td>
- <td><input TYPE="text" VALUE="txt1" NAME="ttdis1" ID="ttdis1" SIZE=9 > </td>
- <td><input TYPE="text" VALUE="txt2" NAME="ttdis2" ID="ttdis2" SIZE=9 > </td>
- <td><input TYPE="button" VALUE="on" NAME="bton" onClick="fnon()"></td>
- <td><input TYPE="button" VALUE="off" NAME="btof" onClick="fnof()" ></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement