[jQuery] Re: Animate bug under IE6?

2007-07-21 Thread Collin Allen

I just tried switching to transitional, with no effect, sadly (still
under 1.1.3.1).


On Jul 20, 8:30 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]>
wrote:
> Collin,
>
>
>
> >Hey all -- I'm new to the list (but not so new to jQuery), and was
> >hoping I could get some assistance regarding what appears to be a bug
> >in the .animate function when running under IE6.  Inside a .click
> >function assigned to a specific anchor tag, I call .animate using
> >jQuery 1.1.3.1.  It works in Firefox and Safari, but IE6 reports a
> >runtime error.  When I switch to jQuery 1.1.2, it works (mostly).  The
> >first animate sequence doesn't slide, but merely re-draws when the
> >final frame is done, but all subsequent animations work fine.
>
> >Perhaps this is due to my standalone IE6 (from evolt), as I've seen it
> >have other weird problems with JS, too.  I'm running IE7 installed,
> >unfortunately.
>
> >Any suggestions would be greatly appreciated!
>
> >I've posted a demo of the issue at the following location (sans a few
> >images):
> >http://www.command-tab.com/jquery/animate_bug/
>
> What happens if you change the doctype from "strict" to transitional? My
> experience with using a strict XHTML declaration almost always causes me
> trouble in IE6.
>
> -Dan



[jQuery] Re: Animate bug under IE6?

2007-07-21 Thread Klaus Hartl


Dan G. Switzer, II wrote:

Collin,


Hey all -- I'm new to the list (but not so new to jQuery), and was
hoping I could get some assistance regarding what appears to be a bug
in the .animate function when running under IE6.  Inside a .click
function assigned to a specific anchor tag, I call .animate using
jQuery 1.1.3.1.  It works in Firefox and Safari, but IE6 reports a
runtime error.  When I switch to jQuery 1.1.2, it works (mostly).  The
first animate sequence doesn't slide, but merely re-draws when the
final frame is done, but all subsequent animations work fine.

Perhaps this is due to my standalone IE6 (from evolt), as I've seen it
have other weird problems with JS, too.  I'm running IE7 installed,
unfortunately.

Any suggestions would be greatly appreciated!

I've posted a demo of the issue at the following location (sans a few
images):
http://www.command-tab.com/jquery/animate_bug/


What happens if you change the doctype from "strict" to transitional? My
experience with using a strict XHTML declaration almost always causes me
trouble in IE6.

-Dan


It does not necessarily have some to do with Strict or Transitional if 
IE runs in Quirks Mode or in Standards Mode, especially if the Doctype 
is XHTML. It depends on how the Doctype declaration looks like (does it 
have a system identifier or not?)


More information:
http://hsivonen.iki.fi/doctype/

By the way, in the demo an HTML Doctype is used but tags are closed as 
in XHTML:



   ^


--Klaus



[jQuery] Re: Animate bug under IE6?

2007-07-20 Thread Dan G. Switzer, II

Collin,

>Hey all -- I'm new to the list (but not so new to jQuery), and was
>hoping I could get some assistance regarding what appears to be a bug
>in the .animate function when running under IE6.  Inside a .click
>function assigned to a specific anchor tag, I call .animate using
>jQuery 1.1.3.1.  It works in Firefox and Safari, but IE6 reports a
>runtime error.  When I switch to jQuery 1.1.2, it works (mostly).  The
>first animate sequence doesn't slide, but merely re-draws when the
>final frame is done, but all subsequent animations work fine.
>
>Perhaps this is due to my standalone IE6 (from evolt), as I've seen it
>have other weird problems with JS, too.  I'm running IE7 installed,
>unfortunately.
>
>Any suggestions would be greatly appreciated!
>
>I've posted a demo of the issue at the following location (sans a few
>images):
>http://www.command-tab.com/jquery/animate_bug/

What happens if you change the doctype from "strict" to transitional? My
experience with using a strict XHTML declaration almost always causes me
trouble in IE6.

-Dan