Greg,

point 3 - you need to use == (comparison) rather than = (assignment).
so you need ...
 if ((is.platform=="mac") && (is.ie))

Mark

Greg Bumpus wrote:

> > 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?
>
> 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() ;
> }
>
> 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.
>
> 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')} ;
>
> 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

Reply via email to