[jQuery] Tag Cloud

2007-09-19 Thread Mandy Singh
Is there an implementation of Tag Cloud css or logic using jquery?

[jQuery] Re: IE shows nothing o.0

2007-09-19 Thread John Resig
Do you have a full page online that we can look at? That line, alone, shouldn't cause any problems. --John On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there, > > im new at jQuery and totaly new with JavaScript. > But there is a huge Problem with jQuery an IE. > > To include j

[jQuery] Re: getJSON doesnt remove ...

2007-09-19 Thread John Resig
How so? I see this line in the jQuery source: head.removeChild( script ); Once the script is finished loading the script tag is then removed. --John On 9/19/07, Tom <[EMAIL PROTECTED]> wrote: > > Ive noticed that $.getJSON never attempts to remove the script tags it > inserts. Is this a bug or

[jQuery] Comet calls/multiple open HTTP connections

2007-09-19 Thread David Pollak
Howdy, I'm using jQuery 1.2.1 (I love it... the selectors are most awesome and it has a very "functional" flavor) I've got a situation that I've seen on Firefox 2.0 (it may be an issue on other browsers.) It seems that I can only have 2 pending HTTP requests from the browser to the same server

[jQuery] Re: Installation of UI?

2007-09-19 Thread Rabbit
Hi Christian, thanks for the reply. Here's the wiki page with the tablesorter typo: http://docs.jquery.com/Tutorials:Getting_Started_with_jQuery#Sort_me:_Using_the_tablesorter_plugin On Sep 18, 3:56 am, "Christian Bach" <[EMAIL PROTECTED]> wrote: > On what page in the wiki did you find tableSorte

[jQuery] IE shows nothing o.0

2007-09-19 Thread [EMAIL PROTECTED]
Hi there, im new at jQuery and totaly new with JavaScript. But there is a huge Problem with jQuery an IE. To include jQuery i use that Line: And since i have put this line to my Code IE shows only a blank white page. But it works fine with Opera and Firefox. Same thin with the StarterKit, it w

[jQuery] Re: Accordion plugin height calcullation bug

2007-09-19 Thread Frantisek Malina
Demo at http://vizualbod.com/accordion/demo.html

[jQuery] Re: Can anyone suggest a jQuery way of improving this UI? Screenshot included.

2007-09-19 Thread 胡争辉
It seems there are some bugs in the sortables component. 2007/9/16, Karl Swedberg <[EMAIL PROTECTED]>: > > > Hi Steve, > > The planned release of jQuery UI (including the sortables component) is > today, so if you can hold off until the announcement, you'll probably be in > really good shape. I'm

[jQuery] getJSON doesnt remove ...

2007-09-19 Thread Tom
Ive noticed that $.getJSON never attempts to remove the script tags it inserts. Is this a bug or by design? -Tom

[jQuery] Why is this accordion crashing in IE7?

2007-09-19 Thread Frantisek Malina
Demo is at http://vizualbod.com/accordion/demo.html

[jQuery] Re: Accordion plugin height calcullation bug

2007-09-19 Thread Frantisek Malina
demo is at http://vizualbod.com/accordion/demo.html On Sep 19, 11:13 pm, Frantisek Malina <[EMAIL PROTECTED]> wrote: > Hi all, > I've got a problem with the accordion plugin height callcullation. It > is a very cool plugin, but there seems to be bug in here. > > Plugin athttp://bassistance.de/jq

[jQuery] Re: Accordion plugin height calcullation bug

2007-09-19 Thread Frantisek Malina
Lovely demo of this bug is at http://vizualbod.com/accordion/demo.html It is still crashing in IE7.

[jQuery] IE problem

2007-09-19 Thread Jonathon Stierman
Hi all -- This is my first foray into the jQuery library! I'm working on an Accordion -- and I've got everything running smoothly in Firefox, but for the life of me I cannot get this example to function using IE: http://www.learningjquery.com/2007/03/accordion-madness It functions just fine o

[jQuery] Re: Accordion plugin height calcullation bug

2007-09-19 Thread Frantisek Malina
Lovely demo of this bug is at http://vizualbod.com/accordion/demo.html It is still crashing in IE7. I hope it can halp you to help me.

