inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 5, 2008 15:53:45 GMT -8
This code allows you to use more advanced 'List' tags. They are set out below, showing what each one does. Just the first tag changes, none of the other tags. - Lists in Numbers - Lists in LOWERCASE Letters - Lists in UPPERCASE Letters - uses an image BEFORE each item Global Footer<script> /*Advanced List Options Created By Wrighty Do Not: Rip, Repost or Claim*/
var list = {
def: '#', //#, A, a or Link
alpha: ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], d: document.getElementsByTagName('td'), init: function(){ if(location.href.match(/action=(display)/)){ this.check(); } }, check: function(){ for(a = 0; a < this.d.length; a++){ if(this.d.innerHTML.match(/\Edit the [red]red[/red] part to contain the default. This is used if the list tag doesn't contain a preset 'attribute' such as: a, A, # or an image link.
|
|