[jQuery] autocomplete plugin - filtering a table

2007-05-13 Thread Jose
Hi, would it be possible to have an option so that the result output is a table instead of a list ? This is useful when you just want to filter a table (or use the table row to select fields for a form). Related to this, how can I set the width of the results so that is wider than the autocomple

[jQuery] Re: ..animation question..

2007-05-13 Thread John Resig
Nope! jQuery uses only one timer for all animations now (even across multiple elements). It helps drastically, with performance. --John On 5/13/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: The latest SVN uses only one timer per an element but there currently is not a way to animate several e

[jQuery] Re: Text Highlighting from Search

2007-05-13 Thread Ⓙⓐⓚⓔ
similar to a prototype I did for a children's book program. http://jpassoc.com/junior/story/ jQuery.fn.hook=function(hash){ var fix = function(text,hash){ var t = text.split(/\b/) var inTag = false for (var i = 0; i < t.length; i++){

[jQuery] Text Highlighting from Search

2007-05-13 Thread Glen Lipka
I have a search which yields a URL like this: (searching for [jets daniel]) http://www.commadot.com/index.php?s=jets+daniel&searchsubmit=Search I also have a with the contents of "jets daniel" on the page. Looking for a jQuery way or

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread John Resig
There's more to the story than this, however. The jQuery ready() implementation was very very different in June of 2006 (hence the problems with script elements). I think the reason why Swfobject causes problems is that it's not coded very well - hence the reason for a jQuery Flash plugin. Is the

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread Sam Sherlock
I avoid putting script tags in my document bodies as a matter of course. I found that the jquery flash plugin to be really useful, prior to using jquery flash I used ufo I would be interested to know why you have decided against the jquery flash plugin - S On 14/05/07, pd <[EMAIL PROTECTED]>

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread pd
Hi Sam Thanks for your offer of help. Thankfully my colleague and I have solved the nightmare. We recently abandoned the jQuery Flash plugin and implemented swfobject instead. Thanks to luckily searching and finding a thread on .ready() issues and from June 2006 I noticed script tags in the bod

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-13 Thread Ⓙⓐⓚⓔ
the latest version works against the actual text, instead of the html inside the I.E. It's fixed, thanks to Sam's notice! On 5/13/07, Mario Moura <[EMAIL PROTECTED]> wrote: Hi If the list have an anchor tag Jake letters.js cant work The result will be A to all itens. My hunch is A from : >

[jQuery] Draggable jumping in IE67

2007-05-13 Thread Glen Lipka
In IE6/7, a draggable element is jumping on the "first" movement. Site: www.commadot.com Did I do something wrong with it? Also, thanks to Klaus, I added PNG Support on a graphic in the top right and started with a complicated script to get IE6. Then I remembered http://www.stilbuero.de/2006/03/

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread Sam Sherlock
two suggestions 1. try making an isolated test with just the zebra table 2. try using an uncompressed jquery file when I first loaded the page in opera it did not stripe the table, then after reloading it did sorry to not be able to offer more than just shots in the dark, I have found oper

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-13 Thread Mario Moura
Ok. Done with: var lis = $('ul/a').siblings() I dont know if is the best way but is working. Thanks again Jake. Regards Mario 2007/5/13, Mario Moura <[EMAIL PROTECTED]>: Hi If the list have an anchor tag Jake letters.js cant work The result will be A to all itens. My hunch is A from : >

[jQuery] Re: Threshold for saving content with AJAX

2007-05-13 Thread [EMAIL PROTECTED]
Excellent, works great without the hassle of the way i mentioned before If anyone's interested, be my guest -- HTML -- -- JavaScript

[jQuery] .ready() unreliable due to IE6 inconsistencies?

2007-05-13 Thread pd
Hello The following site uses progressive enhancement to zebra style alternative table rows, centre some text in table cells, reveal JS- only functionality hidden by default in the style sheet, etc etc Unfortunately it appears that the $(document).ready() method we have wrapped all our onload co

[jQuery] Re: Threshold for saving content with AJAX

2007-05-13 Thread spinnach
one way to do this would be with a timeout, although a bit different than you explained it.. start a timeout onkeyup, and clear it onkeydown, so after stopping typing the timeout won't be cleared and 5 seconds later the function will run.. dennis. [EMAIL PROTECTED] wrote: Confusing title,

[jQuery] Threshold for saving content with AJAX

2007-05-13 Thread [EMAIL PROTECTED]
Confusing title, but what I'm looking for can't really be summed up in a sentence [ bonus points if you can ]. Basically I have a onkeyup binded to a , and the function the onkeyup calls sends the data to the server to be saved. I'm wondering if a method to only send the data when you stop typin

[jQuery] Re: need help with sliding and targeting

