On 9/13/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I worked a bit on the thickbox script to improve it. What bothered me,
> was that when scrolling the window the thickbox window is moved to stay
> in the center, but that happens not smooth at all.
>
> So I changed it to use fixed positioning.
>
> 1. Changed CSS:
>
> #TB_window {
> position: fixed;
> top: 50%;
> left: 50%;
> }
>
> 2. Removed the scroll event handler: [... other fixes]
Any chance we'll see these (or similar) fixes to thickbox proper? It
somehow seems all lightbox variants published to date suffer this same
bug. Are people shying away from browser forking to let ie6 run this
variant of the code and less breakage ridden browsers adopt some
position:fixed goodness?
I'd be really glad to see the release version drop the global CSS
pollution "*{padding: 0; margin: 0;}" too, in favour of "#TB_window
*{padding: 0; margin: 0;}" which has worked just fine for me. Do I
miss something obvious as to why the former should be necessary?
--
/ Johan Sundström, http://ecmanaut.blogspot.com/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/