| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
| 
			
			Hello all, Hoping I can get some help. I have used VB for a few years but haven't learned much about the scripting. Having some issues. I want to create a sortable table using an old javascript I've had. (sortTable.js). I've used this on regular webpages but can't get it to work on the CMS page. I do have the permissions set correctly to allow HTML. Here's an old sample page I downloaded a while back that uses the script. Code: <script>
//Sortable table script- Han Yu han@velocityhsi.com
//Script featured on http://www.javascriptkit.com
var domok=document.all||document.getElementById
if (domok)
document.write('<SCRIPT SRC="sortTable.js"><\/SCRIPT>')
</script>
</head>
<body onLoad='if (domok) initTable("table0")'>
<table ID="table0" border="1" width="600" cellspacing="0" cellpadding="0" >
  <tr><th>Name</th><th>Grade</th><th>Ranking</th></tr>
    <td width="33%">Mike Goodman</td>
    <td width="33%">84.3</td>
    <td width="34%">3</td>
  <tr>
    <td width="33%">Ginger Mah</td>
    <td width="33%">87.8</td>
    <td width="34%">2</td>
  </tr>
  <tr>
    <td width="33%">Joe Down</td>
    <td width="33%">69</td>
    <td width="34%">4</td>
  </tr>
  <tr>
    <td width="33%">Bruce Will</td>
    <td width="33%">97.5</td>
    <td width="34%">1</td>
  </tr>
</table>
</body>
</html>Thanks for looking. Appreciate any info you can give. | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |