The position:fixed mod just made it so you could never see that the overlay
actually ended at the fold on scrolling pages.  If you resized the window
larger, you could see the end of the overlay.  I also had the same issue as
Sam's example, where the overlay is matching the html height and not the
viewport height.  Also, it doesn't account for the body margins, which is
why it's a little bit short of the end of the html.

Here are the comments from my mod (which uses many other mods) to show what
I did, or at least what I could remember:
/*
 * Modified November/December, 2006 - agent2026
 * Added fixed positioning to eliminate javasrcript scrolling of thickbox -
Klaus Hartl
 * Changed Overlay width/height to 100% in thickbox.css to eliminate window
resize issues
 * Removed all instances of TB_overlaySize() - no longer required
 * Effectively removed setting of #TB_HideSelect width/height
 * Added 'jamie hack' for circular browsing and click = next  - Thanks
Jamie.
 * Added blur (onFocus='this.blur()') to prev, next, close, and images
 * - adding blur inadvertantly 'fixed' vertical jump bug in FF 2.0, present
after 'click = next' mod
 * Made 'A Smoother ThickBox (with less code)' refinements - Klaus Hartl
*/

Can't close the Thickbox in either example when I just checked it FF2 btw.
Check out http://codylindley.com/thickboxforum/ if you haven't already.

Adam



Klaus Hartl wrote:
> 
> Sam Collett schrieb:
>> An example of why I can't really use Thickbox:
>> http://www.texotela.co.uk/code/jquery/thickbox/
> 
> This should be fixed with my position:fixed mod...?
> 
> http://www.stilbuero.de/2006/11/06/a-smoother-thickbox-with-less-code/
> 
> 
> -- Klaus
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Thickbox-to-be-updated--tf2920866.html#a8255370
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to