that's why there is the is.platform  value :)

Pascal Bestebroer ([EMAIL PROTECTED])
Software ontwikkelaar
Oberon Informatiesystemen b.v.
http://www.oibv.com 

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]Namens Cameron Hart
> Verzonden: woensdag 31 januari 2001 11:07
> Aan: [EMAIL PROTECTED]
> Onderwerp: RE: [Dynapi-Help] RE: + more questions.
> 
> 
> in browser.js it is for both mac and pc. probably not a good 
> idea really as
> they are totally different browsers!
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Richard
> > Bennett
> > Sent: 31 January 2001 00:12
> > To: [EMAIL PROTECTED]
> > Subject: Re: [Dynapi-Help] RE: + more questions.
> >
> >
> > hi,
> > > 1) NS4 window doesn't scroll content no matter what.
> > Somebody posted a fix for this a while back, maybe search the
> > archives. (+-
> > 2 months ago)
> >
> > >? I fiddled around with removeChild(), removeFromParent(),
> > > and document.recreateAll(),
> > recreateAll is apparently broken in this release, expect a 
> fix in SP1.
> > But normally you would only want to do this in NS4 (to counter
> > the bug) but
> > in IE you can also move the layers to their position again 
> (slideTo or
> > moveTo).
> > That's better, because DynAPI.document.deleteAllChildren()
> > doesn't actually
> > free up any ram, so each time you resize the browser you increase
> > the ram in
> > use.
> >
> > > {DynAPI.document.load('steve_jobs_is_not_the_messiah.htm')} ;
> > LOL, and even if he was, MS would release such a buggy browser
> > for Mac as to
> > make Mac unusable on the internet.
> >
> > Actually, I have a related question, does if(is.ie) specify IE on
> > PC (as it
> > seems to) or IE on all platforms?
> >
> > Cheers,
> > Richard Bennett
> >
> > [EMAIL PROTECTED]
> > www.richardinfo.com
> > (Everything running on, and ported to the 19/12/2000 
> snapshot of DynAPI2)
> >
> > ----- Original Message -----
> > From: "Greg Bumpus" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, January 30, 2001 9: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?
> > >
> > > 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
> > > ____________________________________________________________
> > > Get your free domain name and domain-based e-mail from
> > > Namezero.com. New!  Namezero Plus domains now available.
> > > Find out more at: http://www.namezero.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
> 


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to