[jQuery] Re: Problem with change()

2007-08-28 Thread atomicnuke
Yeah, guess autocomplete will work, to lazy to write a timer function, lol. Quick unrelated question, I ran across a plugin for jQuery that if you inserted content in with Ajax the links won't be recognized by jQuery, but the plugin helps to fix that.

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Juha Suni SC
Very nice work Benjamin! An excellent plugin. Extremely easy to use, logical and provides a polished, high quality, professional looking result. I'm amazed if we don't start seeing this in use around the web. A lot :) A spectacular showcase for jQuery and it's plugins also. We'd really just

[jQuery] Re: Problem with change()

2007-08-28 Thread Karl Rudd
Is that a question? If, yes, then what you want is LiveQuery http://jquery.com/plugins/project/livequery Karl Rudd On 8/28/07, atomicnuke [EMAIL PROTECTED] wrote: Yeah, guess autocomplete will work, to lazy to write a timer function, lol. Quick unrelated question, I ran across a plugin for

[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread oscar esp
Hi Jeffry , I am agree about VS. When I execute without VS I get better performance obiuslly however 1.1.2/1.1.3 is faster thatn 1.1.4: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from select an item in

[jQuery] Re: Problem with change()

2007-08-28 Thread atomicnuke
Yeah, guess I kind of didn't put that in a question format, again, thanks for the help.

[jQuery] Re: Help serializing form to array

2007-08-28 Thread Wizzud
Use... $.extend( parms, {this.id : this.value } ); // extends parms with the subsequent objects The merge() method is for arrays, whereas parms and {this.id : this.value} are both objects, which is why you are getting the error. bweaverusenet wrote: Hi. What is the voodoo to build an

[jQuery] Re: Help serializing form to array

2007-08-28 Thread Erik Beeson
I think you could replace the parms = ... line with: parms[this.id] = this.value; But I suggest you check out the awesome form plugin: http://www.malsup.com/jquery/form/ --Erik On 8/27/07, bweaverusenet [EMAIL PROTECTED] wrote: Hi. What is the voodoo to build an array for a JSON submit

[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread Renato Formato
oscar esp ha scritto: Hi Jeffry , I am agree about VS. When I execute without VS I get better performance obiuslly however 1.1.2/1.1.3 is faster thatn 1.1.4: -1.1.4 : 2 seconds (from select an item in client after the second combo is load in client) -1.1.2 1.1.3: less thant 1 second (from

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread Emil Ivanov
This is more a smarty issue, than jquery/js. There is a smarty tag {ldelim} for { and {rdelim} for }. Also wrapping a piece of code with {literal}function() { code; } {/ literal} tells the parser to ignore the text between the tags. Regards, Emil Ivanov On 28 Авг, 11:05, Olivier

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread Sam Collett
You could try adding this in $(document).ready, before calling the validate plugin: $.meta.cre = /(\[.*\])/; $(#foo).validate(); Although that is not documented in the meta data plugin (maybe there should be an option in it to do that). On Aug 28, 9:05 am, Olivier Percebois-Garve [EMAIL

[jQuery] How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Nico
Hello, I'm trying to optimize this selector: $(this).children(span).children(a).html(it works); Because I think that these 2 .children are not light javascript My HTML: div id=container span a href=#My link/a /span /div I try something like $(this span a).html(it

[jQuery] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Erik Beeson
Your last guess is the right idea, but not valid javascript syntax. Maybe try: $(this).find(spana).html(it works); If you just want all of the anchors under 'this', you can do: $(this).find('a').html(...); If you know the ID of the element you're looking under, you can do: $('#container

[jQuery] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Erik Beeson
Also, you could do it XPath style (untested): $(this).find('/span/a').html('it works'); For more info, check out: http://docs.jquery.com/DOM/Traversing/Selectors --Erik On 8/28/07, Erik Beeson [EMAIL PROTECTED] wrote: Your last guess is the right idea, but not valid javascript syntax.

[jQuery] Re: Sortable List Problems (Interface plugin)

2007-08-28 Thread Richard D. Worth
Interface sortables has a couple of little quirks like this. It is still an official plugin, meaning major bugs (regression issues) are fixed, but no new features are being added. The focus of development is on the next version, a rewrite (which should more easily support updates for issues like

[jQuery] Re: Sortable List Problems (Interface plugin)

2007-08-28 Thread quayfee
Hi Richard, Thanks for letting me know about the update. I've got plenty to be learning in the mean time so I'll have a look at the new release. Cheers Keith Richard D. Worth-2 wrote: Interface sortables has a couple of little quirks like this. It is still an official plugin, meaning

[jQuery] Re: Performance from 1.1.2 to 1.1.4

2007-08-28 Thread oscar esp
No. I just call an ajax method with asycn=false -- divTarget = component1 jQuery.ajax({ type: post, url: url, data: pars,

[jQuery] [Resolved] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Nico
Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Thanks a lot for your help On 28 août, 12:48, Erik Beeson [EMAIL PROTECTED] wrote: Also, you could do it XPath style (untested): $(this).find('/span/a').html('it works'); For more info, check out:

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Benjamin Sterling
Suni, You words are too kind, I appreciate it. A spectacular showcase for jQuery and it's plugins also. We'd really just need a great showcase site that would group all these polished effects, plugins and code in one place. I believe if we using the plugin page correctly we will have just

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Benjamin Sterling
- i find it disturbing that clicking on open does not actually work _ you can click on the whole thumbnail area but the open word. I thought I fixed that, will do asap. - i find the launch in a separate window for the full image quite disappointing, given what was shown before :). Maybe

[jQuery] Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Olivier Percebois-Garve
Okay, I'm doing a lot of jQuery today so please pardon me if I'm sending too much emails here. I'm annoyed with the (otherwise great) dimension plugin because there is no direct way to get the top and left position of an element. So all over my code I have things such as :

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread Olivier Percebois-Garve
I'll do that as a workaround if there is no nice solution. Its just that inline validation seems easier to maintain in the futur in the app I have because it is made of a lot of templates and a maintainer that dont know the app well maybe lost at finding where the validation come from. On

[jQuery] Re: Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Brandon Aaron
You can very easily add these helper methods to your own app like this: jQuery.fn.left = function() { return this.offset({scroll:false}).left; }; jQuery.fn.top = function() { return this.offset({scroll:false}).top; }; -- Brandon Aaron On 8/28/07, Olivier Percebois-Garve [EMAIL

[jQuery] Re: Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Karl Swedberg
Hi Olivier, The Dimensions plugin has a very powerful .offset() method. Perhaps that is what you're looking for? For a demo of Dimemsions methods, check out this companion page to the Dimensions chapter in jQuery Reference Guide: http://book.learningjquery.com/3810_10_code/dimplugin.html

[jQuery] [NEWS] YUI Compressor 2 out now - Now with CSS Compression

2007-08-28 Thread Tane Piper
http://www.julienlecomte.net/blog/2007/08/27/yui-compressor-version-20-now-available/ Version 2.0 of the YUI Compressor is out, fixing several bugs and implementing a few enhancements suggested by the community, including integrating Isaac Schlueter's regular expression based CSS minifier.

[jQuery] jquery accordion

2007-08-28 Thread squitta
Hi people, it took me a while to figure out, how to get an accordion interface running. Now I started to use it nearby everywhere. I really love that kind of navigation. But now I headed into some troubles. I implemented the accordion by use of div layers. I did find a demo somewhere on how to

[jQuery] Recursive setting of names in jquery

2007-08-28 Thread Brett
Hello there, I've been loving jQuery so far - so efficient, and a great piece of code to work with. I was wondering if it is possible to use jQuery in a loop where I need to set a row of values in. For example if there was a set of input boxes named totalA - totalE. To change the first, I would

[jQuery] Re: Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Olivier Percebois-Garve
Wow your too fast guys. It seems that I was using offset() the wrong way. $left = element.offset().left; $top = element.offset().top; is fine for me in replacement of : $errorBoxOffset = {}; element.offset({scroll: false}, $errorBoxOffset);

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread David Duymelinck
Is it an option for you to not use the meta data plugin? The rules can be set without it too. $(#Form).validate({rules: {inputname: required}}); --David Olivier Percebois-Garve schreef: Hi I'm having an issue with the validation plugin. It conflicts with a smarty-based php class named

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Rick Faircloth
Hi, Ben. In IE7, I still can't click on the Open graphic, and when I do click on the thumbnail, the loading bar just keeps rotating, but the larger image never loads. I also get an error from IE7 stating, Line: 157, Char 4, Error: Invalid Argument, Code 0. Rick From:

[jQuery] Re: A Quick Thank You to the jQuery UI team

2007-08-28 Thread Andy Matthews
Whose morale? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Monday, August 27, 2007 6:47 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: A Quick Thank You to the jQuery UI team Floggings will continue until morale

[jQuery] Re: Recursive setting of names in jquery

2007-08-28 Thread Erik Beeson
This should do what you want: var letter = 'A'; $([EMAIL PROTECTED]'total + letter + ']).val(...); --Erik On 8/27/07, Brett [EMAIL PROTECTED] wrote: Hello there, I've been loving jQuery so far - so efficient, and a great piece of code to work with. I was wondering if it is possible to

[jQuery] Re: Recursive setting of names in jquery

2007-08-28 Thread Karl Swedberg
Hi Brett, I'm pretty sure this should work: $([EMAIL PROTECTED] + currentLetter + ]) Forgive me if this is what you've already tried. It was hard to tell because you only included part of the selector in your second example. --Karl _ Karl Swedberg www.englishrules.com

[jQuery] Re: A Quick Thank You to the jQuery UI team

2007-08-28 Thread Richard D. Worth
Who's Morale? On 8/28/07, Andy Matthews [EMAIL PROTECTED] wrote: Whose morale? -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Beeson Sent: Monday, August 27, 2007 6:47 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: A

[jQuery] Re: Not Blowing My Own Horn jQuery Super GUI Example

2007-08-28 Thread Rey Bango
Weirdo!!! ;) Rey,, Priest, James (NIH/NIEHS) [C] wrote: My co-workers are probably wondering what in the heck I'm doing in here with all these bird sounds!! :)

[jQuery] Re: Not Blowing My Own Horn jQuery Super GUI Example

2007-08-28 Thread Priest, James (NIH/NIEHS) [C]
-Original Message- From: Mitchell Waite [mailto:[EMAIL PROTECTED] This interface is an example of what a novice non programmer can do using jQuery and a number of its best plugins. The Wow - that's really slick for a not-too-long-ago jQuery dummy! :) Keep us posted as you

[jQuery] Re: Why isn't there top() and left() methods in the dimension plugin ?

2007-08-28 Thread Sam Collett
On Aug 28, 1:59 pm, Olivier Percebois-Garve [EMAIL PROTECTED] wrote: Wow your too fast guys. It seems that I was using offset() the wrong way. $left = element.offset().left; $top = element.offset().top; The only problem with that is you are calling offset twice (which

[jQuery] Re: Keeping a mouseover-triggered animation from running

2007-08-28 Thread Gordon
Has nobody else run into problems with events firing in unexpected ways or in apparently the wrong order or too quickly? This problem is proving a real frustration and i can't find any way around it. I thought the flag setting approach was a sensible one to prevent unwanted functioning of the

[jQuery] Re: jQuery Interface Highlight Bug?

2007-08-28 Thread Priest, James (NIH/NIEHS) [C]
I think they are working on a replacement for Interface so I imagine they are concentrating efforts on that vs. fixing old bugs... Jim -Original Message- From: Brandon! [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 3:30 PM To: jQuery (English) Subject: [jQuery] Re:

[jQuery] Re: Memory leak in 1.1.4?

2007-08-28 Thread John Resig
In what browser are you seeing this? --John On 8/28/07, CM-Z [EMAIL PROTECTED] wrote: Hello! I use utility Drip (http://www.outofhanwell.com/ieleak/ index.php?title=Main_Page) for the control of memory-leak. The Drip shows memory-leak even in such simple case: html head

[jQuery] Re: Recursive setting of names in jquery

2007-08-28 Thread Sam Collett
The way I would do this is get all inputs with a name beginning with 'total' then use .each: // save jQuery object for later use $totals = $([EMAIL PROTECTED]); $totals.each( function() { // get letter var letter = this.name.substr(5); if(letter == A) this.value = Total A; }); On Aug 28,

[jQuery] Re: jQuery beginer in search of magic...

2007-08-28 Thread Glen Lipka
So you are all set? If possible, post your final code to share. :) I usually find that jQuery solutions are much simpler than you imagine at first. Glad we could help. Glen On 8/27/07, zapatino [EMAIL PROTECTED] wrote: Ok, now it work in safari as well. had to close the image tag in your

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Rey Bango
Hi Ben, First let me say that its a night and day difference!! Great job man and awesome turnaround! :D Now, I'm also having some trouble with it in IE7 with the large pic not loading. As someone else mentioned, all I see is the Ajax indicator running but the image doesn't load. Rey...

[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread seedy
Post runs asynchronously, so the code does not wait for it to finish to execute the $.unblockUI(priceElement);. The set timeout won't be too helpful because you dont know how long the request will take until it has already happened. What you likely want to do is to use $.ajax rather than

[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread Mike Alsup
Or to simply it further: $.blockUI(priceElement, { width: '300px' }); $.post(#spRequest, $.unblockUI); That should be all you need. Mike Post runs asynchronously, so the code does not wait for it to finish to execute the $.unblockUI(priceElement);. The set timeout won't be too

[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread Jiming
I use a different method to resolve this problem. $.blockUI(); setTimeout(funtciont(){...whatever you need to do ... }, 10); So far, it works fine. On Aug 28, 10:09 pm, seedy [EMAIL PROTECTED] wrote: Post runs asynchronously, so the code does not wait for it to finish to execute the

[jQuery] Re: Help serializing form to array

2007-08-28 Thread Mike Alsup
Take a look at Eric's response. Except I think it should use name instead of id: parms[this.name] = this.value; On 8/28/07, bweaverusenet [EMAIL PROTECTED] wrote: Okay, thanks. But I get the same error with $.extend( parms, {this.id : this.value } ); missing : after property id

[jQuery] trouble with textarea values

2007-08-28 Thread Mike Miller
Hi, I am trying to do the following: I have a textarea on a page. I want to preserve the text that has been previously entered in the text box. My solution has been to do the following: function commentHistory() { var originalText = $j(#act_progress).text();

[jQuery] Re: Help serializing form to array

2007-08-28 Thread bweaverusenet
That worked, thanks! I'll check out the form plugin... just wanted to figure out what I was doing wrong first. :-) On Aug 28, 3:36 am, Erik Beeson [EMAIL PROTECTED] wrote: I think you could replace the parms = ... line with: parms[this.id] = this.value; But I suggest you check out the

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread Sam Collett
How about: $.meta.cre = /((?!\[)(.*)(?=\]))/; This will fail if you use class=foo [required: true] but should be fine with class=[required: true] foo For it to work like it does with {} (class names before and after are ignored), the meta data plugin would probably be have to be modified. On

[jQuery] Re: trouble with textarea values

2007-08-28 Thread Mike Miller
One more thing. I found that if I include an alert function at the end of the saveComments function, the value is saved correctly in IE and FF...however I don't want to have an alert and need to understand why this happens: unction saveComments(){ curVal =

[jQuery] cluetip positioning

2007-08-28 Thread Eridius
Is there a way for me to set the position of the tooltip manually, say for instance i want this tooltip to dipslay near the top and in the middle so matter where the tooltip link is? -- View this message in context: http://www.nabble.com/cluetip-positioning-tf4342335s15494.html#a12369913 Sent

[jQuery] Re: validation plugin : conflict with formsess because of {

2007-08-28 Thread Olivier Percebois-Garve
Great ! Thanks a lot. It just work like you said. foo [required: true] breaks, but [required: true] foo works like a charm. PS: I'm amazed by the jquery mailing. Coolness and quality people. Quite different to a php-pastry related I'm used too, where you never now when and why it starts flaming

[jQuery] Re: Memory leak in 1.1.4?

2007-08-28 Thread bweaverusenet
I can duplicate memory leakage in 1.1.4 with Firefox 2.0.0.6, but have seen it in 1.1.3 and probably before. IE gobbles more memory but eventually releases it. This could be a FF bug, but I haven't had the chance to try duplicating with non-jquery javascript yet. The following has a click that

[jQuery] Re: [Resolved] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Klaus Hartl
Nico wrote: Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Thanks a lot for your help You could write that even shorter: $('/span/a', this).html('it works'); --Klaus

[jQuery] Re: cluetip positioning

2007-08-28 Thread Karl Swedberg
On Aug 28, 2007, at 11:19 AM, Eridius wrote: Is there a way for me to set the position of the tooltip manually, say for instance i want this tooltip to dipslay near the top and in the middle so matter where the tooltip link is? I don't think so. When you say, near the top, I'm not

[jQuery] Re: img src problem in IE6

2007-08-28 Thread Richard D. Worth
On 8/28/07, mohsin [EMAIL PROTECTED] wrote: $('#fp_menu a').each(function() { dev_id = querySt(dev_id); $(this).click(function() { new_src = http://+this_domain+/development/images/+dev_id+/ floorplan/+this.id; $('#fp_img').attr({

[jQuery] Re: [NEWS] YUI Compressor 2 out now - Now with CSS Compression

2007-08-28 Thread Benjamin Sterling
That is cool, I will have a look. Thanks Tane. On 8/28/07, Tane Piper [EMAIL PROTECTED] wrote: http://www.julienlecomte.net/blog/2007/08/27/yui-compressor-version-20-now-available/ Version 2.0 of the YUI Compressor is out, fixing several bugs and implementing a few enhancements suggested

[jQuery] Click event not working...

2007-08-28 Thread Andy Matthews
Does anyone have any idea why the click event on my blog isn't working in IE7? http://www.andyandjaime.com/ Clicking on the words Comments :X: - View comments or Comments :X: - Be the first to add a comment should fire this code: $('.openComments b').click(function(){

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Benjamin Sterling
First off, sorry about the IE issues, I made some changes and skipped the process where you test in all browsers. I fixed those issues and they should be working now. If there are still issues with it please let me know. Ok, to the good news: following Alexandre's suggestion, I added the

[jQuery] Re: [UPDATE] jqGalView (yet another image gallery)

2007-08-28 Thread Benjamin Sterling
btw, feel free to rate this plugin at http://jquery.com/plugins/project/jqGalView :) -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Superfish menu plugin v1.2.3 ...with explanation

2007-08-28 Thread Joel Birch
Hi everyone, I've been debugging the Superfish menu plugin all day. Back when jQuery 1.1.3 was released, I had to change Superfish to make the submenus show due to the way jQuery would no longer animate objects that were hidden by being positioned off-screen - they needed to be explicitly hidden.

[jQuery] Re: [Resolved] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Karl Swedberg
On Aug 28, 2007, at 11:07 AM, Klaus Hartl wrote: Nico wrote: Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Thanks a lot for your help You could write that even shorter: $('/span/a', this).html('it works'); --Klaus Also, remember that beginning

[jQuery] Re: Click event not working...

2007-08-28 Thread seedy
This was a known issue for IE in 1.1.3 It has been fixed in 1.1.4 Andy Matthews-3 wrote: Does anyone have any idea why the click event on my blog isn't working in IE7? http://www.andyandjaime.com/ Clicking on the words Comments :X: - View comments or Comments :X: - Be the

[jQuery] Re: Tweaking the BlockUI Plugin

2007-08-28 Thread seedy
enchen wrote: It looks like it could be done, but I can't seem to get the page reloaded this way, which means all my server-side verifications are left unnoticed. As this is rather new to me I think I need the info fed with a teaspoon in order to get it working. So the questions are a)

[jQuery] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Sean Catchpole
On 8/28/07, Nico [EMAIL PROTECTED] wrote: $(this).children(span).children(a).html(it works); I would have chosen the following $(span a,this).html(it works); ~Sean

[jQuery] Re: Memory leak in 1.1.4?

2007-08-28 Thread CM-Z
Screenshots: http://wand.ru/leak1.PNG http://wand.ru/leak2.PNG http://wand.ru/leak3.PNG

[jQuery] Re: Effect - Slide Up/Down

2007-08-28 Thread [EMAIL PROTECTED]
Hi, i've been reading here and there and so far the best solution to slide a table is to wrap the table in a div and slide the div. That works on IE7 (in firefox there was no problem and still works good, in IE6 I haven't tried) I hate to add unecessary markup like the wrapping div, but so far

[jQuery] Live Query with Draggables

2007-08-28 Thread Theodore Ni
Hey guys, I'm having a spot of trouble combining live query with interface draggables, and I'm afraid I don't have the time to study the internals of both plugins (I'm in midst of trying to meet a deadline), so I hope you guys can briefly explain how both work. When I am dragging something,

[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-28 Thread Pops
On Aug 27, 11:31 am, John Resig [EMAIL PROTECTED] wrote: YUI, Dojo, and jQuery all use this technique to avoid these leaks. It's unavoidable otherwise. John, I'm curious. Been catching up of the technical issues and JS/DOM framework, and it seems to me that a basic part of the issues is

[jQuery] xml and xlst and ajax

2007-08-28 Thread [EMAIL PROTECTED]
hi everyone! first, im apologyze for my bad english, because my mother language is spanish :), but i try to improve my english :) im newbie on jquery and i have a lot of questions about ajax. i wanna use ajax with xml documents and xslt to format the content of the xml documents. see this

[jQuery] Re: xml and xlst and ajax

2007-08-28 Thread Sean Catchpole
This plugin may be of assistance: http://jquery.com/plugins/project/XSLT ~Sean

[jQuery] Re: Problem with validate plugin in IE6?

2007-08-28 Thread Jean
Thank Youuu a lot! On 8/27/07, SeViR [EMAIL PROTECTED] wrote: Jean escribió: I dont know why but with validate code my js dont run anything =/ even though a simple alert I´m trying with IE6, FF works fine! Is somebody with the same problem?? $(document).ready( function() {

[jQuery] Re: How do you test if an object exists?

2007-08-28 Thread Benjamin Sterling
$(#myID').size() != 0 or $(*).index( $('#myID')[0] ) // returns -1 if not there. On 8/28/07, Frank Peterson [EMAIL PROTECTED] wrote: I'm getting weird bugs when using setTimeouts and/or setIntervals after I hit the back button in Firefox to come back to the page. I need to do a check at

[jQuery] tablesorter 2.0: problems with multiple rows in thead

2007-08-28 Thread tlphipps
Tablesorter 2.0 rocks! But I think I've uncovered a bug. I have a table with two rows in the thead section, but the tablesorter doesn't work on this table. I've narrowed the issue down to the checkCellColSpan() function. If I bypass that function, then everything works correctly. I've

[jQuery] Anyone see anything wrong with this validation code from Jorn's plug-in?

2007-08-28 Thread Rick Faircloth
I'm not getting any reponse from the validatin plug-in at all. One specific question is whether or not the plug-in can validate time. Couldn't find a definite no on the plug-in website. Thanks for the extra eyes! Rick script type=text/javascript

[jQuery] How do you test if an object exists?

2007-08-28 Thread Frank Peterson
I'm getting weird bugs when using setTimeouts and/or setIntervals after I hit the back button in Firefox to come back to the page. I need to do a check at the top of any setTimeout to make sure that the object I need still exists. But I dont know how :(

[jQuery] Re: How do you test if an object exists?

2007-08-28 Thread Mike Alsup
If it's a global var you'd do this: if (!window.video_ajax_timer_id) { // do stuff } On 8/28/07, Frank Peterson [EMAIL PROTECTED] wrote: I'm not test for an ID or a HTML element but a variable. video_ajax_timer_id = setTimeout('prevnext(1, '+next_image_num+')', 5000); Basically I

[jQuery] Re: How do you test if an object exists?

2007-08-28 Thread Benjamin Sterling
Andy, I find that doing video_ajax_timer_id != undefined does not always for, so I would suggest typeof video_ajax_timer_id != 'undefined', but that is just my preference. On 8/28/07, Andy Matthews [EMAIL PROTECTED] wrote: if (video_ajax_timer_id != '' || video_ajax_timer_id != undefined)

[jQuery] Re: Live Query with Draggables

2007-08-28 Thread Brandon Aaron
I'm not very familiar with the Interface library but it looks like the Draggable code clones the element using native DOM methods. Try registering the Draggable plugin via the registerPlugin method ( http://brandonaaron.net/docs/livequery/#plugin-developers) like this:

[jQuery] Re: How do you test if an object exists?

2007-08-28 Thread Benjamin Sterling
Sorry, misread your question. On 8/28/07, Mike Alsup [EMAIL PROTECTED] wrote: If it's a global var you'd do this: if (!window.video_ajax_timer_id) { // do stuff } On 8/28/07, Frank Peterson [EMAIL PROTECTED] wrote: I'm not test for an ID or a HTML element but a variable.

[jQuery] Re: How do you test if an object exists?

2007-08-28 Thread Andy Matthews
if (video_ajax_timer_id != '' || video_ajax_timer_id != undefined) -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Frank Peterson Sent: Tuesday, August 28, 2007 1:05 PM To: jQuery (English) Subject: [jQuery] Re: How do you test if an object

[jQuery] Re: Not Blowing My Own Horn jQuery Super GUI Example

2007-08-28 Thread Mitch
Thanks for the complicment James. It might look good but its held together with tape and paperclips :) Its interesting how focused this group is on the plugins and the visual capability of jQuery but there are so few examples of using that power. Why is that? I hope more people step up to the

[jQuery] Re: Anyone see anything wrong with this validation code from Jorn's plug-in?

2007-08-28 Thread Jörn Zaefferer
Rick Faircloth schrieb: I’m not getting any reponse from the validatin plug-in at all… One specific question is whether or not the plug-in can validate time. Couldn’t find a definite “no” on the plug-in website. There isn't a time-method yet. Its easy to write your own though. -- Jörn

[jQuery] Re: pnGFix Plugin with Jquery 1.1.4

2007-08-28 Thread polyrhythmic
Goodness yes, looking at the sources, iepnghack will be the best option. It will also be the most compatible with future jQuery versions. The pngFix plugin uses a cloning hack I've never seen before! I am using internally a pngFix function based off the same code as iepnghack, and it's been

[jQuery] Re: Memory leak in 1.1.4?

2007-08-28 Thread CM-Z
In IE7 as well as in IE6 there is an memory leak.

[jQuery] DIV clipping or autofit question

2007-08-28 Thread Pops
I have a div id=wcResult container. Via $.ajax() the success and failure call back do this: $(#wcResult).text(xml.responseText); to display the result. If success, the server sends JSON formatted data. If failure, like uthentication required, HTML is sent. For the JSON data, the div

[jQuery] Re: SITE SUBMISSION: scarlet.be

2007-08-28 Thread polyrhythmic
Those are awesome prices! Over here in Seattle, WA, US I would do anything to drop Comcast Cable (who is now blocking torrent seeds) and get a dedicated 20Mbps/1kbps ADSL line - it would be less than I'm paying now!!! Is Europe like this everywhere? Pity our exchange rate right now :-/ . I

[jQuery] Re: DIV clipping or autofit question

2007-08-28 Thread seedy
Is the text you are trying to display onereallylongstringthatdoesnotcontainanyspaces??? I believe Firefox has a bug that prevents it from wrapping text that does not have a space in it, I often run into that problem when trying to display URL's in firefox. Pops wrote: I have a div

[jQuery] Re: Text node selector?

2007-08-28 Thread willi
It would be realy, realy great if free text nodes would also be matched in the core jQuery functionality. eg. form here is some text input ... / some more text hr / and more text /form $('form').children() does not select the free text nodes within the form. Without the plugin there is no

[jQuery] Re: jQuery beginer in search of magic...

2007-08-28 Thread zapatino
no i'm not. i'm stil trying to do my history thing to style the selected thumnail in each section. As i wrote before i have a working version of this feature on all the thumbnails, but i want to specify for each section. what i want to do is: -open (slide down) the gallery when an image is

[jQuery] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Erik Beeson
$(this).children(span).children(a).html(it works); I would have chosen the following $(span a,this).html(it works); I think that isn't quite the same thing. In the following, your suggestion would match 3 anchors, and the OP's would just match the first one: div id=container spana

[jQuery] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Brandon Aaron
This should work then: $(' span a', this).html('it works'); -- Brandon Aaron On 8/28/07, Erik Beeson [EMAIL PROTECTED] wrote: $(this).children(span).children(a).html(it works); I would have chosen the following $(span a,this).html(it works); I think that isn't quite the same thing.

[jQuery] Re: Live Query with Draggables

2007-08-28 Thread Brandon Aaron
Just use Live Query to bind the submit handler. It will only bind it once per a new form element. $('form.client').livequery('submit', function() { alert('boo'); return false; }); Also, try to give the selector more scope, like a parent element with an ID. $('#containerID

[jQuery] Re: [Resolved] Re: How optimize $(this).children(span).children(a).html(it works);

2007-08-28 Thread Erik Beeson
Wonderfull! :-) It works with this one: $(this).find('/span/a').html('it works'); Also, remember that beginning with version 1.2, these XPath selectors will be available only with a plugin. :( Oh yeah, in light of that, the recommended way is spana instead of /span/a. It irritates me a

[jQuery] Re: removeClass from *any* element

2007-08-28 Thread Glen Lipka
try $(*).removeClass(redText); or $(* *).removeClass(redText); Glen On 8/28/07, Shelane [EMAIL PROTECTED] wrote: I apply a class called RedText to items I need to make stand out to the user. I want to be able to globally remove the class from any and all elements on my page within a

[jQuery] Re: removeClass from *any* element

2007-08-28 Thread Erik Beeson
$('#mydiv *').removeClass('RedText'); See: http://docs.jquery.com/DOM/Traversing/Selectors --Erik On 8/28/07, Shelane [EMAIL PROTECTED] wrote: I apply a class called RedText to items I need to make stand out to the user. I want to be able to globally remove the class from any and all

[jQuery] removeClass from *any* element

2007-08-28 Thread Shelane
I apply a class called RedText to items I need to make stand out to the user. I want to be able to globally remove the class from any and all elements on my page within a specific div tag. Is there a wildcard selector or some other way to do this: $(wildcard, '#mydiv').removeClass('RedText');

[jQuery] compare two arrays

2007-08-28 Thread Potluri
Is there a jquery way to compare two arrays without looping. like I have an array1 [a,b,1,2,3] and array2 [b,c,d,11 ]. Is there a way like array1.compare(array2). which returns true if atleast one element among the 2 arrays matches. Straight answers are appreciated. Regards, Vijay Potluri

[jQuery] Re: tablesorter 2.0: problems with multiple rows in thead

2007-08-28 Thread Christian Bach
Hi Travis, Would it be possible to send me a test-case of your table, off-list? Makes spotting the bug easier for me. Regards Christian 2007/8/28, tlphipps [EMAIL PROTECTED]: Tablesorter 2.0 rocks! But I think I've uncovered a bug. I have a table with two rows in the thead section, but

[jQuery] Re: Anyone see anything wrong with this validation code from Jorn's plug-in?

2007-08-28 Thread Jörn Zaefferer
Rick Faircloth schrieb: Hi, Jorn... For now I just made the time field required to have *any* entry, without validating the entry as time. However, I'm still getting no response from the form. My server-side validation is working perfectly, but I'm still getting no response from the plug-in.

  1   2   >