Hey Brice -
I took a look at jqModal actually and I like it for modal windows - was
thinking of using it actually. One of my key requirements is that it had to
sometimes use an iframe, sometimes ajax, and sometimes DOM. I was already
using Thickbox here and there and decided it would be a good place to start.
So I sat down over the course of a couple of hours and changed it to work
the way I needed. I didn't like the query string method it had for settings
(plus it was unnecessarily IMO tied to a URL) so I molded it to work this
way.
As for dialog boxes, jqModal is really rather nice actually - I think you've
done a great job with it and I may use it for simple yes/no type things
where a small solution is required (normally I just hack together a div tag
and show() it but this is nice too (plus it can replace confirm, which is
very annoying because it says OK and Cancel (whoever thought of that?).
James
Brice Burgess wrote:
>
> 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 ... :)
>>
> James,
>
> You may be interested in jqModal -- it supports multiple windows out
> of the box && is dying to be extended.
> http://dev.iceburg.net/jquery/jqModal/ . I do like where you're going
> with the TB changes! :) There would be no jqModal is TB was truly the
> "one box to rule them all"...
>
> ~ Brice
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Thickbox-modifications-tf3164553.html#a8786734
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/