Why not use DynLayers? And then use lyr.setHTML() var lyr = new DynLayer() lyr.setHTML('html here');
-- Raymond Irving --- Robin Becker <[EMAIL PROTECTED]> wrote: > 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 > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help