Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    reverse order of table button

    Hi all,

    I created a web page with several tables in a wysiwyg web page software and now am having trouble figuring out how to write a script which will do the following.

    Copy data from a table and paste it to another table in reverse order upon clicking a button. Then submit all the data in the tables to a marquee on another page upon a click of a button.

    I have attached the html code for the page and any help on solving this matter will be greatly appreciated.

    Thanks Julio
    <HTML>

    <HEAD>

    </HEAD>
    <FORM NAME=LayoutForm METHOD=POST ACTION="" ENCTYPE="text/plain">
    <DIV style="overflow:hidden; position:absolute; left:9px; top:50px; width:123px; height:235px; background-color:#FFFFFF; z-index:1" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 1</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Outlaws</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Night Mare</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Muff Munchers</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>I SUC</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Kiss My ***</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Mash Unit</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Ottertails</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>OBGYNO</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Big Evil</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Nick's Army</B></FONT></TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:10px; top:300px; width:138px; height:30px; z-index:2" align="left" align="top">
    <INPUT type="button" name="" value="Reverse Order">
    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:299px; top:300px; width:138px; height:30px; z-index:3" align="left" align="top">
    <INPUT type="button" name="" value="Reverse Order">
    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:582px; top:300px; width:138px; height:30px; z-index:4" align="left" align="top">
    <INPUT type="button" name="" value="Reverse Order">
    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:10px; top:590px; width:138px; height:30px; z-index:5" align="left" align="top">
    <INPUT type="button" name="" value="Reverse Order">
    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:302px; top:600px; width:170px; height:30px; z-index:7" align="left" align="top">
    <INPUT type="submit" name="" value="Submit to Marquee">
    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:147px; top:50px; width:123px; height:235px; background-color:#FFFFFF; z-index:1" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR>
    <TR><TH>ROUND 2</TH></TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:300px; top:51px; width:123px; height:235px; background-color:#FFFFFF; z-index:9" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 3</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Outlaws</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Night Mare</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Muff Munchers</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>I SUC</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Kiss My ***</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Mash Unit</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Ottertails</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>OBGYNO</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Big Evil</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Nick's Army</B></FONT></TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:433px; top:51px; width:123px; height:235px; background-color:#FFFFFF; z-index:10" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 4</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=18>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:721px; top:50px; width:123px; height:235px; background-color:#FFFFFF; z-index:11" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 6</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:587px; top:51px; width:123px; height:235px; background-color:#FFFFFF; z-index:12" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 5</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Outlaws</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Night Mare</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Muff Munchers</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>I SUC</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Kiss My ***</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Mash Unit</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Ottertails</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>OBGYNO</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Big Evil</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Nick's Army</B></FONT></TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:9px; top:348px; width:123px; height:235px; background-color:#FFFFFF; z-index:13" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 7</TR></TH>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Outlaws</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Night Mare</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Muff Munchers</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>I SUC</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Kiss My ***</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Mash Unit</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Ottertails</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>OBGYNO</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Big Evil</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Nick's Army</B></FONT></TD>
    </TR>
    </TABLE>

    </DIV>
    <DIV style="overflow:hidden; position:absolute; left:143px; top:347px; width:123px; height:235px; background-color:#FFFFFF; z-index:14" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <TR><TH>ROUND 8</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20>&nbsp;</TD>
    </TR>
    </TABLE>

    </FORM>
    </HTML>

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,503
    Thanks
    3
    Thanked 500 Times in 487 Posts
    Code:
    <HTML>
    
    <HEAD>
    
    </HEAD>
    <FORM NAME=LayoutForm METHOD=POST ACTION="" ENCTYPE="text/plain">
    <DIV style="overflow:hidden; position:absolute; left:209px; top:50px; width:123px; height:235px; background-color:#FFFFFF; z-index:1" align="left" align="top">
    <TABLE WIDTH=100% HEIGHT=100% BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <tbody id="Round1" >
    <TR><TH>ROUND 1</TH></TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Outlaws</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Night Mare</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Muff Munchers</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>I SUC</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Kiss My ***</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Mash Unit</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Ottertails</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>OBGYNO</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Big Evil</B></FONT></TD>
    </TR>
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>Nick's Army</B></FONT></TD>
    </TR>
    </tbody>
    </TABLE>
    
    </DIV>
    
    <DIV style="overflow:hidden; position:absolute; left:210px; top:300px; width:138px; height:30px; z-index:2" align="left" align="top">
    <INPUT type="button" name="" value="Reverse Order" onclick="Reverse(this,'Round1','Round1R');">
    </DIV>
    
    <br>
    <br>
    <br><br><br><br><br><br><br><br><br>
    <TABLE WIDTH=150 HEIGHT=200 BORDER=1 CELLPADDING=0 CELLSPACING=1>
    <tbody id="Round1R" >
    <TR>
    <TD ALIGN=CENTER VALIGN=TOP WIDTH=114 HEIGHT=20><FONT style="FONT-SIZE:10pt" color="#000000" face="Microsoft Sans Serif"><B>REVERSE</B></FONT></TD>
    </TR>
    
    </tbody>
    </TABLE>
    
    </FORM>
    <script language="JavaScript" type="text/javascript">
    <!--
    var Obj,Cnt,T;
    
    function Reverse(obj,s,t){
     Obj=obj;
     if (Obj.ary){ return; }
     s=document.getElementById(s);
     T=document.getElementById(t);
     obj.ary=new Array();
     trs=s.getElementsByTagName('TR');
     for (i=0;i<trs.length;i++){
      obj.ary[i]=trs[i].cloneNode(true);
     }
     Cnt=Obj.ary.length-1;
     setTimeout('ReverseDo()',50);
    }
    
    function ReverseDo(){
     T.appendChild(Obj.ary[Cnt]);
     Cnt--;
     if (Cnt>0){setTimeout('ReverseDo()',10); }
    }
    
    //-->
    </script>
    
    
    </HTML>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •