Re: [jQuery] Losing height value

2007-02-23 Thread Joel Birch
On 23/02/2007, at 6:52 PM, Joel Birch wrote: What's the best way to get around this? Should I try re-applying the height value after the animation has finished? No, please first try my suggestion - if that doesn't work, we can revisit the problem. Sorry - I realised I'm wrong - other

Re: [jQuery] dimensions.js lesson needed

2007-02-23 Thread Andreas Wahlin
http://layout.constantology.com/ seems to build off of yui, I haven't invested a lot of time comparing them, but the little time i put in says to me that ___layouts fits me better :) andreas On Feb 21, 2007, at 22:11 , rolfsf wrote: Thanks Brandon, I'll look through the YUI grids...

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Andreas Wahlin
This looks really cool, and I hope I can use it some day :D Just an issue/small question though, in Safari, the select-tags gets dimmed for just an instant, and then shine through the block, is this a little bug? andreas ___ jQuery mailing list

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Alexandre Plennevaux
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

Re: [jQuery] Losing height value

2007-02-23 Thread Yansky
Thanks, the IE hack works fine, but for some reason, adding a minimum height to the div seems to stuff up the animation. Rather than sliding down/up, the div contents just suddenly appear. Here it is with a minimum height value: http://34r34r.dreamhosters.com/newdesign/slidetest.html Without:

Re: [jQuery] Losing height value

2007-02-23 Thread Joel Birch
You are right there. I'll put my thinking cap on - but I have to go out now so I'm afraid I won't be able to reply soon. Maybe Klaus can think of a workaround off the top of his head. Obviously the min- height is not allowing the smaller heights needed during the animation. Will check in

Re: [jQuery] Reference to newly inserted item?

2007-02-23 Thread Dave Treagust
Hi I found this reply really useful.. Event handlers are not preserved when cloning elements. So: * you can reassign the event handlers to the cloned elements or * you can use the copyEvents plugin: http://www.learningjquery.com/2007/01/copy-events-from-one-element-to-another

Re: [jQuery] Losing height value

2007-02-23 Thread Klaus Hartl
Joel Birch schrieb: You are right there. I'll put my thinking cap on - but I have to go out now so I'm afraid I won't be able to reply soon. Maybe Klaus can think of a workaround off the top of his head. Obviously the min- height is not allowing the smaller heights needed during the

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Harald Dietrich
Thanks Mike, that's great. I am writing a kind of portal server, that makes heavily use of Ajax. I want to disable portlet windows while updating the content. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Alsup Sent: Donnerstag, 22. Februar 2007

Re: [jQuery] Losing height value

2007-02-23 Thread Dave Treagust
Hi Could you not use a transparent 1x1 gif image inside each div that you want to set the height for, and set the height for each gif Something we used todo in the old days for getting table layouts to position correctly :) --Triggsley-- Joel Birch schrieb: You are right

Re: [jQuery] Dynamicly adding tabs?

2007-02-23 Thread Mikael Noone
On 2/22/07, Klaus Hartl [EMAIL PROTECTED] wrote: Mikael Noone schrieb: Hi there, Is it perhaps possible to add tabs to the tab plugin dynamicly? If so, that would be a really usefull feature. What do you think? aint it a good idea? /Mikael. Yeah, thats on my list already. After

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Klaus Hartl
Rey Bango schrieb: Will it have the same effect as what Mike has done where it explicitly blocks it out in an obvious way? Rey... With elements disabled you won't be able to tab into or focus them (not sure, I think in IE you can still focus them but can't do anything of course). The one

Re: [jQuery] How to add event handler to XMLHttpRequest.onreadystatechange?

2007-02-23 Thread Klaus Hartl
George Adamson schrieb: Thanks for the code Klaus. Nice idea... When I tried this, the ajax call worked but the xhr.onreadystatechange is 'undefined' so I cannot do anything with it. (I got the samer error when trying to use a function in the 'beforeSend' ajax argument.) Does Jquery

[jQuery] Thickbox and FF Mac

2007-02-23 Thread Seb Duggan
I've got a site which uses a Thickbox gallery at: http://www.dnesd.com The pictures down the right hand side link to a Thickbox gallery. It all works fine, except for in Firefox Mac (2.0.0.1), where for some reason the background doesn't cover the whole window. For those who don't have a

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Mikael Noone
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

