In 2.9beta there's an option on DynDocument where the default action is to reload when 
the window is resized in NS4.  I didn't go back over the recreate/redraw code yet, 
it's really tough to get that to work as we'd all like because Netscape 4 does some 
very strange things.  It might work when you first load the page, but if you do a 
soft-reload (not hold shift) then Netscape automatically reloads the page when 
resized, and busts up the recreate attempt anyway - thus redrawing is unreliable and 
you're better off going with a reload anyway.

Regards,
Dan Steinman


On Thu, Jan 10, 2002 at 04:43:33PM -0800, Terra Planer wrote:
> Here's a demo I whipped up. Not interesting unto itself
> but it shows the problem.
> 
> This one is 2.5.6 "out of the box":
> http://www.sharemation.com/~terraplaner/demo/apps/dont-force.html
> 
> This is the same as the previous but it has a "force reload
> on resize" function added via DynAPI.addResizeFunction():
> http://www.sharemation.com/~terraplaner/demo/apps/force-reload.html
> 
> Does that help make it clearer? 
> -Terra
> 
> P.S. I fixed this for myself, I'm just wondering if this should
> be in the libs.
> 
> 
> 
> 
> ---- "Robert Rainwater" <[EMAIL PROTECTED]> wrote:
> > The fact that it recreates the layer means that it is working.  Your
> > problem is 
> > mostly due to the div being inside of a table.  I'm not sure of any
> > workaround 
> > for that.  Perhaps an example and we can help.
> > 
> > Robert
> > 
> > > From the release notes of 2.5.4:
> > > - Added Netscape 4 resize fix (layers are recreated on resize)
> > > 
> > > I seem to have a case where this is broken. I'm using 2.5.6.
> > > 
> > > This only occurs in ns4:
> > > I've got an inline div nested in a table. In DynAPI.onLoad I
> > > setHTML() some junk into it. Later, if user resizes the window then
> > > the content appear in the top left corner of the page not nested
> > > within the table. This seems familar. So, I manually implemented
> > a
> > > resize event catcher which will reload the page if ns4. That fixed
> > my
> > > problem.
> > > 
> > > The point I'm trying to make is: is this something that was
> > > fixed and then got broken again or is this something new or...
> > > 
> > > 
> > > Thanks,
> > > Terra
> > > 
> > > __________________________________________________
> > > FREE voicemail, email, and fax...all in one place.
> > > Sign Up Now! http://www.onebox.com
> > > 
> > > 
> > > _______________________________________________
> > > Dynapi-Dev mailing list
> > > [EMAIL PROTECTED]
> > > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/
> > 
> > 
> > 
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/
> > 
> 
> __________________________________________________
> FREE voicemail, email, and fax...all in one place.
> Sign Up Now! http://www.onebox.com
> 
> 
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to