[jQuery] Re: jquery looping is slow

2007-09-19 Thread John Resig
> Also, it's possible your initial selection is slow. I imagine having tbody > in there isn't helping at all, and is probably making it slower. "#tableId > tr" or even better, "#tableId > tbody > tr" would probably be faster. The shorter the selector, the faster it is and every time you see a spa

[jQuery] Re: problem with nested ajax calls

2007-09-19 Thread Michael Geary
I'll bet "this" is not what you expect. What is all the "this" usage for? It doesn't look like you are creating an object, or are you? I don't see the calling code - do you call "new jDemon" or just "jDemon()"? login, getAllCustomers, and getAllCustomersSuccess are methods of... what? For examp

[jQuery] Re: problem with nested ajax calls

2007-09-19 Thread Lee Hinde
On 9/19/07, Lee Hinde <[EMAIL PROTECTED]> wrote: > Hi; > > I am trying to nest an ajax call as part of the success callback to an > ajax call. Specifically, after a successful log in, I'd like to > populate some data. > > I'm stepping into a lot of new ground, for me, so it's hard to figure > out

[jQuery] jQuery UI Tabs

2007-09-19 Thread Eridius
http://www.kaizendigital.com/codereck/index_jquery.php this is my page to test out jQuery scripts. right now i am going through the jQuery UI stuff and hit a bug(?) in the tabs. First thing which is not so big is that the tabs seem to be way to right, much more than i thought and can't find whe

[jQuery] Re: UI Photo Demo on Safari

2007-09-19 Thread John Resig
David & Duncan - Thanks for the feedback! UI-specific stuff should head to the jQuery UI list: http://groups.google.com/group/jquery-ui --John On 9/19/07, Duncan Heal <[EMAIL PROTECTED]> wrote: > Hi David > > I've heard somewhere that they are working on it. I think they're also > discouraging

[jQuery] Re: UI Photo Demo on Safari

2007-09-19 Thread Duncan Heal
Hi David I've heard somewhere that they are working on it. I think they're also discouraging posts to this list about UI though I'm sure they appreciate the feedback. Regards Duncan - - - - - - - - - - - - - - - - - Sprocket Web Design www.sprocket.co.nz - - - - - - - - - - - - - - - - -

[jQuery] problem with nested ajax calls

2007-09-19 Thread Lee Hinde
Hi; I am trying to nest an ajax call as part of the success callback to an ajax call. Specifically, after a successful log in, I'd like to populate some data. I'm stepping into a lot of new ground, for me, so it's hard to figure out why something isn't working. The login works fine. And the fir

[jQuery] Re: OT: PHP to read jQuery API XML

2007-09-19 Thread Stephan Beal
On Sep 19, 8:52 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > What I have so far > is:http://www.commadot.com/jquery/experiments/api/xmlReader.txt(code) > http://www.commadot.com/jquery/experiments/api/xmlReader.php(results) > > I will have to make more nested foreach loops to get grandchildren a

[jQuery] Re: How to return a click event from the container function

2007-09-19 Thread Erik Beeson
Anytime you do $(...), that's often the slowest part of your chain. So if you find yourself doing it a lot for the same selector, it might help performance to do it once, store it in a variable, then reference the variable instead. This specific case is probably not a great example, because selecti

[jQuery] Re: easiest question all day

2007-09-19 Thread Josh Nathanson
var GitRDone = "smoke'n hot"; $("body").append(GitRDone); Not tested... - Original Message - From: "FrankTudor" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, September 19, 2007 12:45 PM Subject: [jQuery] easiest question all day can someone show me an example of

[jQuery] loading into scrollable div?

2007-09-19 Thread Sav
I'm using the load() function to insert external html files into a scrollable div container. The problem is that if you scroll down in the content of the div, then do an action that loads new text into the div, the scroll stays where you were rather than returning to the top of the content. Is t

[jQuery] Re: ajax response url