Re: [jQuery] Thickbox and FF Mac

2007-02-23 Thread Schnuck
it might sound stupid but i believe thickbox is meant to be working like this. sure, it re-centers the image in realtime when resizing the window but it does not do that with the overlay. same happens on the official thickbox page in firefox AND safari. On 23/02/07, Seb Duggan [EMAIL PROTECTED]

Re: [jQuery] Dynamicly adding tabs?

2007-02-23 Thread Klaus Hartl
Mikael Noone schrieb: Yeah, thats on my list already. After Thickbox Reloaded, I have planned to completely rewrite Tabs for Tabs 3 with all these requirements in mind... - adding tabs, mixed Ajax/inline content tabs, you name it. That is super! Will it expand the size of the

Re: [jQuery] non AJAX request

2007-02-23 Thread Edwin Martin
Brian Ronk wrote: Guess I'm forgetting the meaning of a/synchronous. Synchronous means the function returns when all data is received. Meanwhile, the page is not interactive. The beauty of asynchronous (the first A of AJAX) is that the function returns right after the request and all

Re: [jQuery] Thickbox and FF Mac

2007-02-23 Thread Seb Duggan
I see what you mean about the resizing, but this happens even without resizing the window. If you set the window so it's bigger than the content (before loading the page!) the Thickbox background overlay only goes down as far as the bottom of the content, not the bottom of the window (as in

Re: [jQuery] Thickbox and FF Mac

2007-02-23 Thread Schnuck
you can always feed thickbox.js with static figures of width height of the page rather then letting the script calculate the window dimensions dynamically. give the overlay a size of 2400px x 2400px and it should always cover the whole window...? On 23/02/07, Seb Duggan [EMAIL PROTECTED] wrote:

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
That was it, Daemach! Oh brother, something so simple. I just couldn't see it! Good catch, Daemach! I went to bed last night disappointed that even my simplest try at ajax didn't work! Good way to start the day, however! Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: [jQuery] How can I create a (style) .class dynamically?

2007-02-23 Thread Sam Collett
On 23/02/07, Benjamin Sterling [EMAIL PROTECTED] wrote: well, you can append to the head, example: http://ov-staging.informationexperts.com/e.htm script type=text/javascript $(document).ready(function(){ $('head').append('stylebody{background:#000;}/style'); }); /script This does not

Re: [jQuery] Losing height value

2007-02-23 Thread Yansky
Ah right, like http://alistapart.com/articles/fauxcolumns/ Faux Columns . I'll give it a shot. Thanks for reminding me, I had totally forgotten about that technique. triggsley wrote: Hi Could you not use a transparent 1x1 gif image inside each div that you want to set the

Re: [jQuery] Calendar with ajax w/o refresh whole page question

2007-02-23 Thread sebastianw wurtz
here is what im doing http://www.belarsoluciones.com.ar/calendar/ if any1 want to see the calendar.php can download at http://www.belarsoluciones.com.ar/calendar/calendar.txt - Original Message - From: Benjamin Sterling To: jQuery Discussion. Sent: Thursday, February 22, 2007 11:46

Re: [jQuery] Reference to newly inserted item?

2007-02-23 Thread Brandon Aaron
Hey Dave, I'm glad to hear you are using the Copy Events plugin. There is a new version in SVN which is compatible with both 1.1.1(and less) and the nightlies of jQuery. Just wanted to give you heads up so that when you upgrade to the latest jQuery, you know you need to also upgrade to the latest

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
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

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Benjamin Sterling
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

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Mike Alsup
Just an issue/small question though, in Safari, the select-tags gets dimmed for just an instant, and then shine through the block, is this a little bug? Thanks for the feedback, Andreas. I'm using a z-index of 500 for the iframe, perhaps that's not high enough in Safari? Anyone know? The

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Mike Alsup
http://dev.iceburg.net/jquery/jqModal/ Awesome work, Brice! ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Release: jQueryHelp - code reference application

2007-02-23 Thread Andy Matthews
Will this automatically load in updates when new versions are released? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean O Sent: Thursday, February 22, 2007 2:03 PM To: discuss@jquery.com Subject: Re: [jQuery] Release: jQueryHelp - code reference

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
Oh no...that wasn't me Rey, just to be fair. I can't recall who did it, but it wasn't me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango Sent: Thursday, February 22, 2007 10:38 PM To: jQuery Discussion. Subject: Re: [jQuery] Best way to do

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Kelvin Luck
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

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
Michael... You probably shouldn't be using cfdump on your output page. That includes loads of javascript, extra styles and lots of HTML crap. You'd be better off using cfoutput or calling your CFC directly. _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael E.

