[Javascript] Flash, DHTML, IE6

Nancy Burton-Vulovic nancybv at idirect.ca
Tue Jun 18 05:55:44 CDT 2002


Son of a gun, ppk, that works beautifully! Thank you so very much!
(I am SO grateful for this list, you have no idea.)

Going to learn about doctypes now. Thanks again!

Nancy

----- Original Message -----
From: "Peter-Paul Koch" <gassinaumasis at hotmail.com>
To: <javascript at LaTech.edu>
Sent: Tuesday, June 18, 2002 2:56 AM
Subject: Re: [Javascript] Flash, DHTML, IE6


>
> >I have a dhtml menu (floating menu) that works fine cross-browser, except
> >on
> >pages with Flash embedded. There it does not work for IE6 - it can
> >apparently not read the line
> >
> >if (ie4) {object1.style.pixelTop=document.body.scrollTop+offsettop}
>
> That's because you use a doctype which switches IE6 into compatibility
mode.
> In that mode you need to read out document.documentElement.scrollTop
>
> Solutions:
>
> 1) Remove the doctype
> 2) Put <?xml version="1.0" encoding="iso-8859-1"?> before the doctype.
This
> is perfectly standards compliant but switches the IE6 mode off again.
>
> ppk
>
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail.
> http://www.hotmail.com
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>





More information about the Javascript mailing list