Forgot to mention that I also removed all the image stuff as we didn't have
any need for it and I didn't want to clutter up the code. The size is 6kb
but I'll be removing many of the comments on the live version (and probably
compress it too) to make it much smaller).
James Thomas wrote:
>
> Hello everyone,
>
> I've made some modifications to Thickbox mostly to make it suit my needs
> and to make it more flexible:
> - I removed the method of passing configuration options to Thickbox and
> replaced it with a settings as follows:
> Thickbox.Show(
> {
> target : 'http://www.yahoo.com',
> title : 'Yahoo!',
> height : 305,
> ShowClose : false
> }
> );
> - I added several options and plan to add a few more.
>
> You can find the source http://www.lossfree.com/tbox.js?format=txt here .
> Please suggest anything you think I can do to improve it. One of my more
> immediate plans is to make it so that it can support multiple boxes on the
> screen at once, which should be interesting ... :)
>
> Thanks,
>
> James
>
>
--
View this message in context:
http://www.nabble.com/Thickbox-modifications-tf3164553.html#a8778749
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/