Re: [jQuery] Dynamicly adding tabs?

2007-02-23 Thread Mikael Noone
Mikael Noone schrieb: Yeah, thats on my list already. After Thickbox Reloaded, I have planned to completely rewrite Tabs for Tabs 3 with all these requirements in mind... - adding tabs, mixed Ajax/inline content tabs, you name it. That is super! Will it expand the size of the

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
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

Re: [jQuery] Reference to the last DIV in a group?

2007-02-23 Thread Joan Piedra
Also try this, it will just take the last div.sidebarToDo _inside_ #todoList. $('#todoList div.sidebarToDo:last'); On 2/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a main div, with id= todoList, and within it, a number of DIVs, all with classes sidebarToDo. Let's say

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Chris Ovenden
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

Re: [jQuery] Release: jQueryHelp - code reference application

2007-02-23 Thread Wil Stuckey
That's pretty sweet. Now who's going to build the quicksilver plugin? :) -w ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brandon Aaron
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

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
Rey... I'm afraid the quickstart tutorial you pointed me to won't be of any help right now...I'm still using CF 4.5, so CFC's are not part of my arsenal... Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, February 23,

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Rick Faircloth
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.

Re: [jQuery] Release: jQueryHelp - code reference application

2007-02-23 Thread Brandon Aaron
On 2/23/07, Wil Stuckey [EMAIL PROTECTED] wrote: That's pretty sweet. Now who's going to build the quicksilver plugin? :) WOOT! -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Rey Bango
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

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Rey Bango
Hi Klaus, Thanks for the feedback. The control over the presentation is what I'm trying to achieve. Thanks Mike! Rey Klaus Hartl wrote: Rey Bango schrieb: Will it have the same effect as what Mike has done where it explicitly blocks it out in an obvious way? Rey... With elements

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
For some reason I thought it was you. My apologies to the original author. Rey Andy Matthews wrote: Oh no...that wasn't me Rey, just to be fair. I can't recall who did it, but it wasn't me. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rey Bango

Re: [jQuery] Reference to the last DIV in a group?

