Gervase Markham wrote:

>> Is there anyway of adapting the script to work with Mozilla and IE?
> 
> Yes, but as far as I can see, the way it's written is so IE-specific
> that it basically means rewriting it.
> 
> The first thing you need to know is that only IE supports accessing
> elements using the "document.all.<foo>" syntax. The W3C way is to use
> document.GetElementById('foo'), which IE also supports. However, this
> requires the element to actually have an ID - this script is accessing
> them by their number in the document.all array. I don't know if Mozilla
> maintains a similar array.

the array is pretty much essential i think. because you have to find the 
next object on the page (or the next <ul> tag). does GetElementByTag hold 
all tags in an array?


Reply via email to