Click the SELECT CODE button for number 1 on their website. Press CTRL C to copy the script. Having the editor/Notepad screen open, press CTRL V to paste the code.
Now edit the code (change colors, columns and rows) based on the instructions they offer in step 4. The items shown in bolded BLUE color in their step 4 can be changed by you to suit your site.
Assign your column headers, and any instructions you want to offer.
Then set up your rows. Each row is given its own number and each column data is separated with a comma.
This is the format: tableData[3]=new dataArray('column 1 info','column 2 info','column 3 info','column 4 info');
tableData[0]=new dataArray('SimplytheBest.net','http://simplythebest.net','email@simplythebest.net','Simply the Best Scripts');
tableData[1]=new dataArray('PlanMagic.com','http://planmagic.com','mail@planmagic.com','Business planning software');
The first line of the code you pasted looks like this:
<script language="JavaScript" src="jscript117/sortable_table.js"></script>
You must change the code for CSB or Trellix. Make it look like this instead:
<script language="JavaScript" src="^GEMDIR/sortable_table.js"></script>
(Their instruction says this part of the code must go into the HEAD of the HTML code. Since neither CSB nor Trellix will allow you to do that, the table above shows that you can place this code someplace else and have it work just fine. )
|