The demo page doesn't seem to work for me. Running IE6. After clicking on one of the Show Thickbox links, the page is so jumbled looking that it can't possibly be what you intended Klaus. Also, clicking on any image on the page causes the image to appear *waaay* down the screen such that I have to scroll down to see it. If I then click on another image, it appears just below the first image way down the page. Hmm... I'm sure this isn't what's supposed to happen.

Chris

Klaus Hartl wrote:
Hi jQuerians,

I just committed what I would call Thickbox Reloaded alpha version. It may look the same pretty much, but is a complete rewrite.

Here's what's new:

* Chainable method to bind Thickbox to links and forms (makes it easy for content that gets loaded/created later on).
* Totally unobtrusive: no classes needed for links, no params in URL.
* Confirm type Thickbox, triggered automatically by binding Thickbox to a form. If "yes" the form gets submitted unless a custom callback is defined (for example for Ajax submitting) * Automatic type detection depending on type of element, respectively on type of link:
     image: href is an image
     content: href is a hash
     ajax: href is internal and not image
     iframe: href is external and not image
     confirm: element is form
* Improved UI blocking (Thanks to Mike "Malsup" and the BlockUI plugin)
* Options for width/height are now passed in as settings object literal or are stored as default values via $.thickbox.defaults({ width: 300, height: 400 })
* Options top/left positioning (instead of centering), unit defaults to 'px'
* Easier skinning: The look is completely separated into an extra style sheet
* Scrolling via mousewheel/touchpad is blocked
* Lets you define custom animations for showing the modal window via settings
* Requires jQuery 1.1.1

Maybe I have forgotten something.

I thought of including the required style sheets dynamically, but you would still have to include the path somehow.

You can also have a look here (besides repository):
http://stilbuero.de/jquery/thickbox_reloaded/

Please note that I haven't tested in other browsers than Firefox yet. I just thought I'd like to request some feedback/code review first!


-- Klaus

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


--
http://www.cjordan.us

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

Reply via email to