[jQuery] Re: Slow selector

2007-05-22 Thread Klaus Hartl
Daemach wrote: You should definitely consider using a classname to select items like this. $('input.quantity') would be significantly faster. I don't know why using a class name would be significantly faster. Since there is no doucment.getElementsByClassName (yet), it doesn't make much diff

[jQuery] Re: alerting the value of radio button onfocus

2007-05-22 Thread Jean Nascimento
or u can use .val() On 5/22/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: stef wrote: > that's what im trying to do - when a radio button is clicked, show its > value. How about this: $("input:radio").focus( function() { alert(this.value); }); -- Jörn Zaefferer http://bassistance.d

[jQuery] two doubts: Highlight() and sortables

2007-05-22 Thread Rodrigo Moraes
Hi everybody, I'm Rodrigo from Brazil and I'm new to jQuery (started 2 days ago). I'm pretty happy with what I achieved so far. :) I have two IE problems that are difficult to debug and maybe you had similar experience of what may cause them. First, an example: http://dev.tipos.com.br/jquery/

[jQuery] Re: ANNOUNCE: SearchHighlight plugin

2007-05-22 Thread Glen Lipka
I just put it live on my blog. Works like a charm. Awesome plugin. Glen On 5/22/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Renato Formato wrote: > > Hi all, > I just released my second jQuery plugin, SearchHighlight, > a plugin to highlight searched words in your search result pages. > >

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi rob, Thanks very much, that really gives me a lot info. I'll take your suggestion ... Another question ... You mention about the browser to update its DOM with $('p').click(...) does this update can be seen when your view the source or it is done internally? Thanks again james On May 22, 10:

[jQuery] Re: Trying to get this to work as expected with images and Sortables

2007-05-22 Thread Benjamin Sterling
cool, thought that would not work, good call. On 5/22/07, mike503 <[EMAIL PROTECTED]> wrote: the div was being put in by the sortables library... i put in the float: left; and it worked. i changed the CSS width/ height and it worked in FF too. now i'm working on serializing and removing items

[jQuery] Re: Trying to get this to work as expected with images and Sortables

2007-05-22 Thread mike503
the div was being put in by the sortables library... i put in the float: left; and it worked. i changed the CSS width/ height and it worked in FF too. now i'm working on serializing and removing items. On May 22, 6:12 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > not sure if you can fix i

[jQuery] Re: Debugging jQuery

2007-05-22 Thread Ⓙⓐⓚⓔ
that code looks good. I was trying to build upon firebug like calls. It can pick up where firebug is not installed. On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Hey, I am only getting in on the tail end of this convo, but there is a debugger that I have been using and it works great

[jQuery] Re: Debugging jQuery

2007-05-22 Thread Ⓙⓐⓚⓔ
hmm, an $(anything).debug() where anything is entered for turning it off. try DEBUG=false in any script that's loaded after debug. On 5/22/07, Daemach <[EMAIL PROTECTED]> wrote: If I had one other wish, it would be to have a command line so I could run jQuery selectors and get arrays b

[jQuery] Re: Trying to get this to work as expected with images and Sortables

2007-05-22 Thread Benjamin Sterling
not sure if you can fix it with that because it would not be compliant html. Not exactly sure how you have things set up, but cant you use a li instead of a div? -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Trying to get this to work as expected with images and Sortables

2007-05-22 Thread mike503
wow thanks for the quick reply. good catch. i wonder if i can fix it by not assigning -any- sort helper class. giving it a float: left; seems to fix it in IE, but firefox is acting up still. On May 22, 5:59 pm, "Benjamin Sterling" <[EMAIL PROTECTED]> wrote: > Mike, > When looking at it in firebu

[jQuery] Re: Trying to get this to work as expected with images and Sortables

2007-05-22 Thread Benjamin Sterling
Mike, When looking at it in firebug, it looks like you are getting a div in between your li with an ID of sorthelper. That is what is causing the issue. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Problem with thickbox+form+validation

