Alexandre Plennevaux schrieb: > If filesize is to be TB biggest advantage, personally in fact i rarely need > to be able to launch a TB with iframe, ajax and images on the same page, or > even Application. > > I guess i'm not the only one to choose before hand at design time how my app > will use TB (ajax/iframe) to display interfaces. I would therefore love to > have 3 different thickbox plugins, so 3 different files. If i need to mix, > just adding the script source link to the related TB version would enable me > to. > > <script src="plugin.thickbox.images.js" type="text/javascript"></script> > <script src="plugin.thickbox.ajax.js" type="text/javascript"></script> > <script src="plugin.thickbox.iframe.js" type="text/javascript"></script> > > this would also enable to build more functionalities for specific uses > (gallery, zoom, prev/next only apply to images).
I just wrote in reply to Sam, that I'm thinking about making TR modular exactly like that. The basis is already there. On the other hand, for the Ajax example it just saves us 5 lines of code... > as for feature, proportional dimensions is a must IMO. There is no sense > fixing width and height of thickbox in today's multitude of screen sizes... What exactly do you mean by that. Currently if an image is too large for the viewport it gets resized. Is it that? I took that from the current Thickbox without any changes. > thank you! Thank you for feedback. And all the others! I hope we can build a Thickbox everybody (ok, hopefully most of us) is satisfied with! And while I'm at it, thanks to cody for letting us do this! -- klaus -- klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/