Re: [jQuery] Kinda funny way to getting jQuery some exposure
That should work. $('#icons, #construction').corner(); On 3/30/07, Rey Bango [EMAIL PROTECTED] wrote: Mike Alsup wrote: Tsk, tsk, Rey. Your code is not very jQuery at all. What's with this verbsoity? $(#icons).corner(); $(#construction).corner(); So how should I have done the code, Masterson! Show the grasshopper your ways! That hurts my eyes as much as the ani gifs. ;-) Hahaha! Thank Pete Cashmore for that. He dared me. ;o) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Playing a beep with jQuery
I think you can do this using flash and some external interface to connect js and as to make it beep. On 3/22/07, Robert James [EMAIL PROTECTED] wrote: Anyway to use jQuery to make a tone? I'd even be willing to use it to marshall something from an applet (even signed) if there's a standard way to do this. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jquery scrollbar
It's more an usability issue here. It's as simple as an user looking for a normal/simple/used-to scrollbar, and then you have a div with a yellow with red scrollbar instead. That uses to confuse a lot of users, some think it's pretty cool, but most of the time the users get confused and don't really know if that really is a scrollbar or just a plain pic. On 3/18/07, Schnuck [EMAIL PROTECTED] wrote: On 18/03/07, Brandon Aaron [EMAIL PROTECTED] wrote: You might want to check out jScrollPane [1] and I'm currently working on a new scroll window plugin myself [2], but jScrollPane is going to be stable and mine will for sure be changing a lot in the near future. thanks! that saved my bacon - it indeed works as intended! BTW ... I'm still not convinced that using a custom designed scroll bar cross-platform is a good thing. Couldn't it just confuse users who are used to seeing a specific scroll bar? I guess it really just depends on your audience. i am not sure about that. after all, when we talk about (web)standards, then, to me, these standards should also include html widgets - independantly of what microsoft, apple or mozilla believes how these must or should look like. [1]: http://kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html [2]: http://brandon.jquery.com/plugins/scrollWindow/demo/ -- Brandon Aaron On 3/18/07, Schnuck [EMAIL PROTECTED] wrote: hi husy, i somehow figured out how to have multiple instances of the jquery scrollbar on the same page - however, i would like to use those scrollable divs in a auto-centered fixed width layout. i cannot seem to be able to modify the code in a way so the scrollbars move with the centered layout. is there any way to fix this? i could imagine this could be of interest for others too since this technique finally gives cross platform identitical scrollbars and would help unifying designs. any help highly appreciated. thanks, s here is a test site: http://www.myonlyworkingeye.co.uk/schnuck/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Removing readonly attribute from textarea
$(#myTextArea).removeAttr('readonly'); On 3/16/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Have you tried $(#myTextArea).attr(readonly, true/false);? Oh that's new for me, why is there a true/false value? Just to say use true or false, or is it kinda javascript conditional for jquery? Regards -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] remove( String expr )
Just change it to the default value. $('#edit-taxonomy-6').css('visibility','visible'); On 3/12/07, MARIO MOURA [EMAIL PROTECTED] wrote: I need Before: select name=taxonomy[6] style=visibility:hidden class=form-select id=edit-taxonomy-6 After: select name=taxonomy[6] class=form-select id=edit-taxonomy-6 I need remove style=visibility:hidden from id=edit-taxonomy-6 I am newbie in JQuery I tried a lot of things. Regards -- Mário ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Packing script
http://dean.edwards.name/packer/ On 2/26/07, Ámon Tamás [EMAIL PROTECTED] wrote: Hello, Maybe off, sorry. I made a little script, and I like to pack it. I try to use the js.jar what is in the svn version of jquery. I try with the next command: java -jar ./build/js.jar ./build/build/pack.js szamolo.js ./szamolo.pack.js But, when I like to use the szamolo.pack.js instead of szamolo.js I get the following error: missing ; before statement Before packing, I put semicolon after every line. How can I pack my script? -- Ámon Tamás http://linkfelho.amon.hu ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Best practices for reattaching behaviours to dynamically loaded content?
I believe this is the easiest and simplest way to do it. On 3/4/07, Chris Domigan [EMAIL PROTECTED] wrote: I keep all my behaviours in separate functions. For instance if I had a fancy table widget I'd have a function called initTable() that contained the behaviour code. I'd call it initially upon page load, then call it again when necessary if content has been updated via ajax. Eg. $(document).ready() { initPage(); // misc page stuff that won't be refetched from ajax initTable(); initOtherStuff(); }); function initPage() { ... } function initTable() { ... } etc. Then if I need to refresh something in the table via ajax I just call initTable() in the callback of my ajax function. Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] jqueryplugins.com
I'd love to see this like the Firefox addons repository. On 2/26/07, Rey Bango [EMAIL PROTECTED] wrote: Matt, I don't want to diminish your excitement but we're already in the process of building a plugin repository to better manage the jQuery plugins. You may want to ping John Resig to discuss your ideas. Rey... Matt Oakes wrote: Coming soon: The ability to search through almost 100 jQuery plugins and find your perfect plugin. The current official plugins list leaves a lot to be desired. Looking down a long list a plugin names really doesn't help you find exactly what you're looking for. The answer is (almost) here: jQueryPlugins.com. This site will allow you to look through all jQuery plugins quickly and easily. We've not finished all the details yet but we'll be launching the site soon, and some screenshots even sooner. The address will be: http://www.jqueryplugins.com but at the minute there's nothing really. But we have some screenshots to be added soon a blog once I get around to it. Hopefully the site will work well. Me and a few people I've shown it to have found it to be great for finding the plugins you want, I just need to finish up a few little things. Matt ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- BrightLight Development, LLC. 954-775- (o) 954-600-2726 (c) [EMAIL PROTECTED] http://www.iambright.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Progress Bar Plugin
Could you do a image preload demo? That would be interesting, some _real_ examples we could try and use in real app, and simple galleries, or other stuff. It works nice for me, except for the bug previously mentioned. Great work, keep the plugins coming! On 2/26/07, mrcarxpert [EMAIL PROTECTED] wrote: I notice it too when it's on my blog, but my standalone tester doesn't appear to do it. Anyone else notice any quirks? Josh agent2026 wrote: Same here in FF 2.0. Looks great though, nice work. Adam DavidIcreate wrote: When i tested the demo in FF1.5 on xp i noticed the content of the page jumped a bit down. it only happens when the page is loaded for the first time. -- David Duymelinck [EMAIL PROTECTED] ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- View this message in context: http://www.nabble.com/Progress-Bar-Plugin-tf3290844.html#a9172740 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Reference to the last DIV in a group?
Also try this, it will just take the last div.sidebarToDo _inside_ #todoList. $('#todoList div.sidebarToDo:last'); On 2/22/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello, I have a main div, with id= todoList, and within it, a number of DIVs, all with classes sidebarToDo. Let's say I have just added a DIV to the DOM ... $('#todoList').append('div class=sidebarToDo width=100%Hello/div'); How do I now get a reference to this last DIV with class sidebarToDo? Notice it doesn't have an ID, but it is the last one in the master todoList DIV. Thanks so much. This discussion group is excellent. - Dave ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How would I change this?
If the div.time is inside the title you could try in your object. .click(function() { $(this).find(' div.time').next().slideToggle(); }); On 2/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: Oops! Sorry! (Getting a little sleepy!) Here's the code I'm using: $(document).ready(function() { $('.calendar').find('div.info').hide().end().find('div.title').click(function() { $('div.time').next().slideToggle(); }); }); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sent: Sunday, February 18, 2007 9:48 PM To: jQuery Discussion. Subject: Re: [jQuery] How would I change this? Rick, You posted no html or jquery code! in general the clickable tag has to know which details it is supposed to show. you can find it in several ways, 1) a similar, and derivable id control-one would show detail-one 2) proximity, where you can just show the next div or a class. 3) consistent class names ,class=one would show the divs with class=one 4) linking an a href=#one with the div id=one What do you need? On 2/18/07, Rick Faircloth [EMAIL PROTECTED] wrote: How would I change this code so that only the details immediately after the line that is clicked toggles, instead of the details after every line? i.e…. Line one has: Event DateTime Line two (which is hidden until the event is clicked) has: Details Once the Event is clicked the Details slide smoothly open. But right now, the details for every event are opening. Rick ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to make Interface work for any ID
Just a thought, but can't you use a class to the link and specify the other id window in the href? _Not tested_ HTML: a href=#window class=windowOpenTrigger window/a JS: $(document).ready(function(){ $('.windowOpen').click(function(){ var windowId = $(this).attr('href'); if(windowId:hidden) { $(this).TransferTo({ to: windowId, className: 'transferer2', duration: 400, complete { function() { alert('window launched!'); }); } }); }); Let me know if it works! On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: *Not really... What I mean is : * $(document).ready( function() { $('#windowOpen').bind( 'click', function() { if($('#window').css('display') == 'none') { $(this).TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { That is the beginning of the JS code used by Stefan at the end of his Page (jqueryinterface) to make a window. If we see he pointed =windowOpen (id link) =window (id div) What I mean is: how to make a similar script but which has an attribute writen in the link/function function(id link, id div) Because this code works only for one link and one div... I do not thik that I'll must write X times this code for each of my div. Thank a lot Mihai (sorry for my another post) On 17 fév, 00:37, Benjamin Sterling [EMAIL PROTECTED] wrote: Not exactly sure what your asking, but if you what a specific link to show a div, you would do something like: (using your ids) $('#id1).click(function(){$('#div#n1').show();}); Is this what you were asking? -- Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com ___ jQuery mailing list [EMAIL PROTECTED]://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to make Interface work for any ID
I missed some brackets and didn't wrap windowId with the jQuery object. Let's try this one (not tested either, yet): $(document).ready(function(){ $('.windowOpen').click(function(){ var windowId = $(this).attr('href'); if($(windowId+':hidden')) { $(this).TransferTo({ to: windowId, className: 'transferer2', duration: 400, complete: function() { alert('window launched!'); } }); } }); }); Cheers, On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Erreur : missing ) after condition Ligne : 214, Colonne : 19 Code source : if(windowId:hidden){ The test doesn't work... I'll try to see how the if condition works in jquery... but if you see how to check if hidden is true or false I'll be greatefull if you put it here. Thanks a lot On 17 fév, 15:01, Joan Piedra [EMAIL PROTECTED] wrote: Just a thought, but can't you use a class to the link and specify the other id window in the href? _Not tested_ HTML: a href=#window class=windowOpenTrigger window/a JS: $(document).ready(function(){ $('.windowOpen').click(function(){ var windowId = $(this).attr('href'); if(windowId:hidden) { $(this).TransferTo({ to: windowId, className: 'transferer2', duration: 400, complete { function() { alert('window launched!'); }); } }); }); Let me know if it works! On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: *Not really... What I mean is : * $(document).ready( function() { $('#windowOpen').bind( 'click', function() { if($('#window').css('display') == 'none') { $(this).TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { That is the beginning of the JS code used by Stefan at the end of his Page (jqueryinterface) to make a window. If we see he pointed =windowOpen (id link) =window (id div) What I mean is: how to make a similar script but which has an attribute writen in the link/function function(id link, id div) Because this code works only for one link and one div... I do not thik that I'll must write X times this code for each of my div. Thank a lot Mihai (sorry for my another post) On 17 fév, 00:37, Benjamin Sterling [EMAIL PROTECTED] wrote: Not exactly sure what your asking, but if you what a specific link to show a div, you would do something like: (using your ids) $('#id1).click(function(){$('#div#n1').show();}); Is this what you were asking? -- Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com ___ jQuery mailing list [EMAIL PROTECTED]://jquery.com/discuss/ ___ jQuery mailing list [EMAIL PROTECTED] http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloperhttp://joanpiedra.com/ ___ jQuery mailing list [EMAIL PROTECTED]://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] How to make Interface work for any ID
Well I think you get the idea to add the link trigger with the anchor in the href and use it as an id for the new jquery object. I think that problem comes from the plugin syntax, you may take a look at it. I don't think i can help you with that. Regards On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Unfortunatelly I have no alert... so I've written other alerts: alert('variable crée!'); =OK alert('test hidden passé!'); =OK alert('window launched!');=NO why... maybe TransferTo but why? function(){ var windowId = $(this).attr('href'); alert('variable crée!'); if($(windowId+':hidden')) { alert('test hidden passé!'); $(this).TransferTo( { to: windowId, className: 'transferer2', duration: 400, complete: function() { alert('window launched!'); $('#window').show(); } } ); I've just : Avertissement : Erreur d'analyse de la valeur pour la propriété « overflow ». Déclaration abandonnée. Fichier source : Ligne : 30 The line = #windowTop { height: 30px; overflow: 30px; background-image: url(images/window_top_end.png); background-position: right top; background-repeat: no-repeat; position: relative; overflow: hidden; cursor: move; } Avertissement : Propriété « filter » inconnue. Déclaration abandonnée. Ligne : 123 .transferer2 { border: 1px solid #6BAF04; background-color: #B4F155; filter:alpha(opacity=30); -moz-opacity: 0.3; opacity: 0.3; } But I got those ones even with the original script so it isn't important yet. On 17 fév, 17:25, Joan Piedra [EMAIL PROTECTED] wrote: I missed some brackets and didn't wrap windowId with the jQuery object. Let's try this one (not tested either, yet): $(document).ready(function(){ $('.windowOpen').click(function(){ var windowId = $(this).attr('href'); if($(windowId+':hidden')) { $(this).TransferTo({ to: windowId, className: 'transferer2', duration: 400, complete: function() { alert('window launched!'); } }); } }); }); Cheers, On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Erreur : missing ) after condition Ligne : 214, Colonne : 19 Code source : if(windowId:hidden){ The test doesn't work... I'll try to see how the if condition works in jquery... but if you see how to check if hidden is true or false I'll be greatefull if you put it here. Thanks a lot On 17 fév, 15:01, Joan Piedra [EMAIL PROTECTED] wrote: Just a thought, but can't you use a class to the link and specify the other id window in the href? _Not tested_ HTML: a href=#window class=windowOpenTrigger window/a JS: $(document).ready(function(){ $('.windowOpen').click(function(){ var windowId = $(this).attr('href'); if(windowId:hidden) { $(this).TransferTo({ to: windowId, className: 'transferer2', duration: 400, complete { function() { alert('window launched!'); }); } }); }); Let me know if it works! On 2/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: *Not really... What I mean is : * $(document).ready( function() { $('#windowOpen').bind( 'click', function() { if($('#window').css('display') == 'none') { $(this).TransferTo( { to:'window', className:'transferer2', duration: 400, complete: function() { That is the beginning of the JS code used by Stefan at the end of his Page (jqueryinterface) to make a window. If we see he pointed =windowOpen (id link) =window (id div) What I mean is: how to make a similar script but which has an attribute writen in the link/function function(id link, id div) Because this code works only for one link and one div... I do not thik that I'll must write X times this code for each of my div. Thank a lot Mihai (sorry for my another post) On 17 fév, 00:37, Benjamin Sterling [EMAIL PROTECTED] wrote: Not exactly sure what your asking, but if you what a specific link to show a div, you would do something like: (using your ids) $('#id1).click(function(){$('#div#n1').show();}); Is this what you were asking? -- Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com
Re: [jQuery] Getting the TEXT of an option tag, not the value.
What jQuery version is your Drupal system using? I think the problem relies in the version. Because the code I tried was just fine with 1.1.1 Anyway it looks like you could resolve your problem, cheers. On 2/16/07, Alexis Bellido [EMAIL PROTECTED] wrote: Joan Piedra wrote: I've tried this, and it works just fine with jQuery 1.1.1 $(document).ready(function(){ console.log($('#mySelect :selected').text()); $('#mySelect').change(function(){ console.log($(this).find(':selected').text()); }); }); select id=mySelect option value=1one/option option value=2 selected=selectedtwo/option option value=3three/option /select Sorry, still not working. I'm working on a module in Drupal 5, which uses jQuery, but at the end is just plain HTML, here's my exact code: select id=edit-uid name=uid option selected=selected value=39chu [EMAIL PROTECTED]/option option value=1alexis [EMAIL PROTECTED]/option option value=32marco [EMAIL PROTECTED]/option /select When I use: alert($('#edit-uid').find(':selected').text()); I get: chu [EMAIL PROTECTED] (when selecting the first option, which is the one already selected when the page is loaded) chu [EMAIL PROTECTED]alexis [EMAIL PROTECTED] (when selecting the second option. Notice how the original selected option is added to the newly selected, this is clearly the work of jQuery's text()) chu [EMAIL PROTECTED]marco [EMAIL PROTECTED] (when selecting the third option, same as with the second) What I just coded and it's working for me is: var mail = ''; var selected = $('#edit-uid').val(); $('#edit-uid').children().each(function (i) { if (selected == $(this).val()) { mail = $(this).text(); } }); It's more code but also more reliable, I guess. Tested with Firefox 2.0.0.1, IE 6 and Opera 9, all in Fedora Core 5. Any other suggestions? Thanks! -- View this message in context: http://www.nabble.com/Getting-the-TEXT-of-an-option-tag%2C-not-the-value.-tf1919282.html#a8999564 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Getting the TEXT of an option tag, not the value.
I've tried this, and it works just fine with jQuery 1.1.1 $(document).ready(function(){ console.log($('#mySelect :selected').text()); $('#mySelect').change(function(){ console.log($(this).find(':selected').text()); }); }); select id=mySelect option value=1one/option option value=2 selected=selectedtwo/option option value=3three/option /select Regards Alexis, On 2/16/07, Alexis Bellido [EMAIL PROTECTED] wrote: Mungbeans wrote: Ah. This is getting closer. Rather bizarrely, it returns the text for both the original selection AND the new selection, Eg --B:Option 1 But at least I can just chop off the first two characters - near enough is good enough. Chopping off the first characters doesn't work all times. For example, if we have: select id=mySelect option value=1one/option option value=2 selected=selectedtwo/option option value=3three/option /select and you try: var selection = $('#mySelect option:selected').text(); you'll get: onetwo if you select option 1 two if you select option 2 twothree if you select option 3 I'll try using each() and comparing val() as Sean suggested. Any other ideas? Alexis Bellido -- View this message in context: http://www.nabble.com/Getting-the-TEXT-of-an-option-tag%2C-not-the-value.-tf1919282.html#a8999078 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] how to simplify this
If you want to simplify it, I think you could agroup the tags and add the properties, for example. $('#normal').click(function(){ $('#bereit').ScrollTo(800); // toggleClass $('#normal dd,#label_radiobutton_1').toggleClass('ausgewaehlt'); // removeClass $('#standard dd,#profi dd,#label_radiobutton_2,#label_radiobutton_3').removeClass('ausgewaehlt'); //checked $('#radiobutton_1').attr('checked','checked'); $('#radiobutton_2,#radiobutton_3').attr('checked',''); }); But I would suggest you to relook at you HTML/DOM so you can try a better and abstract way to toggle, remove and check all your elements. If you show us an url explainning what do you want, I could try to help you a little more. Cheers. On 2/12/07, Dominik Hahn [EMAIL PROTECTED] wrote: Hello, I am looking for a way to simplify this chunk of code: $('li#normal').click(function() { $('#bereit').ScrollTo(800); $('li#normal dd').toggleClass('ausgewaehlt'); $('li#standard dd').removeClass('ausgewaehlt'); $('li#profi dd').removeClass('ausgewaehlt'); $('label#label_radiobutton_1').toggleClass('ausgewaehlt'); $('label#label_radiobutton_2').removeClass('ausgewaehlt'); $('label#label_radiobutton_3').removeClass('ausgewaehlt'); $('input#radiobutton_1').attr('checked','checked'); $('input#radiobutton_2').attr('checked',''); $('input#radiobutton_3').attr('checked',''); }); $('li#standard').click(function() { $('#bereit').ScrollTo(800); $('li#normal dd').removeClass('ausgewaehlt'); $('li#standard dd').toggleClass('ausgewaehlt'); $('li#profi dd').removeClass('ausgewaehlt'); $('label#label_radiobutton_1').removeClass('ausgewaehlt'); $('label#label_radiobutton_2').toggleClass('ausgewaehlt'); $('label#label_radiobutton_3').removeClass('ausgewaehlt'); $('input#radiobutton_1').attr('checked',''); $('input#radiobutton_2').attr('checked','checked'); $('input#radiobutton_3').attr('checked',''); }); $('li#profi').click(function() { $('#bereit').ScrollTo(800); $('li#normal dd').removeClass('ausgewaehlt'); $('li#standard dd').removeClass('ausgewaehlt'); $('li#profi dd').toggleClass('ausgewaehlt'); $('label#label_radiobutton_1').removeClass('ausgewaehlt'); $('label#label_radiobutton_2').removeClass('ausgewaehlt'); $('label#label_radiobutton_3').toggleClass('ausgewaehlt'); $('input#radiobutton_1').attr('checked',''); $('input#radiobutton_2').attr('checked',''); $('input#radiobutton_3').attr('checked','checked'); }); It controls a list, when you click on one of the three items, it scrolls down to a online form (first line), the item is highlighted (first three lines), one of three radioboxes is checked (line 6-8) and the label for the checked radiobox is also highlighted (last three lines). Can you help me? Thanks, Dominik ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] check for checked
What about this? $(':checkbox:checked', checkboxes); On 2/12/07, Mike Alsup [EMAIL PROTECTED] wrote: For all checked boxes on a page: $(input:checked) That will get you checked radios too. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Is the jquery validate() plugin compatible with jQuery 1.1.1?
Hey guys, does anyone know if this plugin[1] is compatible with jQ 1.1.1? Cheers, [1] http://fuzz.bassistance.de/jQueryFormValidation/validateTest.html -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] css(padding-left);
$(el).css('padding','0 0 0 5px'); $(el).css('paddingLeft','5px'); They both works fine. On 2/3/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote: hello, i would like to set the css property padding-left. So far it fails. I can assign a value to padding, but not to padding-left. Can you explain me how? does jquery support css shorthand (padding:0 0 0 5px) ? thanks Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte Lakensestraat/Rue de Laeken 104 B-1000 Brussel-Bruxelles-Brussels Belgie-Belgique-Belgium Tel:+32(0)2.219.65.55 Fax:+32(0)2.426.69.86 Mobile:+32(0)476.23.21.42 http://www.lab-au.com http://www.mediaruimte.be __ The information in this e-mail is intended only for the addressee named above. If you are not that addressee, please note that any disclosure, distribution or copying of this e-mail is prohibited. Because e-mail can be electronically altered, the integrity of this communication cannot be guaranteed. __ -- Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.441 / Base de données virus: 268.17.21/665 - Date: 2/02/2007 23:39 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: New jQuery Project Team Members
Simply excellent!! Great job gentlemen, congrats! Hope to see a lot of jquery stuff from you this year. Cheers, On 2/2/07, Rey Bango [EMAIL PROTECTED] wrote: The jQuery team would like to welcome our newest team members, Yehdua Katz, Nate Cavanaugh, Klaus Hartl. These three developers have made invaluable contributions to the jQuery projects in terms of time, knowledge and commitment to the community. Yehuda is a developer living in New York City who maintains the web site Visual jQuery, and publishes the Visual jQuery Magazine. Additionally, he's a frequent contributor to the jQuery Blog and promoter of good practices within the jQuery core. As a member of the evangelism team he's working to help people discover jQuery; actively trying to find and promote jQuery to new users. Nate is a designer living in California. He was responsible for the recent redesign of the jQuery site. He's going to be helping to design new portions of the site, and help to bring outdated portions of the site inline with the rest. Klaus has been one of the most vocal supporter of jQuery and unobtrusive design on the jQuery mailing list. His ability to expertly explain quality, unobtrusive, solutions to problems is invaluable will be a tremendous boon to the jQuery project. Klaus will be working with both the Evangelism Dev teams, to help promote jQuery and expand its reach as well as maintaining Thickbox and the Tabs plugin. He will also be spearheading the effort to make Tabs an official plugin. We're very pleased to be working with all of you and welcome you to the jQuery team. The jQuery Project Team ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Embedding jQuery in a Greasemonkey script
Hey, actually it was just an example on how to use (embed is not the right term, thx for that) jquery in greasemonkey. If it's a local GM script, you could just change the jQuery url within your localhost, but well, i don't think this would work with everyone. I'll take a look at how to really embed jQuery into Greasemonkey, meanwhile I still can use a local jquery call. Cheers, On 1/31/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: Hello Joan, Yes, I remember the threads talking about this, and I was curious about it. After some days I figured out how to load jQuery and simply make it work giving jQuery power to my userscripts in Greasemonkey. Here is the url, check it out. http://joanpiedra.com/jquery/greasemonkey/ Your solution is better than the first I have been trying, but it still gets the jQuery source directly from jquery.com, which is not really nice. If the greasemonkey script gains a lot of users, and is executed on a lot of pages, the load on jquery.com may become noticeable. John, am I right, or do you authorize such bandwidth abuse? -Nicolas On 1/30/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: Hello, I want to improve some of my Greasemonkey scripts by using jQuery instead of traditionnal JS. I tried to load the library during execution[1] and it didn't work as intended. It was loaded from jquery.com, so I didn't want it anyway. I can't load it from my host either. I found a way to integrate the compact version of jQuery directly in my script[2], but it is an old release, and I can't find how to do the same with current 1.1.1 release. The author (SunSean) just said he had slightly edited [jQuery] for greasemonkey without explaining what he did change, and Firebug tells me Component is not available. Any idea on how to do it? Here is my current version with the old jQuery embedded: http:// userscripts.org/scripts/show/2243 Thanks a lot! [1] http://weblogs.asp.net/dstone/archive/2006/07/23/ jQueryMonkey.aspx [2] http://jquery.com/pipermail/discuss_jquery.com/2006-June/ 006355.html -Nicolas -- Nicolas Brush HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002 phpHeaven: http://www.phpheaven.net/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -Nicolas -- Nicolas Brush HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002 phpHeaven: http://www.phpheaven.net/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Docs Wigdet
That's looks really cool, I'd definitely use it. Hey Yahuda, you could use Yahoo Widgets [1], they work in windows and mac http://widgets.yahoo.com/ On 2/1/07, Yehuda Katz [EMAIL PROTECTED] wrote: If you guys really want something like this, it would be pretty trivial to create. How interested is everyone? -- Yehuda On 2/1/07, Klaus Hartl [EMAIL PROTECTED] wrote: Alexandre Plennevaux schrieb: In fact as a firefox search engine plugin it would be great I think somebody has already created one. That's still far away from a beautifully designed Mac Dashboard Widget... -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Embedding jQuery in a Greasemonkey script
Hey Nicolas, Yes, I remember the threads talking about this, and I was curious about it. After some days I figured out how to load jQuery and simply make it work giving jQuery power to my userscripts in Greasemonkey. Here is the url, check it out. http://joanpiedra.com/jquery/greasemonkey/ Cheers, On 1/30/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: Hello, I want to improve some of my Greasemonkey scripts by using jQuery instead of traditionnal JS. I tried to load the library during execution[1] and it didn't work as intended. It was loaded from jquery.com, so I didn't want it anyway. I can't load it from my host either. I found a way to integrate the compact version of jQuery directly in my script[2], but it is an old release, and I can't find how to do the same with current 1.1.1 release. The author (SunSean) just said he had slightly edited [jQuery] for greasemonkey without explaining what he did change, and Firebug tells me Component is not available. Any idea on how to do it? Here is my current version with the old jQuery embedded: http:// userscripts.org/scripts/show/2243 Thanks a lot! [1] http://weblogs.asp.net/dstone/archive/2006/07/23/jQueryMonkey.aspx [2] http://jquery.com/pipermail/discuss_jquery.com/2006-June/ 006355.html -Nicolas -- Nicolas Brush HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002 phpHeaven: http://www.phpheaven.net/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] ANNOUNCE: jQuery API Browser
Hey Jörn, I love your idea. The API Browser is really handy when you are looking for something right away, and you can even download the source and use it offline, just as cool as jQuery. Just a problem tho, when you use one or more toolbars in your browser, the design kinda breaks [1] the site displays the body scroll, making it a little difficult to use. With some help of firebug and stylish, I've created a userstyle [2] that helps improve this little problem. This could be implemented directly into the API Browser site, meanwhile my userstyle will be available for everyone. Cheers, [1] http://www.joanpiedra.com/jquery/api-browser/images/pic.png [2] http://www.joanpiedra.com/jquery/api-browser/ On 1/29/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Fil schrieb: jQuery API Browser: two small remarks (other than this, the page is great to use): the blue flash on api-browser is killing my eyes, especially in the grey zones. And the tooltip is weird, it goes under the pane scrollbar Okok, I'll remove that flash on the entire method. How about reducing it to the method header (the first line)? And, by the way, do you have an idea how we could we translate this? As the docs are generated from the original (source) scripts, my idea would be to maintain our own fake version of the scripts (keeping only the comments), in each language. But where? And, has anyone got a better idea? That is a difficult task and should be discussed elsewhere. -- Jörn Zaefferer http://bassistance.de ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] jQuery favicon
Hey guys, I've created a small jQuery favicon, it's free to use for everyone just don't hotlink it ;) Cheers! [1] http://www.joanpiedra.com/jquery/favicon.png -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] IDs are a crutch for the weak. Classes are for the strong.
I think this should work. Not tested tho. $(a.open_button).click(function() { $(this).next('div.section').slideToggle(1200,function() { complete(index); }); return false; }); Cheers On 1/20/07, Steve Jones [EMAIL PROTECTED] wrote: $(a.open_button).each(function(index) { $(this).click(function() { $('div.section:eq(' + index + ')').slideToggle(1200,function() { complete(index); }); return false; }); }); -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Look Ma no IMG-tag - FaviconLinkMarker Beta3 out
Hey Olaf, I believe your markup should use a rel attribute instead of the class attribute. Something like this, and make the call with the position as optional. a href=http://jquery.com; rel=externaljQuery/a $('[EMAIL PROTECTED]').favicon('External link: '); Pretty nice plugin you have, good job. On 1/10/07, Olaf Bosch [EMAIL PROTECTED] wrote: Hi all, here is FaviconLinkMarker Beta3: http://olaf-bosch.de/bugs/jquery/links3.html - No IMG-tag, all CSS - config. Favicon left or right (before/after) - editable TITLE-tag - No CSS edit for using - No CSS overwritten, all what you in CSS given is after JS given (i hope ;) ) *attantion!!!* IE have a bug, the image are not consistent for linebreaks All sugestion are wellcome -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Simple(ish?) bring to top method
Hmm.. i read it again, and I understood you have different boxes and they all have different z-index, right? So if I undestand correctly when you stop moving one, they all come back to 1, losing the different positions they had. I think you could add their old z-index variables somewhere in markup, like an attr or something then you can recall them when you need it. It's just a though but I'm not sure it's the best. Good luck. On 1/11/07, Su [EMAIL PROTECTED] wrote: No. The whole problem is that there's a static number in that statement. So eventually, all the panels end up with that same z-index, which makes them revert to stacking in source order. On 1/11/07, Joan Piedra [EMAIL PROTECTED] wrote: Can't you just use z-index in $(this)?? onStop : function() { $(this).css(z-index,1); } On 1/9/07, Su [EMAIL PROTECTED] wrote: I've got something I'm building wherein several boxes will be draggable. What I'd like to do is have a function that can be called when dragging stops(Interface onStop), or just when a box is clicked that would bring it to the top of the stack via the z-index. Of course, the writers of the CSS spec didn't think to just provide a top value, so this isn't directly possible. I tried something like just: onStop : function() { $('.dragbox').css(z-index,1); $(this).css(z-index,1); } but that ends up pretty obviously wrong, since it causes the other elements to shuffle. They're all set to 1, and so end up in the natural source-order stacking, rather than retaining their relative positions, just under the currently active box. Is there a way to do this that isn't too involved? Speak to me like someone who knows just enough JS to break other people's JS *grin* ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Visual jQuery Redux
It breaks when I'm at the 3rd level and then repetly click on the left arrow button. Plugins/Tooltip/Tooltip(settings) Nice work Yehuda. On 1/7/07, Yehuda Katz [EMAIL PROTECTED] wrote: Hey guys, I've been listening to all of the feedback I've gotten about Visual jQuery, and I've built a new version that I believe responds to many of those concerns: * a dramatically reduced title-bar (20px high) * a path in the titlebar indicating the current location in the API tree * the text area takes up the full remaining area of the screen * if the text area is less than 350px wide, it expands a column, pushing the remaining columns to the left * you can move columns off to the left to get more space for text (even if it has not automatically expanded) * selecting an node automatically jumps up to the top of the screen (specifically useful for automatically getting to the top of text areas) * the rendering is done differently, so the normal drawbacks of nesting are no longer present Check it out at: http://www.visualjquery.com/new.html Note that there are still some bugs, so I won't get upset if you report them. Just tell me exactly what you did and what went wrong. -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] setting an attribute... I *thought* this was how to do it...
I tried it, and this worked for me. $(function(){ $(div.OrderEntryListRow).not(.Selected).each(function(i){ alert(before: + $(this).attr(id)); $(this).attr(id, Row_ + (i+1)); $(this).html($(this).html() + ': ' + (i+1)); alert(after: + $(this).attr(id)); }); }); div class=OrderEntryListRow1/div div class=OrderEntryListRow2/div div class=OrderEntryListRow3/div div class=OrderEntryListRow4/div div class=OrderEntryListRow5/div div class=OrderEntryListRow SelectedSelected/div div class=OrderEntryListRow selectedselected/div Btw, in xhtml you _have to_ use lowercase for tags and attributes. Cheers! On 1/4/07, Christopher Jordan [EMAIL PROTECTED] wrote: Hi folks, I've got another simple question. Is this not how you set an element's attribute? [from inside an .each()] $(this).attr(AttributeName, Value); I thought that worked... I thought it had worked for me in the past. Is there any reason that this wouldn't work: var i = 1; $(div.OrderEntryListRow).not(.Selected).each(function(){ alert(before: + $(this).attr(ID)); $(this).attr(ID, Row_ + i); alert(after: + $(this).attr(ID)); i++; }); In this sample code above, the before and after alerts are identical. Is there something else I'm missing? I think I've got the above idea correct, but wanted to get some different eyes to look at it with me. Thanks, Chris -- http://www.cjordan.info ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] mirror of dean edwards packer anywhere?
Here is the php version. http://joliclic.free.fr/php/javascript-packer/en/index.php On 12/13/06, Webunity | Gilles van den Hoven [EMAIL PROTECTED] wrote: Anybody know a mirror of dean edwards packer? The .NET application doesn have thesame compression results. Thanx Gilles ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] New Site: Hope Cottage
Hey, I like the main effect in the homepage, it's pretty cool. Btw, I saw some accesibility problems you would like to fix. The homepage doesn't show the sublinks or the middle content if the javascript is disabled. The same happens with the sitemap. Cheers On 12/13/06, Brandon Aaron [EMAIL PROTECTED] wrote: We just launched a new site that uses jQuery. http://www.hopecottage.org/ -- Brandon Aaron ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] (Half-OffTopic) jQuery Firebug
wow, that's a nice bookmarklet. Thanks for that! On 12/13/06, Karl Swedberg [EMAIL PROTECTED] wrote: You could also add a bookmarklet to Firefox's Bookmarks Toolbar Folder. Then, whenever you see a page you'd like to play with using jQuery and Firebug, just click the bookmarklet and you're ready to go. javascript:var%20s=document.createElement ('script');s.setAttribute('src',%20' http://jquery.com/src/jquery-1.0.4.js');document.getElementsByTagName('body')[0].appendChild(s);alert('thankhttp://jquery.com/src/jquery-1.0.4.js%27%29;document.getElementsByTagName%28%27body%27%29%5B0%5D.appendChild%28s%29;alert%28%27thankyou for using jquery!');void(s); That should be all on one line. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Dec 13, 2006, at 11:49 AM, Fabien Meghazi wrote: var s = document.createElement('script'); s.src='http://jquery.com/src/jquery-1.0.4.js'http://jquery.com/src/jquery-1.0.4.js%27 ; document.body.appendChild(s); Thanks ! I didn't knew the dom createElement's way would imply the load, parse and execution of a remote script. ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Disabling a tags
On 12/12/06, Aaron Heimlich [EMAIL PROTECTED] wrote: div#myid = SLOW!! #myid = FAST!! .myclass = SLOW!! div.myclass = FAST(er)!! LOL, I think this is how it works in real CSS. div#myid = Faster #myid = Slow .myclass = Slow div.myclass = Fast Cheers -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Confused with tablesorter and tablepager plugins
Hey guys and guls! This is my first post in the list, and I'm starting with jQuery, it is an awesome framework, great work developers and my congratulations to the developers. So I'm getting into it and implementing jQuery with a CMS I made, but I had a little problem with tablesorter and tableger plugins. I'm trying to implement the tablesorter and tablepager plugins together[1], but It seems like tablesorter 1.0.3 has dropped the support for the tablepager plugin, and I can't find an actual example using them together with the current version 1.0.3. I managed to make them work together using the old tablesorter version from the example I found [2], the sorter works great but the tablepager doesn't initialize on document ready. I have to sort a column first if I want to initialize the pager. I can use a 'sortColumn' to force a sort so the pagers starts too, but I don't want to start the document with a column sorted. So, Any ideas? [1] http://motherrussia.polyester.se/pub/jquery/demos/pager/ [2] http://motherrussia.polyester.se/pub/jquery/demos/pager/tablesorter.js http://Cristalab.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/