2007-05-22 Thread Sebastián V . Würtz
I have one html who call one iframe with ajax content via thinkbox The link in ths html is that: My problem is when i click in this link all the iframe is loaded but when it finish i get this error in ff $.validator has no properties So i click out of the thinkbox and it close, withount relo

[jQuery] Trying to get this to work as expected with images and Sortables

2007-05-22 Thread mike503
Here is the URL: http://mikehost.com/~mike/tmp/jquery.html I think it's self-explanatory what I am trying to do - basically keep it in two rows. Is this possible? Right now it winds up making 3 rows... has anyone got this to work as expected (where it would stay inside of the 2 rows and adjust as

[jQuery] Re: problem with ajax

2007-05-22 Thread Benjamin Sterling
I personally have never pulled in a page like that, but I do something like below: /* * @example * loadPageViews('theurl.htm', function(){anyfunction();}, '#whattoremove, '#whattoappendto'); * @desc loads an element/view and removes an element and appends to * another element the return value. *

[jQuery] Re: jQuery help

2007-05-22 Thread Benjamin Sterling
Def been down that road before, glad I could help. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] problem with ajax

2007-05-22 Thread Danbh
Hey everyone, I'm trying to use the jQuery.ajax function, to fetch a webpage on which I would like to run some jQuery on that page. The problem that I am running into is that dataType field. I am setting it to xml, but ajax keeps returning text. Here is the code: XML_page = jQuery.ajax({ //ge

[jQuery] Re: Debugging jQuery

2007-05-22 Thread Benjamin Sterling
Hey, I am only getting in on the tail end of this convo, but there is a debugger that I have been using and it works great in all major browsers on pc and mac: http://dev.jquery.com/browser/plugins/interface/ilogger.js?rev=317 I made some minor mods to it, but nothing major, you can see it in ac

[jQuery] Re: Text Button

2007-05-22 Thread Karl Rudd
This has come up a number of times. My suggestion is to use a "proxy link". When the link is pressed it "clicks" the button. Something like this: $(function() { $('input.proxy').each( function() { var input = $(this); $('' + this.value + '')

[jQuery] Re: Debugging jQuery

2007-05-22 Thread Daemach
If I had one other wish, it would be to have a command line so I could run jQuery selectors and get arrays back. That's probably a stretch, but you asked ;) I don't think firebug lite supports anything more than those, though you could look at the js file and see if you can find anything else th

[jQuery] Re: Shortest Selector

2007-05-22 Thread Daemach
It depends on how much control you have over the original HTML. If you're generating it from a dynamic language like coldFusion, ASP, PHP, etc. and you will always be linking a specific link with a specific div AND you don't mind adding ID's the fastest selector is $ ('#'+this.id.split("_")[1]);

[jQuery] Re: jQuery help

2007-05-22 Thread Bradley Holloway
Right on! Thanks Benjamin.I have been trying to figure this out for hours and hours. -Brad - Original Message - From: Benjamin Sterling To: jquery-en@googlegroups.com Sent: Tuesday, May 22, 2007 6:33 PM Subject: [jQuery] Re: jQuery help brad, I first thought is that

[jQuery] Re: Do I have to?!

2007-05-22 Thread Benjamin Sterling
I am going to have to second Mike on this one; can you explain your reasoning? But to answer your question, I would not set the sync globally, but only in the function you need it to be. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: jQuery help

2007-05-22 Thread Benjamin Sterling
brad, I first thought is that you need to re-bind the events to those links. Tried looking thru your code and could not figure out where the call is, but must likely that is the problem. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Shortest Selector

2007-05-22 Thread Glen Lipka
But your answer is much longer than $(this).parents("tr").next("tr").find("div") I'm not saying I want to bind the click or get the value of the DIV. I just want to find it with a single selector. Actually I plan to slideDown() the Div using Toggle on the A. Glen On 5/22/07, Sean Catchpole <[E

[jQuery] jQuery help

2007-05-22 Thread jQuery Newbie
Hello all! I am having an issue with jQuery (obviously) anyway, Here is what I am talking about: http://manhattanwest.com/the_residences/floor_plansNEW.php If you dont click any other links and click the "1st Floor" and "Loft" links below the img, it works just fine, but as soon as you click

[jQuery] Re: Do I have to?!

2007-05-22 Thread Michael Geary
Whoa there. Synchronous AJAX calls? You're locking up the browser when you do that. What if your server is slow to respond? If it's just a coding convenience, don't do it! -Mike _ From: Jimmy Glass By default, I have set all AJAX requests to syncronous as I like to have the .getJSON

[jQuery] Re: Shortest Selector

2007-05-22 Thread Sean Catchpole
I believe that might be the shortest way to get the element, however if speed is your concern, then I suggest storing the divs before hand. Give this code a try: var div = $("tr td div"); $("tr td a").each(function(i){ $(this).click(function(){ alert(div[i].innerHTML); return false; }); }

[jQuery] Re: Debugging jQuery

2007-05-22 Thread Ⓙⓐⓚⓔ
thanks! I'm adding some of the firebug commands. console.time & timeEnd are working. Is there another command that you like to run without loading firebug lite? On 5/22/07, Daemach <[EMAIL PROTECTED]> wrote: It works great Jake ;) Excellent work and thank you very much for making it avai

[jQuery] Re: Drop shadows and Tooltips

2007-05-22 Thread Alexandre Plennevaux
You should check clueTip out, it's really great: http://examples.learningjquery.com/62/ As for the drop shadow effect, i used the one delivered with clueTip, and simply resize it tremendously so as to accomodate any (reasonable) size. -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Shortest Selector

2007-05-22 Thread Jean Nascimento
i want to lnow too, and including a question How can I remove the TR who includes the finded element? On 5/22/07, Glen Lipka <[EMAIL PROTECTED]> wrote: ONE TWO What is the shortest Selector to find the DIV if one starts with A (this) This is the best I got, but

[jQuery] Shortest Selector

2007-05-22 Thread Glen Lipka
ONE TWO What is the shortest Selector to find the DIV if one starts with A (this) This is the best I got, but is there a shorter way? $(this).parents("tr").next("tr").find("div") Glen

[jQuery] Re: Color Label on Form Validation Error

2007-05-22 Thread Jörn Zaefferer
Jörn Zaefferer wrote: Scott Moore wrote: Thanks for the information guys, though I'm not sure I'll be able to use that specific solution given other requirements for the project. Jörn, is this something you'll look to add to a future release? If have it on my todo list, but am still looki

[jQuery] Do I have to?!

2007-05-22 Thread Jimmy Glass
By default, I have set all AJAX requests to syncronous as I like to have the .getJSON functions inline. However, occasionally... I need to send a .getJSON request asynchronously. I understand that this is a wrapper function for the .ajax method. Two solutions that came to mind... Use the ajax fu

[jQuery] Drop shadows and Tooltips

2007-05-22 Thread DaveG
Has anyone managed to create a dynamically resizing drop-shadow effect for the tooltips plugin (http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/) that they could share? The sample on the website looks good but is a static size (ie, does not change size based on the content-length).

[jQuery] Good news, everyone!

2007-05-22 Thread Jörn Zaefferer
"Release early, release often". I try. And here it is, the first release candidate of my validation plugin. A few more features where added, a heavy refactoring completed to remove all dependencies on IDs, the long-known Opera issue with select-elements is fixed and more. As always, all int

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Ⓙⓐⓚⓔ
if the example content is always the same... all is well... if it is often different, simple access falls apart! what if the code was a div instead of a p? or there was a different nesting? On 5/22/07, Sean Catchpole <[EMAIL PROTECTED]> wrote: Just as a note, the following code produces this

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Sean Catchpole
Just as a note, the following code produces this output: Author-Subtitle- var json = {"p":{"b":"Title","i":"Subtitle","b":"Author"}}; for(x in json.p) document.write(json.p[x]+"-"); And the following code produces this output: Title,Author-Subtitle- var json = {"p":{"b":["Title","Author"],"i":"S

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Scott Sauyet
Sean Catchpole wrote: I really like json, and the ability to recognize arrays is great. However, there is strength of xml in that order can be preserved. I can not think of a way to implement this in json. Is it possible and I am simply blind to the truth? XML: TitleSubtitleAuthor JSON: {"p":{

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Matt Stith
Mmmm im hungry now... On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: hmmm I can deal with silver, I prefer white gold though, can we make that happen? Not sure about spam cake tho, but I would like some spam fajitas http://www.recipesource.com/main-dishes/meat/pork/spam/00/rec002

[jQuery] Re: ANNOUNCE: SearchHighlight plugin

2007-05-22 Thread Jörn Zaefferer
Renato Formato wrote: Hi all, I just released my second jQuery plugin, SearchHighlight, a plugin to highlight searched words in your search result pages. Here are the main features: 1) It works using search engine referrers or explicitly declared words 2) supports multicolor highlight 3) exact

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Ⓙⓐⓚⓔ
json is to JavaScript as xml is to the world as English is to Esperanto! Way cool, but only understood and easily used by languages similar to JavaScript (Perl, php, ...) XML has no language dependencies, and is cool in it's own way. Getting json to preserve order would be a pain, and is often

[jQuery] Re: jquery.validation and ajax

2007-05-22 Thread Jörn Zaefferer
daweb wrote: I've tried this solution, but nothing to do for me... umphf!! If you don't depend on ajaxForm and can use ajaxSubmit, I recommend to refer to the integration example here: http://jquery.bassistance.de/validate/demo-test/ajaxSubmit-intergration-demo.html I'll try to provide a

[jQuery] jQuery and Tabs plug-in

2007-05-22 Thread Bradley Holloway
Hey everyone! I am stuck on this problem using jQuery and the tabs pluginHere is the code, any suggestions?http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Mike Rothermel $(function() { $('#menu').tabs(); });

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-22 Thread Bil Corry
Sean Catchpole wrote on 5/22/2007 2:03 PM: So I've finally been able to suppress that error in Google Icon (https://addons.mozilla.org/en-US/firefox/addon/4676) I have favicons disabled in Firefox because some sites use it to serve 3rd-party tracking cookies. Took me a while to figure it o

[jQuery] Re: alerting the value of radio button onfocus

2007-05-22 Thread Jörn Zaefferer
stef wrote: that's what im trying to do - when a radio button is clicked, show its value. How about this: $("input:radio").focus( function() { alert(this.value); }); -- Jörn Zaefferer http://bassistance.de

[jQuery] Cannot execute javascript after AJAX request on SSL page

2007-05-22 Thread JP
Hi there, I am a bit stuck with IE security. I am trying to execute javascript after the AJAX request but this is not working on IE when running site on HTTPS. When site is on http AJAX works just fine. Firefox works fine on both SSL and http. Here is a simple sample that fails on HTTPS but work

[jQuery] Re: Validation function help request

2007-05-22 Thread Jörn Zaefferer
Luc, Hi Jörn, I'd like to use your plugin, and I was up to a point, but the problem I'm having is three-fold. I'm sure it can be solved with your plugin, and I'd love to know how; Ideally I'd like an example to get me started - assuming a select dropdown (#jobtype) with two options ('a', 'b'

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Sean Catchpole
Jake, A great idea, however the problem is how can JSON represent the order correctly? Currently, it would output both "b" tags before the "i", whereas the desired effect is to output the first "b", then the "i", then the second "b" tag, in that order. ~Sean P.S. The xml is just an example sce

[jQuery] Re: Color Label on Form Validation Error

2007-05-22 Thread Jörn Zaefferer
Scott Moore wrote: Thanks for the information guys, though I'm not sure I'll be able to use that specific solution given other requirements for the project. Jörn, is this something you'll look to add to a future release? If have it on my todo list, but am still looking for a good approach.

[jQuery] Re: OT: Suppress Apache Authentication

2007-05-22 Thread Sean Catchpole
To follow up on the result of this. I can not use ajax for requesting information from another site (bummer). However I only originally wanted an image that wouldn't popup a security login window. Using this works beautifully: var img = new Image(); //Don't use document.createElement("img"); img

[jQuery] Re: OT: XML vs JSON

2007-05-22 Thread Jake McGraw
What exactly does your XML schema represent? Is it just a form of stylized markup, say b Bold, i Italicized? I'm pretty sure the for(x in y) loop will maintain order of variables within a JSON string, reading off variables left to right. - jake On 5/22/07, Sean Catchpole <[EMAIL PROTECTED]> wrot

[jQuery] OT: XML vs JSON

2007-05-22 Thread Sean Catchpole
I really like json, and the ability to recognize arrays is great. However, there is strength of xml in that order can be preserved. I can not think of a way to implement this in json. Is it possible and I am simply blind to the truth? XML: TitleSubtitleAuthor JSON: {"p":{"b":["Title","Author"],

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Benjamin Sterling
hmmm I can deal with silver, I prefer white gold though, can we make that happen? Not sure about spam cake tho, but I would like some spam fajitas http://www.recipesource.com/main-dishes/meat/pork/spam/00/rec0025.html -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.co

[jQuery] Re: Slow selector

2007-05-22 Thread Daemach
You should definitely consider using a classname to select items like this. $('input.quantity') would be significantly faster. On May 22, 8:29 am, Gordon <[EMAIL PROTECTED]> wrote: > I am writing a script that scans a list of items that each contain > form fields and doing something based on the

[jQuery] Re: Dispatch events into dynamically loaded content

2007-05-22 Thread Chris W. Parker
On Tuesday, May 22, 2007 11:23 AM [EMAIL PROTECTED] <> said: > Hello everybody and my apologies for my poor english but I'm a french > speaker. I had no problem with your English. :) > I want to dispatch a "load" event on a link in a "loaded" content. [snip] > I'd like that the "My second lin

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Jonathan Sharp
Send me your mailing address and I'll send you a yummy spam cake. On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: hmmm... I wonder if there would be a statue raised in my name. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com <

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Ⓙⓐⓚⓔ
Perhaps on your anniversary as spam monarch! they will mint a coin with your picture on it in Silver! On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: hmmm... I wonder if there would be a statue raised in my name. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHost

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Benjamin Sterling
hmmm... I wonder if there would be a statue raised in my name. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Slow selector

2007-05-22 Thread Gordon
The children of the container are the elements that decisions are going to be made on based on the values of form fields inside them, so doing the each on the fields directly isn't an option. I'm going to use the classes idea, which seems more practical for what I want. Thanks. On May 22, 4:29 p

[jQuery] Re: The best practice to do this

2007-05-22 Thread Ⓙⓐⓚⓔ
you would have to allow the return to be inserted as well! I'm having trouble understanding what you mean. You don't want any real s, just a textarea, but you want a - added with every newline? On 5/22/07, Jean Nascimento <[EMAIL PROTECTED]> wrote: n that dont break the line =p On 5/22

[jQuery] Re: The best practice to do this

2007-05-22 Thread Jake McGraw
Have you tried using a newline, like \n? On 5/22/07, Jean Nascimento <[EMAIL PROTECTED]> wrote: n that dont break the line =p On 5/22/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: > $("#mytext").keyup would be called for every character entered... > if they hit a return (or enter or tab) you could

[jQuery] Re: The best practice to do this

2007-05-22 Thread Christof Donat
Hi, > > -1 > -2 > -3 > My problem is how i break a line in textarea (i try a lot things and dont > work) ?? It yould simply work by inserting a '\n' at the appropriate place in the Textarea. Christof

[jQuery] Re: The best practice to do this

2007-05-22 Thread Jean Nascimento
n that dont break the line =p On 5/22/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote: $("#mytext").keyup would be called for every character entered... if they hit a return (or enter or tab) you could insert an · Is that what you want?? On 5/22/07, Jean Nascimento <[EMAIL PROTECTED]> wrote: > > gr

[jQuery] Re: The best practice to do this

2007-05-22 Thread Ⓙⓐⓚⓔ
$("#mytext").keyup would be called for every character entered... if they hit a return (or enter or tab) you could insert an · Is that what you want?? On 5/22/07, Jean Nascimento <[EMAIL PROTECTED]> wrote: great, but i want to simule a list in textarea, like: -1 -2 -3 wrote: > Ahh, I see

[jQuery] Re: The best practice to do this

2007-05-22 Thread Jean Nascimento
great, but i want to simule a list in textarea, like: -1 -2 -3 wrote: Ahh, I see what you're getting at: HTML: JavaScript: $("#mytext").keypress(function(event){ if (!event.keyCode||event.keyCode!=13) return; $("#mylist").append(""+$(this).val()+""); $(this).val(""); }); Works in

[jQuery] Re: Dynamic content rendering anomaly

2007-05-22 Thread SamCKayak
Rob, the tbody didn't change the problem unfortunately, but when I resorted to Erik's trick, it worked, but it's after the show, so the display problem flashes briefly. So now that the beast is known, I think I'll wrap the table in a div and apply the show effect there when I get a chance. Than

[jQuery] Dispatch events into dynamically loaded content

2007-05-22 Thread [EMAIL PROTECTED]
Hello everybody and my apologies for my poor english but I'm a french speaker. I want to dispatch a "load" event on a link in a "loaded" content. Explanation : First and original link $('.doMyLoad').click( function () { $(this).parent().load( $(this).attr('href') ); } )

[jQuery] Re: Working only after refreshing

2007-05-22 Thread Richard D. Worth
On 5/22/07, poncjusz <[EMAIL PROTECTED]> wrote: $(document).ready(function() { $("#articleContent").css({ "margin-top": -($("#otherArticles").height()+15 }); )}; $(document).ready(function() { $("#articleContent").css({ "margin-top": -( $("#otherArticles") .he

[jQuery] ANNOUNCE: SearchHighlight plugin

2007-05-22 Thread Renato Formato
Hi all, I just released my second jQuery plugin, SearchHighlight, a plugin to highlight searched words in your search result pages. Here are the main features: 1) It works using search engine referrers or explicitly declared words 2) supports multicolor highlight 3) exact and partial matches 4)

[jQuery] Jquery compat-1.0.js patch kills thickbox 3.0

2007-05-22 Thread Michael Haggerty
I installed jquery 1.1.2, thickbox 3.0 and the compat-1.0.js patch for Drupal all on the same site and Thickbox died quickly. I played around with the code for a while and found that a call to show() in TB was the culprit. Wondering how to attack these kinds of problems in the future. On the one

[jQuery] Re: Regex experts: search/replace operations

2007-05-22 Thread Daemach
Thanks to all. I learn a little more each day ;) On May 22, 3:03 am, "Ralf S. Engelschall" wrote: > On Tue, May 22, 2007, Jörn Zaefferer wrote: > > Dan G. Switzer, II wrote: > > >> This is a little off-topic, but when doing a regex search and replace > > >> within a text editor, how can I repl

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Ⓙⓐⓚⓔ
Bengi, the list meister! The Benamator! The Man with the Button! All Hail Benjamin, He who leadeth us from spam! On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Sweet, is this where I start my maniacal laughter. no, power does not go to my head quickly :) On 5/22/07, John Resig < [EM

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread John Resig
Haha - if the # of subscribers starts to drop drastically, I'll know why :) --John On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: Sweet, is this where I start my maniacal laughter. no, power does not go to my head quickly :) On 5/22/07, John Resig < [EMAIL PROTECTED]> wrote: > > A

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Benjamin Sterling
Sweet, is this where I start my maniacal laughter. no, power does not go to my head quickly :) On 5/22/07, John Resig <[EMAIL PROTECTED]> wrote: Actually, that's a good idea. You're now a manager of the group - and messages from new members are now moderated. Go to town! --John On 5/22/07,

[jQuery] Re: How to handle Pseudo leak in IE?

2007-05-22 Thread Brandon Aaron
One way around this in your app and apps like yours is to invoke the IE garbage collector by calling the GarbageCollect function. You would want to do this every so often are important clicks/exchanging. Calling this method should release any memory that IE would normally release on refresh. Jus

[jQuery] Select box change event infinite loop in ASP.NET

2007-05-22 Thread Mike Chabot
I have a simple function to capture the OnChange event of a drop-down select box. In MSIE, it works as expected, but Firefox gets caught in an infinite loop. Has anyone else seen this problem? I have a counter to track the problem. In MSIE, the counter goes up by 1 for every change. In Firefox, t

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread John Resig
Actually, that's a good idea. You're now a manager of the group - and messages from new members are now moderated. Go to town! --John On 5/22/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: John, if that is something you can trust someone that is not part of the jQuery team to handle, I would

[jQuery] Re: jquery.validation and ajax

2007-05-22 Thread daweb
I've tried this solution, but nothing to do for me... umphf!! $().ready(function() { // validate signup form on keyup and submit $('#form_inserisci_commento').ajaxForm({ beforeSubmit: function() {$("#form_inserisci_commento").validate({ event: "keyup", rules: {

[jQuery] Re: Trouble with calendar icon and datePicker v2

2007-05-22 Thread Chris W. Parker
On Tuesday, May 22, 2007 2:20 AM Wizzud <> said: > the class of the anchor is actually .dp-choose-date, not .date-picker > as the example page states. Check his css and you'll find an entry for > a.dp-choose-date{}. Great! Thanks.

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread Benjamin Sterling
John, if that is something you can trust someone that is not part of the jQuery team to handle, I would be willing to help. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: form plugin

2007-05-22 Thread Ⓙⓐⓚⓔ
the code looks very packable, are you willing to test? http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js turns into: eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29): c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[func

[jQuery] Re: jquery tabs: creating tabs without triggering onShow action

2007-05-22 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, I noticed when I create my JQuery tabs, the "onShow" callback function is automatically invoked. $('#container').tabs(tab_id, { remote: true, fxFade: true, fxSpeed: 'fast',

[jQuery] Stop animation on the fly...stop effect, stop fade, stop slide...

2007-05-22 Thread Pogo
I'm discovering a really huge drawback with jQuery. There doesn't seem to be any simple solution to just stopping any animation effect once it has been started. I've seen all kinds of posts making requests for such a thing (i.e., $ ("p").animationStop(); ), but nowhere have I seen any workaround

[jQuery] Re: Slow selector

2007-05-22 Thread Rob Desbois
How about using a class? I haven't tested it but I believe this is faster than using field names to filter on. --rob On 5/22/07, Gordon <[EMAIL PROTECTED]> wrote: I am writing a script that scans a list of items that each contain form fields and doing something based on the value of the fiel

[jQuery] Re: jQuery Powered Site - summize.com

2007-05-22 Thread Marshall Salinger
Chris Scott wrote: http://www.summize.com/ Ran across this and didn't see it in the wiki so I've added it. Very nice use of jQuery for the Ratings and Buzz graphs (e.g. http://www.summize.com/product/nintendo-wii/-/-/B0009VXBAQ ) and probably other features I haven't found yet. Interesti

[jQuery] Re: Stop animation on the fly. (Stop effect, stop fade, stop slide, etc.)

2007-05-22 Thread Jeffrey Kretz
You can use the interface plugin. http://interface.eyecon.ro/ The ifx.js file, added to your project, opens a number of additional methods, including a stop(). JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pogo Sent: Tuesday, May 22, 2007

[jQuery] Re: dealing with spam on the jQuery list.

2007-05-22 Thread John Resig
That's an option with Google Groups too - but it'll require a lot of work on our (jQuery team) end. It does seem like the more-ideal solution, if we really want no spam. --John On 5/22/07, Bil Corry <[EMAIL PROTECTED]> wrote: Christof Donat wrote on 5/22/2007 12:28 AM: > I don't know, what sp

[jQuery] Re: Ajax: ASP returns JSON to client

2007-05-22 Thread Jeffrey Kretz
Ah, I understand. I believe that the actual issue is that the Server.URLEncode method is flawed, not the client-side javascript decoders. unescape, decodeURI and decodeURIComponent are all javascript standard methods and don't need to be implemented by any javascript libraries. If you are usin

[jQuery] Stop animation on the fly. (Stop effect, stop fade, stop slide, etc.)

2007-05-22 Thread Pogo
I'm discovering a really huge drawback with jQuery. There doesn't seem to be any simple solution to just stopping any animation effect once it has been started. I've seen all kinds of posts making requests for such a thing (i.e., $ ("p").animationStop(); ), but nowhere have I seen any workaround

[jQuery] Re: Slow selector

2007-05-22 Thread Benjamin Sterling
Gordo, Could be wrong on this, but you should be able to do something like: $('[EMAIL PROTECTED]').each(function(){ thisVal = parseInt($(this).val()); }); I am pretty sure that will be faster, but not a 100% on that. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] jquery tabs: creating tabs without triggering onShow action

2007-05-22 Thread [EMAIL PROTECTED]
Hi, I noticed when I create my JQuery tabs, the "onShow" callback function is automatically invoked. $('#container').tabs(tab_id, { remote: true, fxFade: true, fxSpeed: 'fast', onShow: function(cl

[jQuery] Slow selector

2007-05-22 Thread Gordon
I am writing a script that scans a list of items that each contain form fields and doing something based on the value of the field in each item. I came up with the following code, which does seem to work as intended, but execution can take upwards of 500ms, which I feel is rather slow. var conta

[jQuery] Working only after refreshing

2007-05-22 Thread poncjusz
I've got simple code (at the bottom) which move up articleContent its margin-top depends on #otherArticles height, its work but only when I refresh my site. Is any trick which allows me to make it work correctly? $(document).ready(function() { $("#articleContent").css({ "margin-top": -

[jQuery] Re: Dynamic content rendering anomaly

2007-05-22 Thread Erik Beeson
The problem is with .show(). The show function doesn't work on tables because it sets the CSS property "display" to "block", and for tables you want "display" to be "table". Instead of doing .show(), do .css("display", "table"). Or if you want to have the animated show effect, you could do: $(...

[jQuery] Re: Text Button

2007-05-22 Thread Rob Desbois
James, The tag is a different element created to allow much more control over styling and content - you can include markup such as images and styling in a tag which is not possible with As for which of the two approaches I prefer - I'd go for as the javascript IS the link target, creating an

[jQuery] Re: Dynamic content rendering anomaly

2007-05-22 Thread Robert O'Rourke
SamCKayak wrote: First: this page validates. I've gone as far as running the "rendered code" through the WDG validator. No errors. No CSS errors either. Renders fine in IE 6, 7. Firefox, does a trick with the top of the table.show(), extending the border-top of the table beyond the right e

[jQuery] alerting the value of radio button onfocus

2007-05-22 Thread stef
that's what im trying to do - when a radio button is clicked, show its value. i have the code below, which i dont think is the best way to go about it. it always alerts "undefined". my reasoning is: when the document has loaded, and an input element in the div with id 'test' is focussed, show an a

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, Thanks a lot, exactly what I am looking for. Cheers james On May 22, 6:50 pm, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > 1/ you can make any tag clickable by adding a "click" event. That's thanks > to javascript, but jquery makes it more easily accessible. > > $('p').click(function

[jQuery] Re: Text Button

2007-05-22 Thread james_027
Hi, what is the difference between to Thanks james On May 22, 5:20 pm, Bob den Otter <[EMAIL PROTECTED]> wrote: > james_027 wrote: > > Hi, > > > Is this the best way to make a text button? > > > Click Me! > > Slightly offtopic, but you might want to look into > this:http://particletree.com/fe

  1   2   >