logo       

Re: [jQuery] opera problem with center plugin: msg#01232

lang.javascript.jquery

Subject: Re: [jQuery] opera problem with center plugin

Truppe Steven schrieb:
> hi,
>
> i have problem when using the center plugin in combination with opera
> and a div that has fixed height and overflow:auto; there is a small
> opera bug that expands that height to a strange value but that is solved
> with a second div style="overflow:hidden" inside the parent with fixed
> height.
> it works with ff 1.5.0.7 on my linux box. also ie5, ie5.5 and ie6 makes
> no problems!
>
> but now with the center plugin (the plugin does it's work normaly on
> other pages of my site) after centering i see also content that is
> outside of the div (only the centered images). if i scroll the images
> seems not to be redrawn, but they overlay my side.
>
> i have tried to set the images and it's parent (inside the div with
> fixed width and overflow:auto) also to overflow:auto and
> position:relative (like the script do at start, i also added one line to
> not use the parent but parent div for centering.
>
> the line i've added:
>
> /* search parent div unless body */
> while(p.nodeName.toLowerCase() != "div" && p.nodeName != "body") p =
> p.parentNode;
>
> i have to solve the problem this night or i have to remove the center
> function from the list.
> the example is at www.isangmundo.at/index.php?menu=shop.php&lang=en
>
> i hope someone here knows more about that.
>
> best regards,
> truppe steven
>
> _______________________________________________
> jQuery mailing list
> discuss@xxxxxxxxxx
> http://jquery.com/discuss/
>
>
I have a bit more time to solve the problem.i've also seen that in
FireFox 1.5.0.7 (WIN) the centering does not work allways (after page
refresh it allways works!).

Someone an idea ?

best regards,
truppe steven


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise