From: Robin B. <ro...@re...> - 2003-09-17 16:36:08
|
I have a working page which assigns the contents of one div to another using function getDiv(ID){ if(document.getElementById) return document.getElementById(ID); return document.all[ID]; } ...... getDIV('dst').innerHTML = getDIV('src').innerHTML; ...... Now the client wants this to work with NS4. My questions are 1) Is NS4 dynamic in any sense or must all the layers be properly sized and positioned? In the existing DOM style scheme we just copy the html across and the browser resizes etc. 2) Is there any way to use an existing layer as an editable source of the html or must I have javascript strings to do a write? In the current system we just make DIV's which are hidden and at the top left so are directly editable with standard HTML tools. -- Robin Becker |