2007-02-23 Thread John Resig
A completely different option is to write your code in reverse: $('div class=sidebarToDo width=100%Hello/div') .appendTo(#todoList) .slideDown(slow); In this case, the slideDown will effect the last element in the todoList (the one you just added). Just something to consider :-) --John

Re: [jQuery] dimensions.js lesson needed

2007-02-23 Thread rolfsf
Thanks Andreas - looks like a cool system, and I'll definitely play with it But, I still don't see how I'm going to get both the left and right columns to autoscroll independently in a 100% width (flexible) container. I had to set that problem aside for a couple days, but I'll get back to it.

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
Yep, then pointing to a CFM page is your best bet. Just link to a CFM page, cfoutput all of the required data and go from there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Friday, February 23, 2007 9:10 AM To: 'jQuery

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
No way! CF 4.5??? Dude, I have a copy of CF 5.0 Enterprise just sitting on my shelf collecting dust. Let me know if you want it and I'll send it to you. :) Also, it sounds like Daemach helped you. If you need another example, sans CFCs, let me know and I'll whip something up. Rey Rick

[jQuery] bassistance.de Jorn's form validation requirements

2007-02-23 Thread Web Specialist
Hi, do you know the requirements to use Jorn's form validation plugin( http://bassistance.de/jquery-plugins/jquery-plugin-validation/)? Looks like several files needed to run. Exists a lite version? Cheers ___ jQuery mailing list discuss@jquery.com

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Benjamin Sterling
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

Re: [jQuery] How can I create a (style) .class dynamically?

2007-02-23 Thread Daemach
This worked forff2 - I was using #head when I tried this earlier ;) bmsterling wrote: well, you can append to the head, example: http://ov-staging.informationexperts.com/e.htm script type=text/javascript $(document).ready(function(){

Re: [jQuery] How can I create a (style) .class dynamically?

2007-02-23 Thread Daemach
Thanks Karl - Karl Rudd wrote: Under IE you can use createStyleSheet() and cssText: var s = document.createStyleSheet().cssText = '.something { color: red }'; More info can be found here: http://www.quirksmode.org/dom/changess.html Karl On 2/23/07, Benjamin Sterling

Re: [jQuery] How can I create a (style) .class dynamically?

2007-02-23 Thread Daemach
Thanks! Sam Collett wrote: On 23/02/07, Benjamin Sterling [EMAIL PROTECTED] wrote: well, you can append to the head, example: http://ov-staging.informationexperts.com/e.htm script type=text/javascript $(document).ready(function(){ $('head').append('stylebody{background:#000;}/style');

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
It's all good. Credit where credit is due my friend. Andy Matthews Senior Coldfusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com -Original Message- From: [EMAIL PROTECTED]

Re: [jQuery] BlockUI like plugin for divs

2007-02-23 Thread Sam Collett
On 23/02/07, Mike Alsup [EMAIL PROTECTED] wrote: Just an issue/small question though, in Safari, the select-tags gets dimmed for just an instant, and then shine through the block, is this a little bug? Thanks for the feedback, Andreas. I'm using a z-index of 500 for the iframe, perhaps

[jQuery] thickbox bug

2007-02-23 Thread Alexandre Plennevaux
i think i've found a bug in thickbox: you cannot disable the default behavior of an anchor link if you give it the thickbox class. so this does not work: a class=thickbox onclick=return confirm('launch google?') href=HYPERLINK

Re: [jQuery] bassistance.de Jorn's form validation requirements

2007-02-23 Thread Jörn Zaefferer
Web Specialist schrieb: Hi, do you know the requirements to use Jorn's form validation plugin(http://bassistance.de/jquery-plugins/jquery-plugin-validation/)? Looks like several files needed to run. Exists a lite version? The plugin has only one required dependency, jQuery itself. In case

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Jörn Zaefferer
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?

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Jörn Zaefferer
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

Re: [jQuery] bassistance.de Jorn's form validation requirements

2007-02-23 Thread Web Specialist
Thanx Jorn. I'm playing with validation plugin now; ;-) Great piece of code! Cheers 2007/2/23, Jörn Zaefferer [EMAIL PROTECTED]: Web Specialist schrieb: Hi, do you know the requirements to use Jorn's form validation plugin(http://bassistance.de/jquery-plugins/jquery-plugin-validation/)?

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Rick Faircloth
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

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
Yes, it's true... up to this point, 4.5 has always been able to do everything I've needed. However, now I'm finding myself so far behind functionally that I can't discuss programming solutions with other programmers. Yes, Daemach has been helping me, and so has Michael Carluen. He sent detailed

[jQuery] Running a function when something changes...

2007-02-23 Thread Nicolas Hoizey
In a page that gets modified by ajax calls, I would like to run my own function after each change. My function does ajax calls, so if I use the ajaxSuccess binding, it goes recursively and crash... Any idea? -Nicolas -- Nicolas Brush HOIZEY Clever Age : http://www.clever-age.com/

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Daemach
It looks ok to me, though I don't see that syntax very much to init jQuery. I usually use: script type=text/javascript $(document).ready( function() { $(#User_ID).change( function() { var User_ID = $(this).val(); $(#mycfpagecontent).load(mycfpage.cfm?User_ID= +

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Daemach
Was the example I emailed ok Rey? Let me know if you need something else. I chose the addRows example because it involved something cf programmers are familiar with, namely dumping a query into a table. It took me a while to figure out how to do that with DOM programming and with jQuery. I

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
Yep, what you'll need to do is output the query using cfoutput. You'll want to format the outputted data in either CSS or a plain ole table. You can also see if this will work with CF 4.5: http://www.cflib.org/udf.cfm?ID=548 Its mimics cfdump but I can't remember is CF 4.5 supports UDFs. My

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
You don't want cfdump. Use cfoutput instead. You might have to do some basic formatting, but that's not a big deal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Friday, February 23, 2007 10:52 AM To: 'jQuery Discussion.' Subject:

Re: [jQuery] jQuery API in PDF Format

2007-02-23 Thread Rey Bango
Thanks Sam! I wasn't aware you were collecting this! This is great info. Rey Have updated my post listing different versions of the documentation (on there is also links to another PDF of the API and PDF cheat sheets (although they are out of date, there are links to updated HTML versions

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
You're right... I tried that and it worked! Sniff...sniff...my first ajax application...I'm so proud. ;o) Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, February 23, 2007 12:16 PM To: 'jQuery Discussion.' Subject: Re:

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Choan C. Gálvez
On 2/23/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: In a page that gets modified by ajax calls, I would like to run my own function after each change. My function does ajax calls, so if I use the ajaxSuccess binding, it goes recursively and crash... Any idea? Untested, but reading the code

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
I haven't tried it out just yet but will do that later on today. Thanks for getting that to me. A good CF-based Taconite example will go a long way to getting some good examples into the new AjaxCFC for jQuery. I had dinner with Rob Gonda last night and put the pressure on him to get it out

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
It works! When I changed the cfdump to cfoutput query = etc., it worked fine. Thanks, Daemach! Rick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daemach Sent: Friday, February 23, 2007 12:10 PM To: discuss@jquery.com Subject: Re: [jQuery] Best way

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
LOL! Congrats man. I felt the same way when I made my first Ajax app. Now aren't you glad that you have the best Ajax/JS library at your disposal along with some of the best CF coders to help you knock it out? ;) Rey... Rick Faircloth wrote: You're right... I tried that and it worked!

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Priest, James \(NIH/NIEHS\) [C]
-Original Message- From: Rey Bango [mailto:[EMAIL PROTECTED] the new AjaxCFC for jQuery. I had dinner with Rob Gonda last night and put the pressure on him to get it out the door. Yeah - hurry up :) I'm getting ready to work on my first jQuery/AjaxCFC app - but I won't be able

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Blair Mitchelmore
Functions in JavaScript run at a certain scope. A lot of the time, if the function isn't a part of some Object that scope defaults to the window object. All JavaScript functions also have two functions that allow you to redefine the scope of a function as you call it: apply and call. apply

[jQuery] How do I grab just the selected objects out of the jquery object?

2007-02-23 Thread Daemach
I got burned by a debug plugin last night so I'm modifying a great object dumper to run as a jquery plugin. Dumping the entire jquery object is too much and not useful for this application - I only want the objects in the current selection set. If I do: var tmp = $(p); and there are 2 p

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rick Faircloth
Now aren't you glad that you have the best Ajax/JS library at your disposal along with some of the best CF coders to help you knock it out? ;) Absolutely! I've just got to figure out how to apply this in some of my apps. I just need to figure out how to combine some of this with the jqModal

[jQuery] How do I check for the existence of an object?

2007-02-23 Thread Daemach
I want to create a global object to store some settings in, but only if it doesn't exist already. If it doesn't exist and I try to use something like if (myObj == 'undefined') myObj = new Object(); I get an error saying the object is not defined. Yeah I should know stuff like this ;) -- View

