jQuery alternative to cfwindow?
Is there a library or simple method to duplicate what cfwindow does with jQuery? I'm on an older version of CF and like the modal pop-up window cfwindow creates. If this is an option in jQuery could someone point me to an example? Thank you ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334637 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: jQuery alternative to cfwindow?
If you're writing an entire app then you might consider jQuery UI which has widgets like that. Alternately ExtJS (now Sencha) offers the same widgets along with a LOT more stuff. andy -Original Message- From: Joe None [mailto:drue...@comcast.net] Sent: Friday, June 18, 2010 6:14 AM To: cf-talk Subject: jQuery alternative to cfwindow? Is there a library or simple method to duplicate what cfwindow does with jQuery? I'm on an older version of CF and like the modal pop-up window cfwindow creates. If this is an option in jQuery could someone point me to an example? Thank you ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334638 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jQuery alternative to cfwindow?
I'll ditto the jQuery UI suggestion. Here is a blog article on it that may help: http://www.coldfusionjedi.com/index.cfm/2009/2/2/Creating-a-Dialog-with-jQuery-UI-2 On Fri, Jun 18, 2010 at 6:24 AM, andy matthews li...@commadelimited.com wrote: If you're writing an entire app then you might consider jQuery UI which has widgets like that. Alternately ExtJS (now Sencha) offers the same widgets along with a LOT more stuff. andy -Original Message- From: Joe None [mailto:drue...@comcast.net] Sent: Friday, June 18, 2010 6:14 AM To: cf-talk Subject: jQuery alternative to cfwindow? Is there a library or simple method to duplicate what cfwindow does with jQuery? I'm on an older version of CF and like the modal pop-up window cfwindow creates. If this is an option in jQuery could someone point me to an example? Thank you ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334639 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jQuery alternative to cfwindow?
Thanks for the tips guys. What I like about cfwindow though is it has the modal option AND I can pass a variable into it. I'll take the variable sent in and custom the cfwindow, as well as track certain data from the cfwindow. This may be a bit too much to ask from jQuery. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334640 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jQuery alternative to cfwindow?
Nope not at all. jQuery UI dialog has a modal property, and if you are loading the contents of the dialog via AJAX request, you can pass any data you like in the request. On Fri, Jun 18, 2010 at 8:23 AM, Joe None drue...@comcast.net wrote: Thanks for the tips guys. What I like about cfwindow though is it has the modal option AND I can pass a variable into it. I'll take the variable sent in and custom the cfwindow, as well as track certain data from the cfwindow. This may be a bit too much to ask from jQuery. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334642 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jQuery alternative to cfwindow?
http://cfwindow.riaforge.org/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334643 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: jQuery alternative to cfwindow?
The cfwindow example on riaforge looks good and the load external URL would work great. I'll give this one a shot. Again, thanks for the help guys. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334644 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: alternative to cfwindow
Yes, with Ext it's fairly easy: var calWin = new Ext.Window({ title: 'Calendar', contentEl: 'calendarDiv', // This is a hidden div (class=x-hidden) on the page, containing your calendar width: 200, height: 200, modal: true, border: true }); calWin.show(); Steve Cutter Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer Co-Author of Learning Ext JS http://www.packtpub.com/learning-ext-js/book _ http://blog.cutterscrossing.com ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324046 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: alternative to cfwindow
Thanks, Cutter, I need to go a step above that with Ext. What I'd like to do is: launch two windows (one main with attribute show=true and the other small one with attribute show=false) then upon certain event or its trigger, send one form element to the small window (its underlying cf script), then, run a query, change the attribute show to true and display data while main window stays open, so the small window sort is floating over the main one. Easy to do with cf8 but haven't found helpful resources to do the same with EXT. Currently I'm using ColdExt for window management, the starter question is, how to create an Ext js function similar to cf8's ColdFusion.navigate, which would submit the form, and then, I could reference the var for the small window and use the Ext method of show to display it, like varSmallWin.show(); Or alternatively, lauch main window, upon an event trigger launch the small window and send a form element to the small win and have it float over the main window. Much appreciated. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324048 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
alternative to cfwindow
I'm wondering with ext:window if we can load up a small window floating over main window (with cf8, yes one can), so as to pop up a tiny floating calendar based on need. Or other options to do that? Thanks. Don ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324031 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4