2007-09-19 Thread x0nix
That's what I was afraid of. I'll work it around with custom header as you suggest. Many thanks. x0nix On 19 Zář, 13:44, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > As far as I can tell, this can't be done cross-browser. Firefox has an > xhr.channel object that has both the original URL, and the

[jQuery] Re: How to return a click event from the container function

2007-09-19 Thread Brook Davies
Question: When you say “consider caching $('#inline_dialog') in a local variable”, do you mean simply storing the string x = ‘’ or another method of caching. How would you cache it and reuse it with jQuery? Does it need to be inserted into the document before it can be cached? Thanks! Brook

[jQuery] Accordion plugin height calcullation bug

2007-09-19 Thread Frantisek Malina
Hi all, I've got a problem with the accordion plugin height callcullation. It is a very cool plugin, but there seems to be bug in here. Plugin at http://bassistance.de/jquery-plugins/jquery-plugin-accordion/ It basically uses for stretching - height of the first element I hover over, instead of

[jQuery] Open and search a .XML file

2007-09-19 Thread Danjojo
Can anyone provide me a link of how to open an xml file using JQuery?

[jQuery] easiest question all day

2007-09-19 Thread FrankTudor
can someone show me an example of creating a simple variable and appending that variable to the document body? Here is my simple example (that doesn't work)... var GitRDone = "smoke'n hot"; $GitRDone.appendTo('body'); Thanks, Frank

[jQuery] Job Posting: Javascript/JQuery Developer

2007-09-19 Thread Assembla
Venture-funded hot startup seeks an experienced JQuery/JavaScript developer for an exciting project to be used in the science and research worlds. Our multinational team has diverse backgrounds in academics, sciences, bio-tech, and hi-tech, and was founded on the observation that individual scient

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy
Sounds good I'll give that a try, thanks. Jörn Zaefferer wrote: > > > seedy schrieb: >> ok now a follow up question >> >> I have 3 text boxes that make up a telephone number. I want validation >> to >> fail if any of the text boxes are not complete, but I only want to show >> one >> message f

[jQuery] Re: Update div

2007-09-19 Thread Erik Beeson
The Taconite plugin is good for that kind of thing. Not sure if it's been update for 1.2 yet: http://www.malsup.com/jquery/taconite/ --Erik On 9/19/07, David <[EMAIL PROTECTED]> wrote: > > How update multiple div by ajax from php? > >

[jQuery] Re: Jquery in the BBB

2007-09-19 Thread Andy Matthews
Better Business Bureau -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris W. Parker Sent: Wednesday, September 19, 2007 3:52 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Jquery in the BBB On Wednesday, September 19, 2007 12:16 PM

[jQuery] Update div

2007-09-19 Thread David
How update multiple div by ajax from php?

[jQuery] Effiecint way to create an object for checkboxes onload

2007-09-19 Thread Potluri
Hi I've multiple criteria of checkboxes on one page. Each criteria contains differnt number of checkboxes. I've 8 criterias of checkboxes. For example A B C A1 B1 C1 D1 E1 etc... All I'm trying to do is create objects for each criteria of checkboxes like mentioned below on page load var $c

[jQuery] Re: jQuery UI - How do I get the X and Y of the DROP div

2007-09-19 Thread Erik Beeson
ev is the event that triggered the callback (mousemove for over/out, mouseup for drop, etc). ui is an object that has the following properties: helper, position, offset, draggable, options. I suggest you log them to firebug console to get a feel for what they mean. In your droppable callbacks, 't

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread Jörn Zaefferer
seedy schrieb: ok now a follow up question I have 3 text boxes that make up a telephone number. I want validation to fail if any of the text boxes are not complete, but I only want to show one message for the failure, not one per textbox. Any recommended ways of doing this? The first thing

[jQuery] Re: Jquery in the BBB

2007-09-19 Thread Chris W. Parker
On Wednesday, September 19, 2007 12:16 PM Anthony Leboeuf(Worcester Wide Web) said: > I'm doing the back end programming for the new BBB websites launching > at the beginning of next month, they are rocking Jquery all the way! > > They are using interface, roundbox, slider Battle Bots from Bor

[jQuery] Re: Determining the source of a load

2007-09-19 Thread Erik Beeson
Right, I was suggesting you make a change on your server so you don't send a 3xx redirection, and instead send another code that you can check for on the client. You could still do the redirection from javascript. There was just another thread about detecting URL redirections in ajax. Seems it's p

[jQuery] Re: get all checkboxes

2007-09-19 Thread seedy
if you know the 'my_' is always at the start of the id this might be a bit faster $("input[id^='my_']:checkbox") Glen Lipka wrote: > > Try $("input[id*='my_']:checkbox") > I havent tested this, but it should work. > > Glen > > On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> >

[jQuery] jQuery UI - How do I get the X and Y of the DROP div

2007-09-19 Thread Frank Peterson
I'm using the example at: http://docs.jquery.com/UI/Droppables and I have the BLOCK dragging and able to drop it, but I want the BLOCK to take the X and Y position of the DROP div, I'm not sure how to find that out Also what are the ev, ui in the drop: function? Will UI give me the actual DROP d

[jQuery] Re: get all checkboxes

2007-09-19 Thread Trans
On Sep 19, 4:37 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > is it possible in prototype to get all checkboxes on a page with a fixed > id namepart like this: > > ID="my_checkbox" > > and i want to get all checkboxes beginning on "my_" I'm having a similar issue. I used:

[jQuery] Re: Jquery in the BBB

2007-09-19 Thread John Resig
That's exciting! Are there any URLs where we can see the results, when they launch? --John On 9/19/07, Anthony Leboeuf(Worcester Wide Web) <[EMAIL PROTECTED]> wrote: > > I'm doing the back end programming for the new BBB websites launching > at the beginning of next month, they are rocking Jque

[jQuery] Re: ScrollTo

2007-09-19 Thread John Resig
jQuery has scrollTo built straight into core: $("html,body").animate({ scrollTop: 400 }); or to scroll to a specific element, do: $("html,body").animate({ scrollTop: $("#elem").offset().top }); More info and demo: http://www.learningjquery.com/2007/09/animated-scrolling-with-jquery-12 --John

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy
ok now a follow up question I have 3 text boxes that make up a telephone number. I want validation to fail if any of the text boxes are not complete, but I only want to show one message for the failure, not one per textbox. Any recommended ways of doing this? Jörn Zaefferer wrote: > > > s

[jQuery] Re: ScrollTo

2007-09-19 Thread Benjamin Sterling
Yup, the dimensions plugin has scrollTop and scrollLeft: http://brandonaaron.net/docs/dimensions/#sample-3 On 9/19/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Um.. I do believe the dimensions plugin has this and has had it. I could > be wrong. > > On 9/19/07, Idowatiwant < [EMAIL PROTECT

[jQuery] Re: ScrollTo

2007-09-19 Thread Benjamin Sterling
Um.. I do believe the dimensions plugin has this and has had it. I could be wrong. On 9/19/07, Idowatiwant <[EMAIL PROTECTED]> wrote: > > > We need a scrollTo function like mooTools, the one.. interface > elements has sucks, plus theirs an unfixed bug in it! something about > jQuery.dequeue isn't

[jQuery] Jquery in the BBB

2007-09-19 Thread Anthony Leboeuf(Worcester Wide Web)
I'm doing the back end programming for the new BBB websites launching at the beginning of next month, they are rocking Jquery all the way! They are using interface, roundbox, slider

[jQuery] Re: jQuery UI

2007-09-19 Thread Erik Beeson
The demos on the main UI page show an example that uses grid: http://ui.jquery.com/ It's also available here: http://dev.jquery.com/view/trunk/plugins/ui/demos/ui.draggable.html --Erik On 9/19/07, Frank Peterson <[EMAIL PROTECTED]> wrote: > > > Draggable for the UI has options, like GRID but

[jQuery] jQuery UI

2007-09-19 Thread Frank Peterson
Draggable for the UI has options, like GRID but there are no examples on how to use these options. Anyone know how?

[jQuery] Re: $.load() javascript problems in IE and Safari

2007-09-19 Thread Bryan Blakey
Jim, that info was extremely helpful. I also noticed that $.load calls .html which calls .append which in turn calls domManip, but couldn't figure out why it still wasn't evaluating my scripts, and therefore added the evalScripts back in. The fact that script tags have to be at the top level is

[jQuery] Re: Treeview navigation highlighting?

2007-09-19 Thread Joan Piedra
lol, I love localhost On 9/19/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > > > Jörn Zaefferer schrieb: > > > > sgrover schrieb: > >> I'm using the Treeview library from > >> http://bassistance.de/jquery-plugins/jquery-plugin-treeview/, with > >> jQuery 1.1.4. All is going well except for one t

[jQuery] ScrollTo

2007-09-19 Thread Idowatiwant
We need a scrollTo function like mooTools, the one.. interface elements has sucks, plus theirs an unfixed bug in it! something about jQuery.dequeue isn't a function. But please consider this, it's needed! Lol

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread seedy
wow I hadn't considered using an if to check the id of the element. Feeling really dumb right now. Thanks! Jörn Zaefferer wrote: > > > seedy schrieb: >> Is it possible to use errorPlacement with the validation plugin to have a >> different placement for each field validated? >> >> ie. >> $(

[jQuery] OT: PHP to read jQuery API XML

2007-09-19 Thread Glen Lipka
I am working on an API Browser. Rather than transform the whole XML structure on the client-side, I am using PHP to get and return only the parts I need. I am hoping this is a speed improvement. What I have so far is: http://www.commadot.com/jquery/experiments/api/xmlReader.txt (code) http://www.c

[jQuery] Re: Opinions on YUI?

2007-09-19 Thread Stuart
Yeah! what Jorn said! I love both jQuery and Ext but wouldn't it be fantastic to have Ext's widgets, panels, etc all with jQuery's syntax? On Sep 19, 1:28 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Brian Miller schrieb:> Hopefully, people are open-minded, and willing to mash > up 2-3 differ

[jQuery] Re: How to return a click event from the container function

2007-09-19 Thread Erik Beeson
For that to happen, showDialog would have to block until the dialog was closed, and that's not how JavaScript works. To do what you want, pass a callback function to showDialog and call it on close. Something like this (untested): this.showDialog = function(msg, buttons, onHide) { $('#inline_di

[jQuery] Re: validation - multiple errorPlacements

2007-09-19 Thread Jörn Zaefferer
seedy schrieb: Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true}, integer:{required:true} } }) I would like to h

