[thelist] writing to DIV in NS

Mark Howells mark at mountain.ch
Tue Jan 29 07:34:07 CST 2002


> Help! I'm trying to write a variable from a function which includes the
> following statements to a DIV named tick2. The following extracted
> script, initialised on load, works fine in IE & NN6, but I get a
> 'document.tick2 has no properties' error in NN4. Can anyone help please?

You'll need to check that the DIV is absolutely positioned. If not, then
it doesn't become a DHTML layer and isn't included in the
document.layers array. (i.e. document.layers["tick2"] doesn't exist).

Regards
Mark Howells
<http://www.mark.ac/evl>




More information about the thelist mailing list