DIV has no NAME property. It has ID instead for this purpose.

What you want to do requires DHTML and is a btich to get working in both IE and Netscape. I've done it before, but I was luck and knew what my audience was using. The only sure way to get to to work smoothly requires I.E. 5.0 or Netscape 6.0 or better. I've attached a sample that should work in IE 5.0 and Netscape 6.0 or better. I tested it with IE 5.5 and Netscape 6.2.

P.S. I'm pretty sure this does what you want....dynamically change the page without reloading anything...great for mouseovers...my samples use actual links, but you could just as easily put the function in the onmouseover event.


Attachments
60886-IE_text_replace.html (134 downloads)



Edited by redbutt2 (24/01/2002 16:44)
_________________________
We need a bigger boat.