Hi,
I too was plagued by this mysterious bug, but I think I managed to
find a way to workaround it. I tested the fix on IE 6 and Firefox and
it seems to be working.
Debugging it I traced the problem to the line 244 of ui.dialog.js
1.5.2 (line 238 of 1.5.1). Apparently the value assigned to tbMargin
ends up being NaN and IE is unhappy to assign NaN pixels to the height
of the element (in a couple of lines below tbMargin is used in an
expression and per IEEE floating point rules NaN propagates and makes
any resulting expression NaN as well). I think it's returning NaN as a
normal result (because the element don't have either margin-top or
margin-bottom), but I didn't investigate the issue. The "fix" is quite
simple, just add a "|| 0" to the end of the expression and everything
works out fine.
tbMargin = parseInt(content.css('margin-top'),10) +
parseInt(content.css('margin-bottom'),10) || 0,
lrMargin = parseInt(content.css('margin-left'),10) +
parseInt(content.css('margin-right'),10) || 0;
I changed lrMargin too just to be sure ;). Anyway it "fixed" the
symptom and perhaps even the cause but, as I said, I didn't look much
further.
Best regards,
Daniel Yokomizo
On Aug 5, 8:37 pm, ktpmm5 <[EMAIL PROTECTED]> wrote:
> More discoveries. In jquery-1.2.6.min.js I made the following change,
> similar to above, but myIEseemed to be returning NaN:
>
> if ( set && value != 'NaN') elem[ name ] = value; .....
>
> I also added:
> start=(isNan(start)) ? 0: start;
>
> but no luck. I cannot see my headers or my add or save buttons inIEin the
> flexigrid table. They are there, because if I click near them, they
> function correctly. I really am stumped - have played with all sorts of css
> elements (.span, .save, .add) trying to figure out what is wrong. I'm
> supposed to have this up and running by Friday - Richard, or anyone, do you
> have any ideas? Unfortunately, a lot of people still useIE....:-( Link
> is:
>
> http://pvifootball.comdialogproblem inie
> --
> View this message in
> context:http://www.nabble.com/Dialog-error-in-Internet-Explorer-6-tp18296761s...
> Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---