[jQuery] Re: Opinions on YUI?

2007-09-19 Thread Jörn Zaefferer
Brian Miller schrieb: Hopefully, people are open-minded, and willing to mash up 2-3 different libraries. I'm mashing Ext and jQuery at work. So far there is no equivalent jQuery-based component to replace Ext's grid and tree components. And jQuery helps a lot to fill all the gaps that Ext d

[jQuery] Re: Treeview navigation highlighting?

2007-09-19 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: sgrover schrieb: I'm using the Treeview library from http://bassistance.de/jquery-plugins/jquery-plugin-treeview/, with jQuery 1.1.4. All is going well except for one tiny point. We're using the tree to list navigation structure. When choosing a page, we need to l

[jQuery] Re: Treeview navigation highlighting?

2007-09-19 Thread Jörn Zaefferer
sgrover schrieb: I'm using the Treeview library from http://bassistance.de/jquery-plugins/jquery-plugin-treeview/, with jQuery 1.1.4. All is going well except for one tiny point. We're using the tree to list navigation structure. When choosing a page, we need to load the selected page and

[jQuery] Re: contains() with a jquery object reference (form field)

2007-09-19 Thread Karl Swedberg
Not sure, but maybe like this ... $("#sqltable tr td:contains(" + $('#workgroup').val() + ")").toggleClass("highlight"); --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 19, 2007, at 2:03 PM, Graeme B. Davis wrote: I'm trying to highlight some r

