I found out that having these document.write happen in one frame while having something happening in the main frame ( a slide, for example ) turned NS unstable sometimes. So far this is the only issue I found with the idea. Not a small one :( however Pascal wrote: > and it works crossbrowser? (have to ask >:) > > Pascal Bestebroer ([EMAIL PROTECTED]) > Software ontwikkelaar > Oberon Informatiesystemen b.v. > http://www.oibv.com > > > -----Oorspronkelijk bericht----- > > Van: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]]Namens Jordi - > > IlMaestro > > - Ministral > > Verzonden: maandag 26 februari 2001 14:33 > > Aan: [EMAIL PROTECTED] > > Onderwerp: [Dynapi-Dev] External loading trick - advanced - > > > > > > Here's something I came up with while working on the project > > that almost killed > > me last week. I needed ( or wanted ) to load external > > contents inside of my > > layers, but didn't want to use the loadpanel. > > > > My personal opinion is that the future of loading external > > contents does not go > > through the loadpanel. Not because of the panel itself but > > because of the very > > nature of the browsers and all the problems of > > synchronization that involve. > > I'd like to use setHTMLs (with or without Java would be > > another discussion). > > > > My main concern was to have an external page that could be browsed as > > standalone and yet loaded into a dynlayer. Even edited with > > dreamweaver. Here's > > the solution. I thought I'd share. > > > > <script> > > if(parent.content.DynAPI) // Insert your condition here > > { > > window.onload = function() { > > parent.content.scroll.setHTML(document.form1.txt.value) > > } > > document.write("<form name=form1><textarea name=txt>") > > } > > </script> > > > > > > This is the page > > > > > > <script> > > if(parent.content.DynAPI) // Insert your condition here > > { > > document.write("</textarea></form>") > > } > > </script> > > > > > > > > ---- > > > > This worked fine. Pages can be seen as stand-alone and can be > > loaded inside my > > application. It is a bit dirty but back in the old Dyn1 days > > we needed to have > > a parent.scroll.activate() call anyway. If you have links > > inside you will need > > the scroll object to parse them and change them to > > 'javascript:scroll.load(.....)' > > > > Hope this helps anyone > > > > > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > > > > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/dynapi-dev _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/dynapi-dev
Re: [Dynapi-Dev] External loading trick - advanced -
Jordi - IlMaestro - Ministral Mon, 26 Feb 2001 06:52:17 -0800
- [Dynapi-Dev] External loading trick - advanc... Jordi - IlMaestro - Ministral
- RE: [Dynapi-Dev] External loading trick... Pascal
- Re: [Dynapi-Dev] External loading t... Jordi - IlMaestro - Ministral
- Re: [Dynapi-Dev] External loading trick... Doug Melvin
- RE: [Dynapi-Dev] External loading t... Pascal Bestebroer
- Re: [Dynapi-Dev] External loading trick... Michael Pemberton
- Re: [Dynapi-Dev] External loading t... Doug Melvin
- RE: [Dynapi-Dev] External loading t... Cameron Hart
- RE: [Dynapi-Dev] External loading trick... Pascal
- RE: [Dynapi-Dev] External loading t... Cameron Hart
