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
Michal Tatarynowicz schrieb:
On 9/15/06, *Klaus Hartl* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
you can see it in action (and the difference) here now, just click on a
thumbnail in the pictures section or in photos nearby and scroll the
page...
I don't think
Klaus Hartl schrieb:
you can see it in action (and the difference) here now, just click on a
thumbnail in the pictures section or in photos nearby and scroll the page...
Very nice. The fixed center position allows much smoother scrolling :-)
One small proposal: For better keyboard
Klaus Hartl schrieb:
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.
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:
2. Removed the scroll event handler:
$(window).scroll(TB_position);
You don't need no resize event handler as well:
$(window).resize(TB_position);
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/