[jQuery] Re: contains() with a jquery object reference (form field)

2007-09-19 Thread John Resig
Like so: $("#sqltable tr td:contains(" + $('#workgroup').val() + ")").toggleClass("highlight"); --John On 9/19/07, Graeme B. Davis <[EMAIL PROTECTED]> wrote: > > I'm trying to highlight some rows of a table, and previously did this with > the following code: > > $('#sqltable').find('td').contai

[jQuery] contains() with a jquery object reference (form field)

2007-09-19 Thread Graeme B. Davis
I'm trying to highlight some rows of a table, and previously did this with the following code: $('#sqltable').find('td').contains($('#workgroup').val()).toggleClass("highl ight"); The new code: $("#sqltable tr td:contains(TEXT TO SEARCH FOR HERE)").toggleClass("highlight"); How do I specify $(

[jQuery] Re: [SITE SUBMISSION] wo2do.com

2007-09-19 Thread Michael Stuhr
Rey Bango schrieb: Jonah at 64squar.es sent me this one: http://wo2do.com/ An online community for sharing and caring about things to do around the world. they need a new google-api-key :-) micha

[jQuery] [SITE SUBMISSION] wo2do.com

2007-09-19 Thread Rey Bango
Jonah at 64squar.es sent me this one: http://wo2do.com/ An online community for sharing and caring about things to do around the world.

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Jonathan Sharp
Here's a rough outline of the code/style in question. My plugin will position an element in one of 16 predefined locations and add a css class pertaining to that location (eg. location1). It knows nothing about the element it's positioning. When it adds the location css class it first has to remov

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Karl Swedberg
On Sep 19, 2007, at 1:31 PM, Stephan Beal wrote: On Sep 19, 6:55 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: I had 15 classes I had to remove and Firefox was a champ at chained removeClass calls, IE was taking 760ms! If i'm not mistaken, IE takes so long in that case because it has to ema

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Andy Matthews
On Vista at least. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephan Beal Sent: Wednesday, September 19, 2007 12:31 PM To: jQuery (English) Subject: [jQuery] Re: PERFORMANCE TIP: removeClass() On Sep 19, 6:55 pm, "Jonathan Sharp" <[EMAIL

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Andy Matthews
I might argue that if you're having to add/remove 15 classes, that your time could be better spent optimizing your display code. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Sharp Sent: Wednesday, September 19, 2007 11:55 AM To: jquery-en@goo

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Gordon
Good rule of thumb in all programming is to keep function calls to a minimum. Chaining is a powerful jQuery feature but it's also expensive even in script engines that aren't as utterly awful as IE's. This is a prime example. Another tip that's pertinent to Javascript and jQuery is DOM access i

[jQuery] Re: Spolsky's Strategy Letter VI

2007-09-19 Thread Andy Matthews
LOL "You could spend six months rewriting your inner loops in Assembler, or take six months off to play drums in a rock and roll band, and in either case, your program would run faster." andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bil

[jQuery] Re: Announce: jQuery Tablesorter 2.0.1 Released

2007-09-19 Thread tlphipps
Personally I would prefer the metadata approach since I'm already using metadata to control other tablesorter parameters. Thanks for tackling this issue! On Sep 19, 10:22 am, "Christian Bach" <[EMAIL PROTECTED]> wrote: > Hi, > > I can take a look into this issue on Thursday. > > One way to solve

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Stephan Beal
On Sep 19, 6:55 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > I had 15 classes I had to remove and Firefox was a champ at chained > removeClass calls, IE was taking 760ms! If i'm not mistaken, IE takes so long in that case because it has to email the results of each function call to Microsoft

[jQuery] Re: Localization and using JQuery

2007-09-19 Thread Andy Martone
Yes, you can use jQuery to select nodes out of an XML document as you would out of the HTML DOM. We are using a similar technique for client-side i18n in our application. $("SomeNode", someDoc) returns all the SomeNode elements inside someDoc. You may find the XPath plugin to be helpful to navi

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread Jonathan Sharp
I'm not sure how it compares but the case I'm talking about isn't simply removing all classes. I'm removing a subset of the classes and I don't arbitrarily know what other classes may be on the element. -js On 9/19/07, seedy <[EMAIL PROTECTED]> wrote: > > > > just curious how would that compare

[jQuery] Re: Toggle working, but 2 clicks are needed ... (noob question?)

2007-09-19 Thread Fanck
Thanks. Indeed it worked fine, and you're way is much more clean ^^ On 19 sep, 17:44, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > I usually avoid putting onClick events in the html and do it all in the JS. > > Like > $("span.control a).toggle(function(){ > $(this).addClass("selected");},function(

[jQuery] Re: [SITE SUBMISSION] Google Code

2007-09-19 Thread polyrhythmic
Totally sweet. Charles

[jQuery] Re: PERFORMANCE TIP: removeClass()

2007-09-19 Thread seedy
just curious how would that compare to $(...).attr('class',''); Jonathan Sharp-2 wrote: > > *Do not do:* > $(...).removeClass('a').removeClass('b').removeClass('c'); > > *Instead do:* > $(...).removeClass('a b c'); > > Same applys to addClass() > > I had 15 classes I had to remove and Firef

[jQuery] validation - multiple errorPlacements

2007-09-19 Thread seedy
Is it possible to use errorPlacement with the validation plugin to have a different placement for each field validated? ie. $('#testForm').validate({ rules:{ firstname:{required:true}, integer:{required:true} } }) I would like to have the error fo

[jQuery] PERFORMANCE TIP: removeClass()

2007-09-19 Thread Jonathan Sharp
*Do not do:* $(...).removeClass('a').removeClass('b').removeClass('c'); *Instead do:* $(...).removeClass('a b c'); Same applys to addClass() I had 15 classes I had to remove and Firefox was a champ at chained removeClass calls, IE was taking 760ms! -js

[jQuery] Re: Spolsky's Strategy Letter VI

2007-09-19 Thread Josh Nathanson
Well, I might wake up in five years and decide that I can use a 1MB library, but when I woke up this morning, I was glad I'm using 25K jQuery. And not only because it's optimized for small footprint, but also because it's easy to use. -- Josh - Original Message - From: "Bil Corry"

[jQuery] Bigstring's jQuery front-end

2007-09-19 Thread njsuperfreak
Hey I wanted everyone to check our site, I used jQuery and corner.js plugin for the font-end. Thanks to all of you! Just another fine example of what can be accomplished, with JQuery! http://www.bigstring.com

[jQuery] Re: Spolsky's Strategy Letter VI

2007-09-19 Thread Michael Stuhr
Bil Corry schrieb: This is interesting in the context of jQuery's core optimization vs. larger, less-optimized libraries: "Assembler programmers don’t have groupies." xcellent! micha

[jQuery] Spolsky's Strategy Letter VI

2007-09-19 Thread Bil Corry
This is interesting in the context of jQuery's core optimization vs. larger, less-optimized libraries: - The developers who put a lot of effort into optimizing things and making them tight and fast will wake up to discover that effort was, more or less, wasted, or, at the very least, you

[jQuery] Re: $.getJSON and timeouts

2007-09-19 Thread Matt
Hi Peter, Thanks for your answer, I will try that. Matt 2007/9/19, Peter Bengtsson <[EMAIL PROTECTED]>: > > > $.getJSON() is just a wrapper on $.ajax(). The equivaqlent of > $.ajax({url:..., dataType:'json', data:..., success:..}) > > Try using $.ajax with that dataType instead and throw in th

[jQuery] Re: Multi-Lingual Methodology

2007-09-19 Thread Danjojo
Agreed, doing something database driven with server-side code would be faster and the solution as we move to an enterprise readiness. The task I have been asigned with is the mockup of a multi-lingual site yet still portable, will run in any browser after being unzipped into a folder. etc... I w

[jQuery] Browser Crash on SlideToggle (IE)

2007-09-19 Thread Sam Collett
I have a strange situation where the browser crashes when a SlideToggle animation is applied. It happens with Internet Explorer 6 and 7. What makes it particularly odd is that it only happens for part of the site. Steps to reproduce: Go to http://www.nelctp.nhs.uk Click on Help in the bar at the

[jQuery] Presentation pointers

2007-09-19 Thread Christopher Jordan
Hi folks, I'm going to be giving a talk to my local CFUG on jQuery, and specifically using jQuery in conjunction with ColdFusion. I've been writing a tutorial on my blog on this subject, but haven't finished it yet (it's a three-parter). However, this talk looming in the future has lit a fire unde

