----- Original Message -----
From: "Greg Bumpus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 12:43 PM
Subject: [Dynapi-Help] RE: + more questions.
> > Hi,
> >
> > I'm newbie.
> >
>
> . . . me too. I am still sifting through the list archives, apologies if
I
> ask something already documented.
>
> First, can I say, this stuff is great. Amazing. Thoroughly engaging way to
> while away the hours. Now to bombard the group with questions.
>
> 1) NS4 window doesn't scroll content no matter what. I set massive layer
> heights, I load external files that are miles long, IE scrolls nicely, and
> NS4 always clips everything at the botom of the browser window with no
> scrolling. Is there a way around this?
NS is retarded when it comes to dynamic content size..
You need to use:
a) the scrollbar widget
b) the scrollpane widget
c)the pushpanel widget
> 2) onResize methods: I am using "liquid" layers (remember dynapi1?) by
> setting width and height to DynAPI.document.w and .h respectively. Works
> great. But I ned a good method to redraw everything on resize, of course.
> Here's what I use:
>
> DynAPI.onResize = function() {
> DynAPI.document.deleteAllChildren() ;
> DynAPI.onLoad() ;
> }
Unfortunatly IE is vary bad a memory mangement..
What you got on the mac was probably a problem with IE trying to use memory
that it had already allocated for something else..
> This is fine on Windows browsers I've tested, but (gulp) I need to support
> Macintosh and this function really hosed IE5 on the Mac G3. I repeated the
> experiment a few times, each time getting "Error type 2" (thanks for the
> info, mac engineers), followed shortly by a full system crash. Yikes. So
is
> there a better way? I fiddled around with removeChild(),
removeFromParent(),
> and document.recreateAll(), but probably not in the right combination. Any
> tips here appreciated.
We're still working on was to improve the memory usage..
one solution is to simple be very stingy with object use..
reduce the amount of ram you use and hope for the best
> 3) The last problem led me to investigate the browser (is.) methods. I
don't
> get the right syntax to check for the mac; is.platform seems to be the
way,
> but neither is.mac nor is.platform = "mac" seems to do it:
> if ((is.platform="mac") && (is.ie))
> {DynAPI.document.load('steve_jobs_is_not_the_messiah.htm')} ;
if ((is.platform="mac") && (is.ie))
will make is.platform = "mac"
this is assignment not comperason :-)
so the above is translated by the borwser to be
if("mac" && is.ie) or if(true && is.ie)
> weirdly this returns true on my PC. Again apologies for any basic
javascript
> blindness on my part.
>
>
> OK. I develop and browse on a PC but use a Mac at work, so I'll volunteer
to
> help test that platform as needed. I seem to remember that issue came up
> somewhere.
>
> Thanks for suggestions on any front,
>
> Greg
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help