2007-05-13 Thread spinnach
christoph, np, glad it worked.. the sites i reference all the time (they're not related to javascript in general, but to jquery) are: http://15daysofjquery.com/ http://www.learningjquery.com/ http://www.visualjquery.com/ http://jquery.bassistance.de/api-browser/ and of course: http://www.jq

[jQuery] Re: any way to clear cached data

2007-05-13 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I noticed with the Jquery AJAX tabs, when the remote tab content is loaded, it is stored in a hidden DIV, and then when the tab is re- selected, the content of that DIV is loaded. Is there a way to get the tab to reload the AJAX content each time, instead of going

[jQuery] Re: need help with sliding and targeting

2007-05-13 Thread Christoph
Dennis, Thanks soo much! I just tested it out and it worked beautifully. Can you recommend any great books or websites to jump start my JavaScript education? Thanks again! -Christoph On May 13, 1:24 pm, spinnach <[EMAIL PROTECTED]> wrote: > Christoph, > > i also feel this way about the gro

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-13 Thread Mario Moura
Hi If the list have an anchor tag Jake letters.js cant work The result will be A to all itens. My hunch is A from : Good catch Sam, it's been updated over at google. http://jqueryjs.googlecode.com/svn/trunk/plugins/letters/ On 5/13/07, Sam Collett <[EMAIL PROTECTED]> wrote: > > > On May 13,

[jQuery] Re: ..animation question..

2007-05-13 Thread Brandon Aaron
The latest SVN uses only one timer per an element but there currently is not a way to animate several elements under one timer. I'm not sure if Interface provides such a method either but perhaps that is where such functionality should exist. -- Brandon Aaron On 5/13/07, spinnach <[EMAIL PROTE

[jQuery] Re: need help with sliding and targeting

2007-05-13 Thread spinnach
Christoph, i also feel this way about the group :).. as for the answer, it would be heplful if you could post an example page, but if i understand you correctly, your code should look something like this (i changed some other things to be more 'jquery'-like).. $('.BTT').click(function(){$('

[jQuery] need help with sliding and targeting

2007-05-13 Thread Christoph
This is my first post. Great group you have here. Please understand that I know nothing about JavaScript, but I am trying to learn. I am loving this tuff a lot. I have a setup/animation that I am working on from a developer. (asked for his permission to use it and said go for it) Anyways here

[jQuery] Re: set attr in IE

2007-05-13 Thread Brandon Aaron
And now it is fixed in the latest SVN. http://dev.jquery.com/changeset/1897 -- Brandon Aaron On 5/13/07, PragueExpat <[EMAIL PROTECTED]> wrote: OK, Thanks. Brandon Aaron wrote: > > > I went ahead and created a new ticket for this: > http://dev.jquery.com/ticket/1182 > > -- > Brandon Aaron

[jQuery] Re: set attr in IE

2007-05-13 Thread PragueExpat
OK, Thanks. Brandon Aaron wrote: > > > I went ahead and created a new ticket for this: > http://dev.jquery.com/ticket/1182 > > -- > Brandon Aaron > > On 5/13/07, PragueExpat <[EMAIL PROTECTED]> wrote: >> >> >> $(function(){ >> $("#test").attr("maxlength",10); >> }); >> >> Doesn't

[jQuery] Re: set attr in IE

2007-05-13 Thread Brandon Aaron
I went ahead and created a new ticket for this: http://dev.jquery.com/ticket/1182 -- Brandon Aaron On 5/13/07, PragueExpat <[EMAIL PROTECTED]> wrote: $(function(){ $("#test").attr("maxlength",10); }); Doesn't work on a text input field in IE. If I try: $(function(){ alert($("#

[jQuery] set attr in IE

2007-05-13 Thread PragueExpat
$(function(){ $("#test").attr("maxlength",10); }); Doesn't work on a text input field in IE. If I try: $(function(){ alert($("#test").attr("maxlength")); $("#test").attr("maxlength",10); alert($("#test").attr("maxlength")); }); In IE my alerts are: "2147483647" "2147483647

[jQuery] ..animation question..

2007-05-13 Thread spinnach
is there a way to perform multiple animations with one interval (to animate multiple elements at once), so the animation would be as smooth as possible? i saw that mootols has a function that does this (Fx.Elements), so it would be really cool to have something like this in jquery.. i need th

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-13 Thread Ⓙⓐⓚⓔ
Good catch Sam, it's been updated over at google. http://jqueryjs.googlecode.com/svn/trunk/plugins/letters/ On 5/13/07, Sam Collett <[EMAIL PROTECTED]> wrote: On May 13, 2:10 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > Thanks Mario, I put it up in the plugins directory of the svn .http://jqueryjs.

[jQuery] Re: The problem with jquery!!!

2007-05-13 Thread Brad Perkins
If you are trying to use $(this).html( $(this).html().replace("","@") ); Could the problem be that "" isn't matching "" ? On May 12, 11:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The actual html reads > > someonesomehwerecom

[jQuery] Re: Suggestion - A | B | C | - Navigation container

2007-05-13 Thread Sam Collett
On May 13, 2:10 am, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote: > Thanks Mario, I put it up in the plugins directory of the > svn.http://jqueryjs.googlecode.com/svn/trunk/plugins/letters/ > Instead of html() perhaps text() would be better as it wouldn't work as expected when there is a list item like this:

[jQuery] Re: The problem with jquery!!!

2007-05-13 Thread Kelvin Luck
> Within html content i am including email addresses in the following > format someonesomehwere.com and then > following such occurences with an explanation for > what means for those non-savvy internet users that might > actually try to send an email with instead of the @ sign. > I wrote a ver

[jQuery] Re: DOM friendly link creation

2007-05-13 Thread Wizzud
Sounds to me like you should be considering rewriting your wrapping code to traverse the dom tree below the target div, rather than treating the whole inner html as a single element. This would solve your problem of not wrapping things like form elements, etc, and would mean that you were actuall

[jQuery] Re: DOM friendly link creation

2007-05-13 Thread Gordon
If it's any help then here is some pseudocode for the main loop of the link wrapper. targetDiv = '#div_id'; var regexPrefix = '('; var regexPostfix = ')(Regex to exclude text inside hyperlinks, form fields, etc. goes here)'; var RegexObj = new Regexp (); var workingHtml = $(targetDiv).html ();

[jQuery] Re: any way to clear cached data

2007-05-13 Thread Yansky
Is this only happening in IE or in FF too? If it's just IE, you can try some of these workarounds: http://en.wikipedia.org/wiki/XMLHttpRequest#Known_problems On May 12, 7:09 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed with the Jquery AJAX tabs, when the remote tab cont