[jQuery] $() and many objects? - architecture related

2007-09-02 Thread R. Rajesh Jeba Anbiah
I'm little confused with the architecture of jquery. I tried to understand it with Firebug, but I'm lost as it's just showing this tree. As far as I understand, $() creates a new jQuery object. So, if we use $() many times, will it create as many objects for it? TIA -- ?php echo

[jQuery] Rey Bango is now Ajaxian

2007-09-02 Thread R. Rajesh Jeba Anbiah
Usually, he'll be posting this sort of links/news; now for a change, I'm doing;) http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!comBlog: http://rajeshanbiah.blogspot.com/

[jQuery] Re: How do i get the hover effect working with fadeIn?

2007-09-02 Thread Mark
anyone?

[jQuery] Re: MooTools $events expando workaround

2007-09-02 Thread Rey Bango
Hi Olmo, I'll add a signature from now on it seems. Thanks. That helps out quite a bit. Kind of like I did when I posted in the MooTools forum. Its always good to let people know where you're coming from. I don't need to waste my time in trying to lecture you. Should have known better.

[jQuery] Re: Rey Bango is now Ajaxian

2007-09-02 Thread Rey Bango
*blushes*. Thanks Rajesh. :) Rey.. R. Rajesh Jeba Anbiah wrote: Usually, he'll be posting this sort of links/news; now for a change, I'm doing;) http://ajaxian.com/archives/introducing-the-latest-ajaxan-rey-bango -- ?php echo 'Just another PHP saint'; ? Email: rrjanbiah-at-Y!com

[jQuery] Re: animate() canceling

