[jQuery] Tablesorter - sort callback or sort based on external options...

2007-10-16 Thread Dmitrii 'Mamut' Dimandt
I have a table with a single column whose cells contain complex markup. Let's say this markup contains a name and a price: div span class=item-nameName/span span class=item-price70/span /div I have external links that let you sort on name or price: var

[jQuery] Re: UI tabs - find unique

2007-09-26 Thread Dmitrii 'Mamut' Dimandt
Richard D. Worth wrote: Please ask on the jQuery UI list: http://groups.google.com/group/jquery-ui Sorry, didn't realize there was one :)

[jQuery] Ajax Tabs - multiple loads problem

2007-09-25 Thread Dmitrii 'Mamut' Dimandt
I've found a strange bug with jQuery tabs. Let's say you add a new Ajax tab, let's call it tab-1. When you click on it, a request is sent to the server. Add another Ajax tab, let's call it tab-2. When you click on it, a request is sent to the server. When you click on tab-1, the request to the

[jQuery] IE, Ajax and colspans

2007-09-10 Thread Dmitrii 'Mamut' Dimandt
I'm having a very weird problem that manifests itself only in IE - both 6.x and 7.x I use taconite to retrieve a table from the server: taconite replaceContent select=#data table style=width: 90% tbody tr

[jQuery] Re: tr[position() mod 3 = 0]

2007-08-10 Thread Dmitrii 'Mamut' Dimandt
John Resig wrote: As of jQuery 1.1.3 you can now do: $(tr:nth-child(3n)) Sorry for the late replay, but thank you!

[jQuery] Re: tr[position() mod 3 = 0]

2007-08-10 Thread Dmitrii 'Mamut' Dimandt
Sean Catchpole wrote: Dmitrii, the code Erik Beeson pasted works, here's another option: $.extend({expr:{::{mod: i%m[3]==0}}}); //adds mod selector $(tr:mod(3)) ~Sean Sorry for the late reply. This is amazing!

[jQuery] Datepicker. Hide dates from next/prev month

2007-08-03 Thread Dmitrii 'Mamut' Dimandt
Hi all. Right now the default behaviour of Kevin's datepicker, http://kelvinluck.com/assets/jquery/datePicker/v2/demo/, is to show the dates from the previous/next month as well as the dates from the current month. What would be the easy way to make the datepicker show the dates from the

[jQuery] tr[position() mod 3 = 0]

2007-07-30 Thread Dmitrii 'Mamut' Dimandt
What would be the jQuery way of doing tr[position() mod 3 = 0] ? Thank you!

[jQuery] Re: tr[position() mod 3 = 0]

2007-07-30 Thread Dmitrii 'Mamut' Dimandt
Erik Beeson wrote: Untested: $('tr').filter(function(position) { return position % 3 == 0; }); I haven't tested it, but thanks anyway :)

[jQuery] Re: Attn. developers. Speed of getElementById

2007-06-27 Thread Dmitrii 'Mamut' Dimandt
Rey Bango wrote: Hi Dmitrii, Unfortunately, this isn't a JavaScript support mailing list. The list is here to support jQuery users. There are some great JavaScript support forums at WebmasterWorld and SitePoint. If you have a specific jQuery issue, we'll be glad to help. Yeah, I know :) I

[jQuery] Attn. developers. Speed of getElementById

2007-06-22 Thread Dmitrii 'Mamut' Dimandt
The original is in Russian: http://blogs.gotdotnet.ru/personal/poigraem/PermaLink.aspx?guid=88FECDF4-739C-46C0-8496-589EFD553B60 Here's a quick translation: We've hit a problem where getElementById is working slowly on a _very_ large page After some research we've

[jQuery] Compressed validator failing in IE 6.0

2007-06-02 Thread Dmitrii 'Mamut' Dimandt
Is there a way to make the compressed version of the validator plugin work in IE? Because 5-6 KB of the compressed version is way better than the 43 KB of the uncompressed version in terms of size. IE fails somewhere inside the packed function with all sorts of weird errors, the most innocent of

[jQuery] Re: Tabs decoration question

2007-05-25 Thread Dmitrii 'Mamut' Dimandt
Klaus Hartl wrote: Sean Catchpole wrote: Clever CSS is the solution. Set the top border of the tabs-container to 1px. Set the bottom-margin of the current tabs to -1px That should do the trick. If it doesn't work or you're confused, post a link of a page where this is and I'll try to

[jQuery] Tabs decoration question

2007-05-24 Thread Dmitrii 'Mamut' Dimandt
Right now there is a horizontal line between the tab and its content. However, our designer wants that there would be no border between the active tab and its content. Is this doable? Thank you

[jQuery] Re: Tabs decoration question

