Never mind. After I posted this, I decided it made more sense to bring it up in the jQuery development list. I keep seeing "dimensions" being mentioned as a requirement, including in this thread.
On Feb 17, 9:35 am, Nazgulled <[EMAIL PROTECTED]> wrote: > What are you talking about? :S > > On Feb 17, 5:26 pm, timothytoe <[EMAIL PROTECTED]> wrote: > > > Why has "dimensions" not been dragged into the core jQuery library? So > > many plug-ins seem to want it that we end up with html files all over > > the web that ask for dimensions, slowing the loading of the page. > > > On Feb 17, 4:39 am, Nazgulled <[EMAIL PROTECTED]> wrote: > > > > @Eric Martin > > > I took your suggestion in the jQuery Google Groups and I've been > > > testing your plugin for the past couple of hours but I'm having a few > > > difficulties accomplishing some stuff... > > > > 1) Through out my code I call $('#EXAMPLE-ID').modal({options}) > > > numerous times and I have a bunch of options repeating through every > > > call. This kinda sucks... Is there a way I could configure the default > > > options values and then simply call $('#EXAMPLE-ID).modal() and it > > > will simply show the modal dialog with the options configured before? > > > Also, in a way that if I want to override some of those default option > > > values I've set, it would be nice... > > > > 2) I don't use a close 'X' button on my modal dialogs, I prefer to > > > close the dialog manually in a different way- by clicking anywhere > > > inside the modal dialog and for that, I bind the click() event to the > > > respective ID. But for this to work, I need to close the modal dialog > > > manually. I used to do the following using jqModal: > > > $('div#popup-content').click(function() { > > > $(this).jqmHide();}); > > > > How can I accomplish the same thing using your plugin? > > > > 3) Last but not least... I've read the documentation here on this page > > > about the onOpen and onClose callbacks but I'm not able to do want I > > > want. Basically I want the whole modal dialog (overlay and container) > > > to fade in (onOpen) and fade out (onClose) at the same time, like they > > > were just one element with, for instance, 1000ms for both animations. > > > How can I do that? > > > > On Feb 15, 5:06 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > > > > > If you have a copy of IE6 - take a look at the demos and tests (if > > > > not, you could install <a href="http://tredosoft.com/ > > > > Multiple_IE">Multiple IE</a>). > > > > > If you are referring to the opacity of the overlay, that does work in > > > > IE6 (through the powers of jQuery). If you are asking about something > > > > else, let me know. > > > > > Thanks, > > > > Eric > > > > > On Feb 15, 8:45 am, Nazgulled <[EMAIL PROTECTED]> wrote: > > > > > > Your plugin looks cool and very simple... I'll have to take a deeper > > > > > look though and read the whole documentation to see if it fits my > > > > > needs (is configurable wnough for what I want to do). One question > > > > > though... I don't if nay of the modal dialog plugins has this but: > > > > > Let's say the user is using IE6, the translucent background doesn't > > > > > work on this browser version, what happens with your plugin? > > > > > Currently, I have a website with a modal dialog (it only displays a > > > > > text message) but I'm using jQuery for it and I've done it using > > > > > Javascript itself, however, for the background, I used a 4x4 gif image > > > > > with 2 white pixels on the top-left corner and bottom-right corner and > > > > > on the other corners, transparent pixels. Just so I could "hide" the > > > > > content on the background, does your plugin do something like this or > > > > > the translucent background will simply fail on IE6 (and other browsers > > > > > that don't support it)? > > > > > > On Feb 15, 3:46 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > > > > > > > Nazgulled, > > > > > > > "Which one is best" kind of questions, usually lead to: it depends. > > > > > > It > > > > > > depends on what you want to use the dialog for and what your > > > > > > requirements are. > > > > > > > Back in Nov 2007, I was evaluating modal dialogs for a project I was > > > > > > working on. For various reasons, I ended up writing my own modal > > > > > > dialog plugin, SimpleModal (http://www.ericmmartin.com/projects/ > > > > > > simplemodal/). > > > > > > > For me, I just wanted something that would easily display content > > > > > > in a > > > > > > modal dialog, whether it was content from the DOM, a response from > > > > > > an > > > > > > Ajax call, HTML, or a plain string. > > > > > > > It doesn't have a bunch of bells and whistles...it just provides a > > > > > > simple, cross-browser compatible, interface to display data in a > > > > > > modal > > > > > > dialog. > > > > > > > HTH. > > > > > > > -Eric > > > > > > > On Feb 14, 5:12 pm, Nazgulled <[EMAIL PROTECTED]> wrote: > > > > > > > > Hi, > > > > > > > There are so many plugins for modal dialogs that I don't know > > > > > > > which > > > > > > > one should I use and/or which one is the best... I mean, if there > > > > > > > was > > > > > > > only one plugin of this type including all the features from all > > > > > > > the > > > > > > > modal plugins, that would be cool. > > > > > > > > Which one do you think it's the best and why? Care to state the > > > > > > > pros > > > > > > > and cons of each plugin (or the ones you know/have already > > > > > > > tested)? > > > > > > > That would be nice...