2007-09-02 Thread emi polak
Hey Eric, that works like a charm. Thank you so much! Emi Polak On 9/2/07, Erik Beeson [EMAIL PROTECTED] wrote: In fact, if you find yourself wanting to do a lot of stuff when scrolling has stopped, you could add an event for it (again, untested): (function($) { var scrollTimeoutID;

[jQuery] Re: Instant Messaging Capabilities

2007-09-02 Thread John Resig
The home of yShout is at http://yurivish.com/yshout/ Yuri only requires a small donation and he will send you the link to a zip file. Um, that's not really a donation then, is it? --John

[jQuery] iframe + security (can be improved by jQuery/Ajax?)

2007-09-02 Thread howa
Hello, Consider a blog apps like Blogger, you have a site like http://abc.blogspot.com each time, you want to leave a comment for an article, you will be redirected to another page under the blogger domain, e.g. https://www.blogger.com/comment.g. I think one of the reason why Blogger

[jQuery] Re: Instant Messaging Capabilities

2007-09-02 Thread Felix Geisendörfer
Um, that's not really a donation then, is it? --John This probably needs a new / better term. I read a while ago about some independent musician making more money then he/she'd make on iTunes by letting the people decide how much they pay for it. Theoretically you could 'donate' $0.01.

[jQuery] Re: Instant Messaging Capabilities

2007-09-02 Thread Joel Birch
John Resig wrote: The home of yShout is at http://yurivish.com/yshout/ Yuri only requires a small donation and he will send you the link to a zip file. Um, that's not really a donation then, is it? --John No, it doesn't really seem like donation is the completely accurate word for this. It

[jQuery] Re: Rey Bango is now Ajaxian

2007-09-02 Thread Joel Birch
Congrats Rey! Joel.

[jQuery] Re: $() and many objects? - architecture related

2007-09-02 Thread Michael Geary
From: R. Rajesh Jeba Anbiah I'm little confused with the architecture of jquery. I tried to understand it with Firebug, but I'm lost as it's just showing this tree. As far as I understand, $() creates a new jQuery object. So, if we use $() many times, will it create as many

[jQuery] Re: Instant Messaging Capabilities

2007-09-02 Thread John Resig
My opinion is that the word payment is more than adequate for this situation. I really do wonder how low he will go, considering jQuery and its countless plugins are offered for free? ;) That's what confuses me - it use to be open source/free software, back when he first released it. But now

[jQuery] Re: accordian and interface conflict

2007-09-02 Thread Jörn Zaefferer
jman schrieb: Hi, I am not sure if this is talked about elsewhere, but I have a problem using accordian 1.5 with the interface plugin. The problem is that when I click to open a different part of the accordian it does not show up. Following it in firebug the code jumps to the interface plugin

[jQuery] Re: [Solved]Re: How to use Form Plugin and ValidationAide Plugin

2007-09-02 Thread Jörn Zaefferer
Massimiliano Marini schrieb: Hi Jorn, this code works perfectly but I can manage the ajax response, a simple json d,ata like in your example, firebug show me the response but I can't manage why? My code is like your code ... but mine don't work. Any suggest will be appreciated. I've

[jQuery] document.ready in jQuery 1.1.4 - IE and FF inconsistent behavior

2007-09-02 Thread Pops
Hi, A number of folks have independently come across this issue. What I would like to hear from John Resig or from other team members if the change was intentional? and why? In short, what I found is that $(document).ready() behaves differently in 1.1.4 for FF and IE. In appears to me that

[jQuery] Problem with jQuery .load() in IE

2007-09-02 Thread munky
When clicked on link 1.stāvsit doesn't load anything ands show error on line: 1 char: 1 error: syntax error. Could not complete operation due to error 80020101. Example page: http://saite.fyfi.net/lat/info/apskatit-kvartalu/silmalu-17/

[jQuery] Re: $() and many objects? - architecture related

2007-09-02 Thread R. Rajesh Jeba Anbiah
On Sep 2, 9:48 pm, Michael Geary [EMAIL PROTECTED] wrote: From: R. Rajesh Jeba Anbiah I'm little confused with the architecture of jquery. I tried to understand it with Firebug, but I'm lost as it's just showing this tree. As far as I understand, $() creates a new jQuery

[jQuery] Re: document.ready in jQuery 1.1.4 - IE and FF inconsistent behavior

2007-09-02 Thread John Resig
Can you post this to the jquery-dev list as opposed to the general discussion list? Thanks. http://groups.google.com/group/jquery-dev --John On 9/2/07, Pops [EMAIL PROTECTED] wrote: Hi, A number of folks have independently come across this issue. What I would like to hear from John Resig

[jQuery] Re: document.ready in jQuery 1.1.4 - IE and FF inconsistent behavior

2007-09-02 Thread Pops
Done John. Thanks -- HLS On Sep 2, 2:09 pm, John Resig [EMAIL PROTECTED] wrote: Can you post this to the jquery-dev list as opposed to the general discussion list? Thanks.http://groups.google.com/group/jquery-dev --John On 9/2/07, Pops [EMAIL PROTECTED] wrote: Hi, A number of

[jQuery] Re: Using setTimeout()

2007-09-02 Thread barophobia
On 9/1/07, Michael Geary [EMAIL PROTECTED] wrote: Also, it looks like you have a race condition. What happens if the entire AJAX request completes in less than 100 milliseconds? I assumed that $.ajaxStart() would be canceled and $.ajaxStop() would execute. I looked over your code but I don't

[jQuery] Re: Using setTimeout()

2007-09-02 Thread Erik Beeson
If ajaxStop is called before the setTimeout callback in ajaxStart is run, active will be false, so the addClass() on line 9 won't get executed. Without this, if ajaxStop ran before the setTimeout callback, the removeClass() would happen before the addClass(), so the class would never get removed.

[jQuery] browser compatibility issue with jQuery(this).attr(href);

2007-09-02 Thread Am Khan
Hello, I wrote a script that starts like this: jQuery('/html/body//[EMAIL PROTECTED]//a').each(function(i){ var $hr = jQuery(this).attr(href); .)}; What I noticed is the following for relative (ex: href=/mypage) URLs: var $hr = this.href; //returns URL with http://

[jQuery] Re: Using setTimeout()

2007-09-02 Thread Michael Geary
From: Michael Geary Also, it looks like you have a race condition. What happens if the entire AJAX request completes in less than 100 milliseconds? http://www.pastebin.ca/678318 From: barophobia I assumed that $.ajaxStart() would be canceled and $.ajaxStop()

[jQuery] IE bug ajax

2007-09-02 Thread sourrisseau
Hello, it's the second time a send this message . But I can't see the first one ... so sorry if you find it two time ... My code work very well with mozilla but I doesn't with IE , I received always the error message, if somme one could help me ... /* Variable global */ var idFormat=new

[jQuery] IE ajax bug ....

2007-09-02 Thread sourrisseau
Hello , Firstable , sorry for my English ... I'm French and for me it's not simple to write this language. I have a problem with IE when I used $.ajax fonction. /* Variable global */ var idFormat=new Array(); var largeur=new Array(); var hauteur=new Array() $(document).ready( function(){

[jQuery] a problem with 1.1.4 and binding click function

2007-09-02 Thread NccWarp9
I dont know if this is a problem in jquery or have I did something wrong. Please take a look at this code it is for a gallery of a sort, What I want to achieve is that when image with class poster_image is clicked the div with class poster_info is shown. But what happens is that there are more of

[jQuery] events in external ajax loaded files

2007-09-02 Thread notebook20000
Hello, i have some problems:) i want to load an loginequester into my page: function loadLoginbox(Target) { $(Target).load(index.php?m=loginc=loadLoginbox); } the loginbox is loaded but no events run.( $('#openLogoutbox').click(function() {

[jQuery] Re: A Newbie Question

2007-09-02 Thread Mark
Another common solution is to have an image or a div that you just show while loading and hide using the callback function... script type=text/JavaScript $(document).ready(function(){ $('#loadImg').show(); var fCallback = function(){ $('#loadImg').hide(); } $(#show).load(file.php,

[jQuery] Re: IE bug ajax

2007-09-02 Thread Rey Bango
Whats the error message you're receiving? Rey... sourrisseau wrote: Hello, it's the second time a send this message . But I can't see the first one ... so sorry if you find it two time ... My code work very well with mozilla but I doesn't with IE , I received always the error message, if

[jQuery] Re: HTML in Ajax XML response

2007-09-02 Thread atomicnuke
Never mind I got it working by stumbling across using CDATA in the xml response. On Sep 2, 1:38 am, atomicnuke [EMAIL PROTECTED] wrote: Is there a way to do this? I thought just placing the response in a div with html() would work, but it ignored the br /'s.

[jQuery] Re: browser compatibility issue with jQuery(this).attr(href);

2007-09-02 Thread Karl Swedberg
Hi Am, .attr('href') is supposed to return the actual href attribute of the link. This was normalized quite a few versions ago. Can you tell us which version you are using? Also, you can really simplify your selector this way: jQuery('div.node a').each(function(i) { // etc. --Karl

[jQuery] Re: Using setTimeout()

2007-09-02 Thread Michael Geary
On 9/2/07, Erik Beeson [EMAIL PROTECTED] wrote: If ajaxStop is called before the setTimeout callback in ajaxStart is run, active will be false, so the addClass() on line 9 won't get executed. Without this, if ajaxStop ran before the setTimeout callback, the removeClass() would

[jQuery] Slowing callback function

2007-09-02 Thread atomicnuke
I'm trying in slideUp a div then fade in another when it has completed the slide. I tried using the fadeIn as a callback function $('slidediv').slideUp('slow', function() { $('fadediv').fadeIn('slow'); }); Is there a way to delay the fade, everything happens so fast you can't really tell the

[jQuery] select two class elements

2007-09-02 Thread xni
Hello, I would like to select elements with two class (eg: h5 class=next open. I tried $(.next open) but it failed. Does anyone know how to do it? Thanks in advance. Xavier

[jQuery] Re: select two class elements

2007-09-02 Thread Erik Beeson
$('.next,.open') --Erik On 9/2/07, xni [EMAIL PROTECTED] wrote: Hello, I would like to select elements with two class (eg: h5 class=next open. I tried $(.next open) but it failed. Does anyone know how to do it? Thanks in advance. Xavier

[jQuery] Re: Slowing callback function

2007-09-02 Thread Erik Beeson
I assume your selectors are just for example since $('slidediv') isn't a valid selector (unless you have an element like slidediv.../slidediv, which you probably don't have if you're doing HTML). To delay the second effect, you can use setTimeout, like so (untested):

[jQuery] Re: select two class elements

2007-09-02 Thread Karl Swedberg
On Sep 2, 2007, at 8:25 PM, Erik Beeson wrote: $('.next,.open') --Erik On 9/2/07, xni [EMAIL PROTECTED] wrote: Hello, I would like to select elements with two class (eg: h5 class=next open. I tried $(.next open) but it failed. Does anyone know how to do it? Thanks in advance. Xavier

[jQuery] Re: select two class elements

2007-09-02 Thread xni
Thanks to both of you for your answer... On 3 sep, 02:36, Karl Swedberg [EMAIL PROTECTED] wrote: On Sep 2, 2007, at 8:20 PM, xni wrote: Hello, I would like to select elements with two class (eg: h5 class=next open. I tried $(.next open) but it failed. Does anyone know how to do it?

[jQuery] Re: $(document).ready() firing up later in 1.1.4?

2007-09-02 Thread Joel Birch
This sounds like the issue that is being discussed on the dev list in the thread titled document.ready in jQuery 1.1.4 - IE and FF inconsistent behavior http://groups.google.com/group/jquery-dev/browse_thread/thread/d4e0edfa7764aecc Hope that link works - I haven't tried linking to a discussion

[jQuery] Re: select two class elements

2007-09-02 Thread John Resig
$(.next.open) The same works in normal CSS. --John On 9/2/07, xni [EMAIL PROTECTED] wrote: Hello, I would like to select elements with two class (eg: h5 class=next open. I tried $(.next open) but it failed. Does anyone know how to do it? Thanks in advance. Xavier

[jQuery] textarea maxlenght and counter

2007-09-02 Thread [EMAIL PROTECTED]
Hi, looking for help for creating the following: 1) textarea maxlenght check. When maxlenght is reached cannot type anymore. 2) A counter digits display. Someone has already made something like this? Thanks Andrea

[jQuery] Re: select two class elements

2007-09-02 Thread Erik Beeson
Bah, I know better than that. I had an odd feeling I was doing something wrong. Thanks for correcting it Karl. --Erik On 9/2/07, Karl Swedberg [EMAIL PROTECTED] wrote: On Sep 2, 2007, at 8:25 PM, Erik Beeson wrote: $('.next,.open') --Erik On 9/2/07, *xni* [EMAIL PROTECTED] wrote:

[jQuery] Thickbox-like faded background issue(might be OT)

2007-09-02 Thread Eridius
I am using the same css code from the thickbox(3.1) to create a faded background however there are a few issues. The first one is in IE 7 the faded background is only covering the entire visible screen the first appears, if i scroll down the faded background is not there. The second issue it

[jQuery] Re: Slowing callback function

2007-09-02 Thread atomicnuke
Still didn't seem to work On Sep 2, 8:28 pm, Erik Beeson [EMAIL PROTECTED] wrote: I assume your selectors are just for example since $('slidediv') isn't a valid selector (unless you have an element like slidediv.../slidediv, which you probably don't have if you're doing HTML). To delay the

[jQuery] interface problem with drag drop in IE6

2007-09-02 Thread mouqx xu
I'm using interface1.2 and jQuery1.4. the problem is that cloned element is not draggable in IE6, but works fine in firefox. I defined a onDrop function in Droppable. In the onDrop function I clone the draggable DOMElement, and append to the droppable DOMElement. Then this cloned element is not