[jQuery] Re: Toggle working, but 2 clicks are needed ... (noob question?)

2007-09-19 Thread Glen Lipka
I usually avoid putting onClick events in the html and do it all in the JS. Like $("span.control a).toggle(function(){ $(this).addClass("selected"); },function(){ $(this).removeClass("selected"); }); Check out this demo of a similar thing. http://www.commadot.com/jquery/slideMenu.php I chang

[jQuery] tablesorter pager error

2007-09-19 Thread Stoyan
Hello Christian, The sorting does not work for me in the pager example :( Wednesday, September 19, 2007, 6:13:37 PM, you wrote: > Sorry! This is now resolved. Thanks for the heads up! /Christian 2007/9/19, Stoyan <[EMAIL PROTECTED]>:  Anyone gets an error in the tablesortger pager

[jQuery] Re: adding custom attr on html elements?

2007-09-19 Thread Karl Swedberg
Brandon Aaron wrote an entry on DOM Expandos (custom attributes) a while back: http://www.learningjquery.com/2007/03/selecting-elements-by- properties-and-dom-expandos The examples use the XPath syntax, so in jQuery 1.2, you'll need to either add the XPath plugin or remove the "@" symbol.

[jQuery] Toggle working, but 2 clicks are needed ... (noob question?)

2007-09-19 Thread Fanck
hi, here's the code I use: image('nav/expand.png', array('class' => 'expand'));?> image('nav/reduce.png', array('class' => 'reduce'));?> function toggleFnct(handle) { handle.parent().toggle( function(){ $('img.expand').show(); $('img.reduce').hide();

[jQuery] Find: Looks simple, but isn't working as expected...

2007-09-19 Thread Jeffrey Herr
Narrative: I'm trying to scrape a Wiki page within my company, extract the header text only, then include that into the home page on our Intranet. I thought: easy! I load the Wiki page into separate DOM starting at the Div containing the actual content, find all the 'h3' elements, and for each on

[jQuery] Re: hiding/showing "more than 5 P"

2007-09-19 Thread Benjamin Sterling
My bad, change pStart to 5 to get 5 P On 9/19/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Just tested that and it works like a charm, hope it helps. > > On 9/19/07, Benjamin Sterling <[EMAIL PROTECTED] > wrote: > > > > Gian, > > You can actually do more with less using the slice method, s

[jQuery] Re: hiding/showing "more than 5 P"

2007-09-19 Thread Benjamin Sterling
Just tested that and it works like a charm, hope it helps. On 9/19/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > > Gian, > You can actually do more with less using the slice method, something like > below should do you: > > $(function(){ > var pStart = 4; > $("#newswrapper p").slice(pStart).h

[jQuery] Re: get all checkboxes

2007-09-19 Thread Peter Bengtsson
$.grep( $('[EMAIL PROTECTED]"checkbox"]'), function(e) { return e.id.substr(0,3)=='my_'} ); [EMAIL PROTECTED] wrote: Hello, is it possible in prototype to get all checkboxes on a page with a fixed id namepart like this: ID="my_checkbox" and i want to get all checkboxes beginning on "m

[jQuery] Re: hiding/showing "more than 5 P"

2007-09-19 Thread Benjamin Sterling
Gian, You can actually do more with less using the slice method, something like below should do you: $(function(){ var pStart = 4; $("#newswrapper p").slice(pStart).hide(); $("a#sa").toggle( function(){ $("#newswrapper p").slice(pStart).show(); }, function(){ $("#newswrapper p").slice(pStart).hid

[jQuery] Re: include children of previous siblings conditionally

2007-09-19 Thread Karl Swedberg
On Sep 19, 2007, at 10:23 AM, Glen Lipka wrote: You can use xPath to find the attribute stuff. $("a[rel=foo]") Yes, except that isn't XPath. ;-) Without the "@", it's simple CSS2.1 XPath: $('[EMAIL PROTECTED]') CSS:$('a[rel=foo]') Cheers, --Karl _ Karl Swedberg www.eng

  1   2   >