2007-05-24 Thread Dmitrii 'Mamut' Dimandt
Klaus Hartl wrote: Dmitrii 'Mamut' Dimandt wrote: Right now there is a horizontal line between the tab and its content. However, our designer wants that there would be no border between the active tab and its content. Is this doable? Thank you Yes it is, that's just a matter of the CSS

[jQuery] Re: question about a javascript syntax

2007-05-18 Thread Dmitrii 'Mamut' Dimandt
Look at this article: http://www.hunlock.com/blogs/Functional_Javascript It explains a lot of things about functions including your question I found Jörn Zaefferer's jQuery plugin authoring guide at http://bassistance.de/2006/12/27/jquery-plugin-authoring-guide/, there i found javascript

[jQuery] Tablesorter. Disable sorting on column

2007-05-10 Thread Dmitrii 'Mamut' Dimandt
I have to disable sorting on the first two columns in my table. Are there any options that I can pass to tablesorter plugin that will disable sorting on selected columns? Thank you

[jQuery] Forms, Tables and jQuery

2007-05-02 Thread Dmitrii 'Mamut' Dimandt
I'll repost it from a russian forum (from here: http://rsdn.ru/Forum/Message.aspx?mid=2469963) Firefox/Opera won;t find form elements if the form tag is placed between table and tr tags: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleinput type query

[jQuery] Re: Taconite, tables and IE

2007-04-25 Thread Dmitrii 'Mamut' Dimandt
Worked like a charm. Thank you! Mike Alsup wrote: Try changing that to use a tbody: tabletbody yada yad yada ... /tbody/table Here's my taconite: append select=#data table tr td

[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Dmitrii 'Mamut' Dimandt
Kelvin Luck wrote: Hi, I'd like to announce the beta release of v2 of my datePicker plugin for jQuery. This release is a complete rewrite which makes the date picker considerably more powerful and flexible than it previously was. Check out the temporary project page:

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
SeViR wrote: Hi there, recently I presented a seminar of JavaScript programming with jQuery in The University of Murcia (Spain) and the results are very good. http://www.um.es/atica/mncs/forja (sorry in *spanish*) Wow. Thank you for the link to YAV, http://yav.sourceforge.net/ that I

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
Jörn Zaefferer wrote: I'm gonna take a look at that library for some inspiration. And maybe copy some validation methods (called rules at yav). Let me know if you have any specific requests for the jQuery validation plugin. That would be the pre-condition, implies and post-condition. Those

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
Jörn Zaefferer wrote: Dmitrii 'Mamut' Dimandt schrieb: Jörn Zaefferer wrote: I'm gonna take a look at that library for some inspiration. And maybe copy some validation methods (called rules at yav). Let me know if you have any specific requests for the jQuery validation plugin

[jQuery] Re: The University of Murcia (Spain) takes jQuery as main JS Library for all new projects

2007-04-19 Thread Dmitrii 'Mamut' Dimandt
I guess what you want is something like: rules[1]='field1|equal||pre-condition'; rules[2]='field2|regexp|^a-zA-Z$|post-condition'; rules[3]='1|implies|2|Enter either field 1 or field 2'; rules[4]='field2|equal||pre-condition'; rules[5]='field1|regexp|^a-zA-Z$|post-condition';

[jQuery] Re: Spam on this list

2007-04-18 Thread Dmitrii 'Mamut' Dimandt
Christof Donat wrote: Hi, Since this list is a google group I recieve considerably more spam over this list. Is that just me, or has anybody made the same experience? Christof Subscribe to this group via gmail :) It cuts off spam

[jQuery] Re: åäö doesn't work with load ()

2007-04-11 Thread Dmitrii 'Mamut' Dimandt
Internet Explorer works reliably only with utf-8 Even if your entire site is ISO-..., you can still use utf-8 for all your ajax-related stuff, i think badtant wrote: my whole site is in ISO-8859-1 and it's to much work right now to convert to UTF-8. i think that this is something that should

[jQuery] Sort a table when a button is pressed

2007-04-03 Thread Dmitrii 'Mamut' Dimandt
Hi. A friend of mine is using the tablesorter plugin on one of the tables on the page. He needs to sort a column when a button on the page is pressed. That is, not the header of the column, but a completely separate button on the page. How can this be achieved? Thank you

[jQuery] Re: Sort a table when a button is pressed

2007-04-03 Thread Dmitrii 'Mamut' Dimandt
(th:eq(0)) to be clicked and then sorted when a button is clicked. Note that $().click() without any arguments simulates a click. - jake On 4/3/07, Dmitrii 'Mamut' Dimandt [EMAIL PROTECTED] wrote: Hi. A friend of mine is using the tablesorter plugin on one of the tables on the page. He