Re: [jQuery] How do I grab just the selected objects out of the jquery object?

2007-02-23 Thread Blair Mitchelmore
$(p).get() returns a regular array with the jQuery set as its members. -blair Daemach wrote: I got burned by a debug plugin last night so I'm modifying a great object dumper to run as a jquery plugin. Dumping the entire jquery object is too much and not useful for this application - I only

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Daemach
OK I get it now :) Thanks very much for your indulgence. Your post is timely, of course - I just ran into another problem while trying to convert my code into a plugin. I'm trying to create a plugin that allows me to do something like this: $(input).autoSave(function(){ ajax code goes

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Rey Bango
Found out about the upgrade price and let me know. Rey Rick Faircloth wrote: Thanks for the offer for CF 5, Rey. Since I'm planning to upgrade to CF 8 in the summer and using CF 5 would involve installing it on my production server, too, do you think I should still upgrade to CF 5? One

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Michael E. Carluen
Alright Rick! Now it's a whole new world ahead of you. From this point, I guarantee you'll change how you design and code your apps. Man, I am just amazed how you're getting all the mileage from that box of 4.5 you have. jQuery's ajax implementation is definitely one of the catalysts I've had.

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Daemach
This last example helped. I think I have it now :) jQuery.fn.autoSave = function(fcn,settings) { settings = jQuery.extend({ delay: 600, beforeClass: asBefore, afterClass: asAfter }, settings);

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Daemach
Bleh. When I pass a function in via the plugin's method with the below code, it doesn't recognize the this scope anymore. Am I not passing the function in correctly? $('input:[EMAIL PROTECTED]').each( function() { $(this).autoSave(function(){ $.AjaxCFC({

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Daemach
Bleh. When I pass a function in via the plugin's method with the below code, it doesn't recognize the this scope anymore. Am I not passing the function in correctly? $('input:[EMAIL PROTECTED]').each( function() { $(this).autoSave(function(){ $.AjaxCFC({

[jQuery] Incompatibilities with IE: Selection and Range Object (not jQuery related).

2007-02-23 Thread Abel Tamayo
Hi all, I'm trying to create a plugin for jQuery that willlet you edit text in an iFrame like it was a text processor, but I need to work with ranges and selections and, while this is extremely easy with W3C compliant browsers, Adapting the work to IE is a real pain. What I need to know is the

Re: [jQuery] How do I grab just the selected objects out of the jquery object?

2007-02-23 Thread Klaus Hartl
Blair Mitchelmore schrieb: $(p).get() returns a regular array with the jQuery set as its members. -blair And with FireBug you are done with: console.log( $('p') ); -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] How do I check for the existence of an object?

2007-02-23 Thread Klaus Hartl
Daemach schrieb: I want to create a global object to store some settings in, but only if it doesn't exist already. If it doesn't exist and I try to use something like if (myObj == 'undefined') myObj = new Object(); I get an error saying the object is not defined. Yeah I should know stuff

Re: [jQuery] How do I check for the existence of an object?

2007-02-23 Thread Mike Alsup
if (myObj == 'undefined') myObj = new Object(); I get an error saying the object is not defined. Try this instead: if (typeof myObj = 'undefined') myObj = {}; ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Gmail-style updates

2007-02-23 Thread Blair Mitchelmore
I think your problem might be that in your autosave plug-in you call fcn directly. Try running fcn.apply(this) instead to manually adjust the scope so 'this' references the DOM element again. -blair Daemach wrote: Bleh. When I pass a function in via the plugin's method with the below code,

Re: [jQuery] How do I check for the existence of an object?

2007-02-23 Thread Blair Mitchelmore
You can do (typeof myObj == 'undefined') and I think you can also do (myObj == undefined) thanks to the completely mind-blowing line of code at the beginning of jQuery window.undefined = window.undefined; -blair Daemach wrote: I want to create a global object to store some settings in,

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Nicolas Hoizey
You can use ajaxSuccess but go ahead and take advantage of the settings object. Something like: $().ajaxSuccess(function(e, xhr, settings) { if (settings.myTag) return; // do your extra work and call ajax $.ajax({ myTag: 1, url: blah.php, type: 'post'

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Andy Matthews
You might be able to but I think that Adobe and Macromedia both had policies that you couldn't upgrade from more than two versions back. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Friday, February 23, 2007 12:01 PM To: 'jQuery

Re: [jQuery] How do I check for the existence of an object?

2007-02-23 Thread Daemach
Thanks all! Daemach wrote: I want to create a global object to store some settings in, but only if it doesn't exist already. If it doesn't exist and I try to use something like if (myObj == 'undefined') myObj = new Object(); I get an error saying the object is not defined. Yeah I

Re: [jQuery] Best way to do AJAX... CF or jQuery?

2007-02-23 Thread Smith, Allex
http://www.adobe.com/products/coldfusion/productinfo/product_editions/#s 3 :( -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Friday, February 23, 2007 11:20 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Best way to do AJAX... CF

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Nicolas Hoizey
$().ready(function(){ $().ajaxStart($.blockUI).ajaxStop($.unblockUI); }); Maybe ajaxStop is better than ajaxSuccess for my needs, but I don't need to block the UI. -Nicolas -- Nicolas Brush HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos

Re: [jQuery] jqModal r7 release!

2007-02-23 Thread Brice Burgess
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

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Mike Alsup
The settings object is a new object for each call to $.ajax. You should be able to use this technique. The thing is that I have to run my function each time the element is updated. If I set myTag to 1 on first run, it will never run again. ___

Re: [jQuery] Running a function when something changes...

2007-02-23 Thread Nicolas Hoizey
Untested, but reading the code I assume this would work: $(#something).ajaxSuccess(fn); function fn(r, s) { $(this).unbind(ajaxSuccess); // do what you want, then rebind $(this).ajaxSuccess(fn); } It seems unbind doesn't work on ajaxSuccess or ajaxStop... -Nicolas -- Nicolas

  1   2   >