Re: [jQuery] jqModal r7 release!
Brice, Could you help me? I regularly get an error in IE when my dialog (JQM) is showing: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. In Firefox and Safari everything works without problems. And IE works as well... but this error is just annoying... thanks, Dmitry -- View this message in context: http://www.nabble.com/jqModal-r7-release%21-tf3277353.html#a9323848 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, re $.jqm.hash. I'm getting an error that there is no such property. Doing an inspection of the object $.jqm in firebug shows only two properties - .open and .close. Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, The version linked to on your page is r9. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Sigh... And I just noticed the link to r10. One of those days ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Dmitry Rudakov wrote: Brice, Could you help me? I regularly get an error in IE when my dialog (JQM) is showing: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus. In Firefox and Safari everything works without problems. And IE works as well... but this error is just annoying... thanks, Dmitry Dmitry, I have resolved this issue in r10 beta -- available @ the plugin page below the other downloads. Let me know if this corrects the issue, and if you have any further questions. http://dev.iceburg.net/jquery/jqModal/ Thanks, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, Is there any way I can change the callback functions after the initial .jqm() call? I'm wanting to have a standard widget that performs similar to the prompt() function in javascript. But I want to dynamically add a callback depending on when/where in the site it's being used. Cheers, Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Chris Domigan wrote: Is there any way I can change the callback functions after the initial .jqm() call? I'm wanting to have a standard widget that performs similar to the prompt() function in javascript. But I want to dynamically add a callback depending on when/where in the site it's being used. Chris, This is possible, although undocumented -- as there is no graceful API function to grab the jqModal hash of an element. It is important to note that jqModal functionality is closely tied to the hash , and each jqModal-ized element ($(e).jqm()) is assigned a serial which points to its configuration object within the hash. Conveniently, the hash is globally available via $.jqm.hash, and an jqModalized element's serial is available as an expando named _jqm. Thus; var jqmElementHash = $.jqm.hash[$(jqmElement)[0]._jqm]; would correctly assign (and allow you to play with) the jqmElement's hash object. The hash object's properties are documented in the README, but as an example, here's how you would change a jqModal's onShow callback; -- // accepts an element (either DOM or jQuery obj) function changeOnShow(element, newCallback) { var h=$.jqm.hash[$(element)[0]._jqm]; return h.c.onShow = newCallback; } Hope this helps and makes sense! NOTE; in *early* versions $.jqm.hash was available globally. In newer (r6-r9?), the hash was moved to the scope of the plugin. In r10 beta (available on plugin page), the hash is again globally available @ $.jqm.hash. Other minor improvements have been made, including Dimitry's compressable fixes. See; http://dev.jquery.com/jquery/jqModal/ ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Thanks for that Brice. Another thought - is it possible to get the element that triggered the jqmShow)? So if I have n anchor elements with class of jqmShow, the modal object (once triggered) will have a reference to its calling element? Cheers, Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Chris Domigan wrote: Another thought - is it possible to get the element that triggered the jqmShow)? So if I have n anchor elements with class of jqmShow, the modal object (once triggered) will have a reference to its calling element? Chris, Sure thing. The last triggering element is stored in the hash as t (see the README). Also, the hash is passed to the onShow, onHide, and onLoad callbacks as the first argument. So; $(e).jqm({onShow: showCallback}); function showCallback(hash) { // get the triggering element var trigger = hash.t; } Is an example. My previous post shows how to access the hash globally, so you can see who the last trigger of an jqModalized element was OUTSIDE any callbacks. Hope this helps, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Excellent - just what I needed! Sterling effort. Cheers ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess wrote: Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. Bruce, to successfully use JS compressor you need to include some semicolons to your source. To be exact - 5. herewith I send you these lines and their numbers in your source. All missing semicolons are marked with // !DR; #27 if(_o.trigger)$(this).jqmAddTrigger(_o.trigger); #28 });}; // !DR; #30 $.fn.jqmAddClose=function(e){hs(this,e,'jqmHide'); return this;}; // !DR; #31 $.fn.jqmAddTrigger=function(e){hs(this,e,'jqmShow'); return this;}; // !DR; #32 $.fn.jqmShow=function(t){return this.each(function(){if(!hash[this._jqm].a)$.jqm.open(this._jqm,t)});}; // !DR; #33 $.fn.jqmHide=function(t){return this.each(function(){if(hash[this._jqm].a)$.jqm.close(this._jqm,t)});}; // !DR; and 2 semicolons for jqDnR #11 $.fn.jqDrag=function(r){$.jqDnR.init(this,r,'d'); return this;}; // !DR; #12 $.fn.jqResize=function(r){$.jqDnR.init(this,r,'r'); return this;}; // !DR; After this your sources will be successfully packed and will work without any problems. I tested it. But to be honest the benefit of packing your sources is very close to zero! :) You made a very good job for minimalism. But sometimes it could be useful... in case if your sources are included in one file which will be packed later. In this case these missing semicolons will become a big trouble. I would suggest that you include these semicolons your source (just 5 bytes!) for further compatibility. thanks again for your work. Dmitry -- View this message in context: http://www.nabble.com/jqModal-r7-release%21-tf3277353.html#a9284870 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Dmitry Rudakov wrote: Brice Burgess wrote: Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. Bruce, to successfully use JS compressor you need to include some semicolons to your source. To be exact - 5. herewith I send you these lines and their numbers in your source. All missing semicolons are marked with // !DR; #27 if(_o.trigger)$(this).jqmAddTrigger(_o.trigger); #28 });}; // !DR; #30 $.fn.jqmAddClose=function(e){hs(this,e,'jqmHide'); return this;}; // !DR; #31 $.fn.jqmAddTrigger=function(e){hs(this,e,'jqmShow'); return this;}; // !DR; #32 $.fn.jqmShow=function(t){return this.each(function(){if(!hash[this._jqm].a)$.jqm.open(this._jqm,t)});}; // !DR; #33 $.fn.jqmHide=function(t){return this.each(function(){if(hash[this._jqm].a)$.jqm.close(this._jqm,t)});}; // !DR; and 2 semicolons for jqDnR #11 $.fn.jqDrag=function(r){$.jqDnR.init(this,r,'d'); return this;}; // !DR; #12 $.fn.jqResize=function(r){$.jqDnR.init(this,r,'r'); return this;}; // !DR; After this your sources will be successfully packed and will work without any problems. I tested it. But to be honest the benefit of packing your sources is very close to zero! :) You made a very good job for minimalism. But sometimes it could be useful... in case if your sources are included in one file which will be packed later. In this case these missing semicolons will become a big trouble. I would suggest that you include these semicolons your source (just 5 bytes!) for further compatibility. thanks again for your work. Dmitry Dmitry, Aye see :) Thanks for noticing this. I will include your changes is the next release. While packing jqModal is not the highest priority -- if it combined with other sources and packed, it should at least be compatible. Have a nice weeked, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess schreef: Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. It's aready r9 but the plugin stays the same :) I finally got around to use the plugin but i had a problem with the (function($){})(jQuery); code, in firebug i got the error: is not a function. When i replaced the internal $ with jQuery the plugin works like it should. The way i use javascript is to combine the plugins and the actual code for the site in one javascript file. -- David Duymelinck [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
David Duymelinck wrote: It's aready r9 but the plugin stays the same :) I've been working on some IE6 fixes.. just haven't notified the list yet :) I finally got around to use the plugin but i had a problem with the (function($){})(jQuery); code, in firebug i got the error: is not a function. When i replaced the internal $ with jQuery the plugin works like it should. The way i use javascript is to combine the plugins and the actual code for the site in one javascript file. Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess schreef: Are you compressing (JS compressor, not gzip output) the combined javascript output? I've played with similar techniques, and found compressors and the capsulated function don't play well. No i didn't use any compression method but i do use it in an asp.net page maybe that is the problem? I haven't figured out yet how to avoid default asp.net javascript behavior. -- David Duymelinck [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
It doesn't appear so! :o) Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Tuesday, February 27, 2007 12:06 AM To: jQuery Discussion. Subject: Re: [jQuery] jqModal r7 release! Rick, don't kid yourself, it is over my head too :D. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Thanks for the info, Ben. I think your application looks great, but is over my head right now. quite complicated! Good work! Hope it works out well for you. Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Saturday, February 24, 2007 5:13 PM To: jQuery Discussion. Subject: Re: [jQuery] jqModal r7 release! Rick, These are the plugins that I am using: jqForm jqDebug jqHightlightFade jqQuick (for dom) the flash plugin jqModal jqMinMax (only using it once tho) blockUI (will be getting switched out with a custom jqModal function) And the rest of the code is mine. This app is specific to a certain audience, so they need to have js and css on to run this site. I am using a ton of $.ajax, which in all accounts could be switched to $.load or $get, but i prefer $.ajax. Feel free to take a look at the code and let me know if you have any questions. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Rick, don't kid yourself, it is over my head too :D. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Oh no, http://dev.iceburg.net/jquery/jqModal/ is down and I forgot to download the CSS code for the plugin earlier today : /. Any good soul who could email me a copy of it? Would be much appreciated - thanks. -- Felix Geisendörfer aka the_undefined -- http://www.thinkingphp.org http://www.fg-webdesign.de Arne-Kolja Bachstein wrote: Brice Burgess wrote: * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode I love you! Just at the weekend I have to finalize a template using your plugin you come around with the fix I was looking for! Works like a charme now and centers correctly in IE 6+7! Greetings Arne-Kolja Bachstein http://www.arnekolja.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Rick, These are the plugins that I am using: jqForm jqDebug jqHightlightFade jqQuick (for dom) the flash plugin jqModal jqMinMax (only using it once tho) blockUI (will be getting switched out with a custom jqModal function) And the rest of the code is mine. This app is specific to a certain audience, so they need to have js and css on to run this site. I am using a ton of $.ajax, which in all accounts could be switched to $.load or $get, but i prefer $.ajax. Feel free to take a look at the code and let me know if you have any questions. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess wrote: * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode I love you! Just at the weekend I have to finalize a template using your plugin you come around with the fix I was looking for! Works like a charme now and centers correctly in IE 6+7! Greetings Arne-Kolja Bachstein http://www.arnekolja.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, wonderful work, and i luv the confirm/alert replacement! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brice Burgess Sent: vendredi 23 février 2007 7:58 To: jQuery Discussion. Subject: [jQuery] jqModal r7 release! Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. Plugin Page; http://dev.iceburg.net/jquery/jqModal/ I've updated the examples, and included a demonstration on overriding alert() + confirm() dialogs. Here's what has changed; --- + Added $.jqmShow, $.jqmHide to manually hide/show dialogs + Added $.jqmAddTrigger and $.jqmAddClose to bind show/hide to elements + Added onLoad callback (called after ajax return) + Added support for handling multiple dialogs @ once across ALL functions - Removed auto-fire parameter, replaced via $(e).jqm().jqmShow() - Removed $.jqmClose() - Removed wrapClass parameter, updated base CSS * CSS z-index value takes priority over zIndex parameter * Triggers can hide, show, or hide AND show jqModals * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode * Internal Improvements, no event data Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in 120 bytes -- so we're still looking at a 3k full featured dialog plugin. Enjoy, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.18.3/698 - Date: 23/02/2007 4:39 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Well, you certainly convinced me. Im switching from the interface element plugin to this for window drag and drop + close. Now i just need a supersmall tooltip plugin to :-) On 2/23/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: Brice, wonderful work, and i luv the confirm/alert replacement! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brice Burgess Sent: vendredi 23 février 2007 7:58 To: jQuery Discussion. Subject: [jQuery] jqModal r7 release! Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. Plugin Page; http://dev.iceburg.net/jquery/jqModal/ I've updated the examples, and included a demonstration on overriding alert() + confirm() dialogs. Here's what has changed; --- + Added $.jqmShow, $.jqmHide to manually hide/show dialogs + Added $.jqmAddTrigger and $.jqmAddClose to bind show/hide to elements + Added onLoad callback (called after ajax return) + Added support for handling multiple dialogs @ once across ALL functions - Removed auto-fire parameter, replaced via $(e).jqm().jqmShow() - Removed $.jqmClose() - Removed wrapClass parameter, updated base CSS * CSS z-index value takes priority over zIndex parameter * Triggers can hide, show, or hide AND show jqModals * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode * Internal Improvements, no event data Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in 120 bytes -- so we're still looking at a 3k full featured dialog plugin. Enjoy, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.18.3/698 - Date: 23/02/2007 4:39 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
This is really great work. I think you might be able to save a few extra bytes by dropping the closing tag when creating single elements. jQuery will add them for you. This: $('div') and $('iframe') Instead of this: $('div/div') and $('iframe/iframe') -- Brandon Aaron On 2/23/07, Brice Burgess [EMAIL PROTECTED] wrote: Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. Plugin Page; http://dev.iceburg.net/jquery/jqModal/ I've updated the examples, and included a demonstration on overriding alert() + confirm() dialogs. Here's what has changed; --- + Added $.jqmShow, $.jqmHide to manually hide/show dialogs + Added $.jqmAddTrigger and $.jqmAddClose to bind show/hide to elements + Added onLoad callback (called after ajax return) + Added support for handling multiple dialogs @ once across ALL functions - Removed auto-fire parameter, replaced via $(e).jqm().jqmShow() - Removed $.jqmClose() - Removed wrapClass parameter, updated base CSS * CSS z-index value takes priority over zIndex parameter * Triggers can hide, show, or hide AND show jqModals * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode * Internal Improvements, no event data Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in 120 bytes -- so we're still looking at a 3k full featured dialog plugin. Enjoy, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, good stuff, I am using the plugin and it is working great. Just in case anyone wants to see it in action: http://ov-staging.informationexperts.com/index.htm every link below the blue bar opens a model and everything is created dynamically. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
http://dev.iceburg.net/jquery/jqModal/ Awesome work, Brice! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brandon Aaron wrote: This is really great work. I think you might be able to save a few extra bytes by dropping the closing tag when creating single elements. jQuery will add them for you. This: $('div') and $('iframe') Instead of this: $('div/div') and $('iframe/iframe') Apparently that causes JS errors when a page is served as content-type=application/xhtml+xml. A user of my date picker told me this and replacing the $('div')'s with $('div/div')'s fixed their problems... I know the general opinion seems to be that content-type=application/xhtml+xml is a waste of time but it's nice for a plugin to allow users to serve their pages as they like... Cheers, Kelvin :) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
On 2/23/07, Kelvin Luck [EMAIL PROTECTED] wrote: Apparently that causes JS errors when a page is served as content-type=application/xhtml+xml. A user of my date picker told me this and replacing the $('div')'s with $('div/div')'s fixed their problems... I know the general opinion seems to be that content-type=application/xhtml+xml is a waste of time but it's nice for a plugin to allow users to serve their pages as they like... Agreed. Thanks for the info Kelvin! -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
On 2/23/07, Brandon Aaron [EMAIL PROTECTED] wrote: On 2/23/07, Kelvin Luck [EMAIL PROTECTED] wrote: Apparently that causes JS errors when a page is served as content-type=application/xhtml+xml. A user of my date picker told me this and replacing the $('div')'s with $('div/div')'s fixed their problems... I know the general opinion seems to be that content-type=application/xhtml+xml is a waste of time but it's nice for a plugin to allow users to serve their pages as they like... Agreed. Thanks for the info Kelvin! That sounds like something that ought to be fixed in jQ itself. -- Chris Ovenden http://thepeer.blogspot.com Imagine all the people / Sharing all the world ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
On 2/23/07, Chris Ovenden [EMAIL PROTECTED] wrote: That sounds like something that ought to be fixed in jQ itself. Should it though? It is passing jQuery invalid XHTML when you are telling the browser to expect true XHTML. -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Nice, app, Benjamin. That's just the sort of app I would like to build.ajax enabled dialogs that allow me to view/add/update/delete database records with jumping between a bunch of pages. My current app design works and is simple to follow, but an ajax-enabled app would be so much better. Well.I guess I'm on my way! At least I got Hello World! to appear on my screen using ajax! :o) Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Friday, February 23, 2007 9:08 AM To: jQuery Discussion. Subject: Re: [jQuery] jqModal r7 release! Brice, good stuff, I am using the plugin and it is working great. Just in case anyone wants to see it in action: http://ov-staging.informationexperts.com/index.htm every link below the blue bar opens a model and everything is created dynamically. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice, This is really awesome work man!! Great job! Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in 120 bytes -- so we're still looking at a 3k full featured dialog plugin. While the availability of Ext is certainly exciting, it in no way detracts from the importance of your work or that of any plugin author. Not everyone will use Ext and I for one will definitely lean towards using lighter components where available. jqModal is an amazing piece of work and I will definitely continue to use it. Rey ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Keep in mind that the app i am building is basically a copy of a actual application that was built in C and this app will not work if javascript is turned off. So, when your building you ajax app, think about what would happen if the end user had js off. Good to hear you got the hello world to work. Sometimes it takes a little bit to understand how something work, but once you do there is not limit to what you can do. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Mikael Noone schrieb: Well, you certainly convinced me. Im switching from the interface element plugin to this for window drag and drop + close. Now i just need a supersmall tooltip plugin to :-) How small is supersmall? Is this too big? http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess schrieb: Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. Great job! For more eyecandy: Try to apply some of the window styles to your plugin page ;-) -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
I wouldn't have to worry about the apps I'm working on so far. They're for in-house use and the users would all be told to enable js. Thanks for your help on the Hello World.it was nice to see that pop up on the screen! :o) Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Friday, February 23, 2007 11:04 AM To: jQuery Discussion. Subject: Re: [jQuery] jqModal r7 release! Keep in mind that the app i am building is basically a copy of a actual application that was built in C and this app will not work if javascript is turned off. So, when your building you ajax app, think about what would happen if the end user had js off. Good to hear you got the hello world to work. Sometimes it takes a little bit to understand how something work, but once you do there is not limit to what you can do. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brandon Aaron wrote: This is really great work. I think you might be able to save a few extra bytes by dropping the closing tag when creating single elements. jQuery will add them for you. This: $('div') and $('iframe') Instead of this: $('div/div') and $('iframe/iframe') -- Brandon Aaron Brandon, Excellent tip! :) This is just what I'm looking for -- every byte counts! ;) Also, thanks for all your work w/ dimensions. I'll be looking into updaing jqDnR to include universal resize handles which work off event mouse coord + targets top/left position -- I think this will be beneficial (code size + flexibility wise) over declaring SE, SW, N, S, E, W, ... etc. as with previous models. Then, the resize can be limited by axis (x/y) to establish NS/NW/NE/SE/... vs. N/S/E/W orientation, and a min||max X(width),Y(height) can be given. ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Benjamin Sterling wrote: Brice, good stuff, I am using the plugin and it is working great. Just in case anyone wants to see it in action: http://ov-staging.informationexperts.com/index.htm http://ov-staging.informationexperts.com/index.htm Benjamin, Looks excellent.. it's good to see the plugin put to use. You may want to have the confirm (are you sure you want to delete this item?) dialog inlined to increase interactivity/page responsiveness. Only use ajax to process the request if the user clicks yes -- delete. One way you can attach the ID/KEY of the item to be deleted is via an onShow callback. e.g. If your confirm dialog looks something like; div id=confirmDelete style=display: none; Are you sure? form input type=hidden name=key value= / input typesubmit value=no class=jqmClose / input type=submit value=yes / /form /div (( note jqmClose is assigned to the no button -- I need to update my confirm() override example @ http://dev.iceburg.net/jquery/jqModal/ with this! )) And your delete buttons look something like; --- input type=image src=delete.gif value=123 class=deleteButton / (( where 123 is the items primary key in a DB...)) --- Then you can use jqModal to display the confirmation + attach the ID like; --- $().ready(function(){ $('#confirmDelete').jqm({ trigger: 'input.deleteButton', onShow: assignID }) .find('form') .ajaxForm({...}); // assign Mike Alsup's kickass forms plugin to handle the ajax submit function assignID(h){ // get the ID from trigger var id = h.t.value; // assign the id to the confirm form h.w.find('input:hidden').val(id); } }); It's that easy elegant! Disclaimer: I wrote this code in my email client, potential syntax errors + dysfunctions. ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqModal r7 release!
Brice Burgess schreef: Ladies and Gentleman of the jQuery, ...errr, more so the Gentleman... I am happy to bring you jqModal r7, codenamed listen. R7 is a major feature enhancer, and brings about some API changes and parameter reduction. I recommend upgrading porting your existing code to the new version... well worth the added flexibility // maintaining support. Plugin Page; http://dev.iceburg.net/jquery/jqModal/ I've updated the examples, and included a demonstration on overriding alert() + confirm() dialogs. Here's what has changed; --- + Added $.jqmShow, $.jqmHide to manually hide/show dialogs + Added $.jqmAddTrigger and $.jqmAddClose to bind show/hide to elements + Added onLoad callback (called after ajax return) + Added support for handling multiple dialogs @ once across ALL functions - Removed auto-fire parameter, replaced via $(e).jqm().jqmShow() - Removed $.jqmClose() - Removed wrapClass parameter, updated base CSS * CSS z-index value takes priority over zIndex parameter * Triggers can hide, show, or hide AND show jqModals * Overlays+IE6 iframe are now fixed positioned - support for ie6 quirks + standards mode * Internal Improvements, no event data Well, I guess we now have the EXT widgets to look forward to :) .. but the good news is that I was able to accomplish all these changes in 120 bytes -- so we're still looking at a 3k full featured dialog plugin. Enjoy, ~ Brice ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ may i say wow :) At first the hourglass cursor threw me off with the modal example but it's a nice find to show the underlying page is inaccessable. And your code still looks so clean. even the css is clearner than before or is it just my imagination. Nice work. -- David Duymelinck [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/