Re: [jQuery] Quirks with Tablesorter

2010-02-25 Thread aquaone
seconded. Your best bet is to write your own widget that deletes and appends your separators for you on sort. On Thu, Feb 25, 2010 at 15:33, Nathan Klatt n8kl...@gmail.com wrote: On Thu, Feb 25, 2010 at 5:28 PM, West415 malik.robin...@gmail.com wrote: I don't need the headers to repeat

Re: [jQuery] JQuery tablesorter problem

2010-02-04 Thread aquaone
Please provide the code you're using to invoke tablesorter. It's likely a syntax error. On Thu, Feb 4, 2010 at 05:36, Nagaraju man25...@gmail.com wrote: I am facing problem with jquery.tablesorter.js It's working fine if I have more than column in sorting/header list. But if I have one

Re: [jQuery] Is there have any JQuery plugin that can sort 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A?

2010-02-02 Thread aquaone
Sort as in a tablesorter parser, an array, or what? On Tue, Feb 2, 2010 at 07:37, HenryRock henryloke.myetr...@gmail.comwrote: I facing a problem in sorting : 1A,2A,3A,... 10A, 11A, 12A, 13A, 14A Sample data. I using the SQL to sort ASC but it return result as below: 12A 13A 14A 10A

Re: [jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread aquaone
It's detecting it as text then most likely. Force it to sort numeric and you should be fine. On Fri, Jan 29, 2010 at 13:05, mackrider matst...@gmail.com wrote: What's up? This is really odd. One of my columns (HR) is not sorting properly. It is sorting as if there's a decimal point.

Re: [jQuery] All of my columns are sorting fine, except one! It is acting as if there's a decimal point!

2010-01-29 Thread aquaone
. jQuery(#freeagents).tablesorter({ headers: { 7: { sorter: 'digit' }, 8: { sorter: 'digit' }}}); Hope this helps, aquaone On Fri, Jan 29, 2010 at 16:15, mackrider matst...@gmail.com wrote: How do I do that exactly? aquaone wrote: It's detecting it as text then most likely. Force

Re: [jQuery] Re: tablesorter line numbers

2010-01-26 Thread aquaone
It'd be cleaner to have this a widget. For the direct matter, give your row a class, remove rows of that class, then append it again as part of the function. aquaone On Mon, Jan 25, 2010 at 19:59, jay jjpri...@gmail.com wrote: Is there any way to get the following code to refresh after every

Re: [jQuery] Announce: jQuery Tablesorter 2.0.2 Released

2010-01-05 Thread aquaone
only with using a 2 table hack (one only shows thead, one only shows tbody) and a linked sort trigger... it's a dumb hack but it works. if you're looking for that kind of functionality natively, try one of the other table/grid plugins out there. aquaone On Tue, Jan 5, 2010 at 02:49, Binod K M

Re: [jQuery] Help with dynamicaly created table

2010-01-02 Thread aquaone
You need to trigger the update event for the table for tablesorter to rebuild the cache. At the bottom of your .delete_button click function, add $(#shop_list).update(); and it should fix your problems. For more information, please see http://tablesorter.com/docs/example-ajax.html. aquaone

Re: [jQuery] how to get current sort order from tablesorter plugin?

2009-12-23 Thread aquaone
I believe tablesorter's internal sort is stored under config.sortList for the table DOM element. It's a multidimensional array of column indices and sort direction, e.g. [[2,0][0,1]]. aquaone On Wed, Dec 23, 2009 at 15:46, vcohen vco...@irvinecompany.com wrote: I'm just starting to use

Re: [jQuery] Meta question about this newsgroup

2009-12-22 Thread aquaone
Providing a link to a live site or using a pastebin type site (e.g. http://jsbin.com/) is likely your best bet. aquaone On Tue, Dec 22, 2009 at 10:30, eleven leovange...@gmail.com wrote: Hello, I am new to this Google Group, so forgive me if this is the wrong place to ask this question. I

Re: [jQuery] odd sorts from tablesorter with commas in the numbers

2009-12-08 Thread aquaone
It doesn't expect numbers to have commas. You need to use your own parser. e.g. // custom parser $.tablesorter.addParser({ id: commaNum, is: function(s) { return /^[\d-]?[\d,]*(\.\d+)?$/.test(s); }, format: function(s) { return s.replace(/,/g,''); },

Re: [jQuery] Newby question - jquery tablesort demo 2 (forgot link to my site)

2009-12-07 Thread aquaone
]]} ); }); /script aquaone On Mon, Dec 7, 2009 at 13:25, Don Moore donsmo...@gmail.com wrote: Hello all, I'm an experienced LAMP developer and I am having trouble getting the tablesort demo working. http://tablesorter.com/docs/ I hope this is the correct list to be asking

Re: [jQuery] tablesorter + AJAX

2009-11-10 Thread aquaone
try: $('#mainContent').html(data).find('#ratesTable').tablesorter(); On Mon, Nov 9, 2009 at 20:38, sumdog sum.not...@gmail.com wrote: Hey there, I've read through several AJAX+tablesorter posts and am still a little confuzzled on this. I am loading an entire table into a div like so:

[jQuery] Re: Delay keyup

2009-10-20 Thread aquaone
use clearTimeout and setTimeout w/ callbacks. e.g. from my tablefilter code: // bind text entry $(input, $trInput).each( function(){ $(this).keyup( function(){ var input = this; var timerCallback = function(){ filter(

[jQuery] Re: Color based on table data

2009-10-13 Thread aquaone
received a reply). aquaone On Tue, Oct 13, 2009 at 10:31, Chris caw1...@gmail.com wrote: I have a table of data brought in through lift and in it is a status column. I am wondering if there is an easy way to color a row based on the contents of that column. Any status of broken was red, edited

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-09-11 Thread aquaone
Haven't done anything like that yet. You want it in the URI, not in cookies? Hm, may take some time to make sure the page isn't jumpy. aquaone On Fri, Sep 11, 2009 at 14:07, J. Bobby Lopez bobby.lo...@gmail.com wrote: Aquaone, Like your tablefilter implementation, much simpler than some

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread aquaone
Then use indexes from the parent and :lt ( http://docs.jquery.com/Selectors/lt#index) aquaone On Tue, Sep 1, 2009 at 04:07, Namir namiras...@hotmail.com wrote: Well its for a chat box and I want to remove old messages as new messages come in, so that there are 20 messages being shown at any

[jQuery] Re: jQuery select where attribute ID less than

2009-09-01 Thread aquaone
seem to be working correctly On Sep 1, 7:07 pm, aquaone aqua...@gmail.com wrote: Then use indexes from the parent and :lt ( http://docs.jquery.com/Selectors/lt#index) aquaone On Tue, Sep 1, 2009 at 04:07, Namir namiras...@hotmail.com wrote: Well its

[jQuery] Re: listnav functionality applied to tables -- is this possible?

2009-08-31 Thread aquaone
like this? http://bluemoon.reverse.net/~aquaone/tablefilter/ feel free to grab it. not sure when i'll have the time to finalize it but it's quite full-featured at present. aquaone On Mon, Aug 31, 2009 at 09:07, wshawn sh...@sanityllc.com wrote: I am curious if the devs would be interested

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread aquaone
id will be a string. AFAIK there's no built-in to parse it as a number and compare. you'd either have to .each() it or find another means of accomplishing what you are trying to do. aquaone On Mon, Aug 31, 2009 at 13:50, Namir namiras...@hotmail.com wrote: How can I do a less than

[jQuery] Re: jQuery select where attribute ID less than

2009-08-31 Thread aquaone
indeed. there's gotta be a better solution than this. if you can't control it and insist on using this method, $(span.class).each(function(){if($(this).attr('id')x){//do something}}); The performance on that will be crap. Please find an alternate solution e.g. .is(':gt'+x) aquaone On Mon, Aug 31

[jQuery] Re: Clearing a textarea doesn't work in IE6 using val();

2009-08-31 Thread aquaone
why not use .text('') ? aquaone On Mon, Aug 31, 2009 at 17:54, reach4thelasers kev.m.mul...@googlemail.comwrote: I've just tested it using IETester from http://www.my-debugbar.com/wiki/IETester/HomePage and it does work. However using the Xenobank IE6 browser from http

[jQuery] Re: Cannot get columns with rowspan to not be included in sorting (Tablesorter 2.0)

2009-08-21 Thread aquaone
tablesorter.com is the up-to-date site for the source. On Fri, Aug 21, 2009 at 10:53, Robert H. rhor...@rim.com wrote: (Going to post this Here since JQuery Plugins seems Dead) Hello, I've been working on getting a table with a super header and sub headers to only sort by the sub headers.

[jQuery] Re: Tablesorter dates

2009-08-14 Thread aquaone
, so that I can construct a month array. Again, I would prefer not to do such a thing... but if support is needed I can help. aquaone On Fri, Aug 14, 2009 at 02:08, badtant badt...@gmail.com wrote: Hi! I'm using this plugin http://tablesorter.com/docs/ but have some trouble with sorting my

[jQuery] Re: Tablesorter plugin - grouping rows and sorting per group?

2009-08-05 Thread aquaone
I'm sure you can look at the code and find a way to get it working in the general case. What's there was just kinda a quick and dirty hack I wrote for another guy a while ago. I'll leave it as an exercise for the reader though. ;-) aquaone On Wed, Aug 5, 2009 at 14:16, Crazy Serb crazys

[jQuery] Re: Need help with table sorter

2009-07-31 Thread aquaone
tfoot http://www.w3schools.com/tags/tag_tfoot.asp On Fri, Jul 31, 2009 at 07:36, Razor M haxor1...@gmail.com wrote: Is it possible to do some changes so that the bottom row will not be included while doing the sorting? Suppose I have totals in the bottom row, so I do not want that row to

[jQuery] Re: Table sorter 2.0 Date format issue

2009-07-30 Thread aquaone
You need to set the dateFormat property to 'uk'. The default is 'us' which is mm/dd/yy(yy). aquaone On Wed, Jul 29, 2009 at 22:04, subhan md.sub...@gmail.com wrote: Hi, I am using the date format dd/mm/yy but it is not working properly, below is the example how it get sort in ascending

[jQuery] Re: TableFilter Issue

2009-07-20 Thread aquaone
AFAIK there is no option to do that. You could edit the code (in theory) to remove it but I do not believe an option to omit it exists. On Mon, Jul 20, 2009 at 03:33, jazz bharathbhooshan.amb...@gmail.comwrote: Hi Folks, i am using table filter.

[jQuery] Re: tablesorter not sorting numbers correctly

2009-07-16 Thread aquaone
Last I checked *sym link* wasn't a number. ;-) aquaone On Thu, Jul 16, 2009 at 09:51, Ian Stokes-Rees ijsto...@alumni.uwaterloo.ca wrote: tablesorter isn't sorting numbers correctly. I have the latest jQuery (1.3.2) and tablesorter (2.0.3). from http://abitibi.sbgrid.org/: script

[jQuery] Re: Search Functionality in DataGrid

2009-07-07 Thread aquaone
I've got an incomplete but working project you can use: http://bluemoon.reverse.net/~aquaone/tablefilter/ On Tue, Jul 7, 2009 at 02:54, jazz bharathbhooshan.amb...@gmail.com wrote: Hi Folks, I want search functionality in the grid..i found one link but it is in php...but i donno php

[jQuery] Re: Select List With Multiple Selections Hack

2009-07-06 Thread aquaone
What does this have to do with jQuery? O_o What you're talking about is basic PHP. On Mon, Jul 6, 2009 at 07:07, Shrimpwagon shrimpwa...@gmail.com wrote: When using a select combo box that has multiple selections enabled, my server was not seeing it as an array. It was only seeing it as a

[jQuery] Re: check/uncheck all checkboxes with specific id

2009-06-30 Thread aquaone
As previously stated classes would be better. Also of note, @ in attribute selectors is deprecated, but better yet, input:checkbox (which is faster than simply :checkbox I've been told). Also, if you insist on doing ids instead of class, it'd be better to use the starts

[jQuery] Re: Potential blind sql injection vulnerability with Superfish JS?

2009-06-19 Thread aquaone
How is Javascript going to do a SQL injection ? On Fri, Jun 19, 2009 at 08:16, NationPress i...@nationpress.com wrote: The client we're building a site for recently had a server wide scan done by SecurityMetrics.com for PCI compliance. This was required by their banks commercial credit card

[jQuery] Re: tablesorter doesn't do anything, it doesn't show up, it doesn't create an error. Nothing.

2009-06-11 Thread aquaone
Are you sure it's not working? Often people haven't included the accompanying CSS and don't realize that it is working -- They just don't see the changes because they didn't include the CSS. aquaone On Thu, Jun 11, 2009 at 11:06, sso strongsilent...@gmail.com wrote: I've used tablesorter

[jQuery] Re: When is jQuery available?

2009-05-23 Thread aquaone
/performance/rules.html aquaone On Sat, May 23, 2009 at 11:08, waseem sabjee waseemsab...@gmail.com wrote: Hi There here is tip. instead of using the jquery library script from another URL you should download it and possibly put it on your FTP ( if online ) or filesystem ( if offline

[jQuery] Re: tablesorter bug? How can I use tablesorter plugin to sort float?

2009-05-22 Thread aquaone
You will need to write your own custom parser. The numeric sorter won't detect nor handle scientific notation. aquaone On Thu, May 21, 2009 at 20:22, devdoer devdo...@gmail.com wrote: HI: I found tablesorter plugin failed to sort the float if the float is in scientific notation? Eg

[jQuery] Re: tablesorter plugin help -- getting it to ignore quotation marks

2009-05-22 Thread aquaone
You'll need to write a custom parser. For detection tell it to look for your quote characters at start and end with string characters between. For cache population, use regex to strip the quotes. aquaone On Thu, May 21, 2009 at 22:04, clorentzen carl.lorent...@gmail.com wrote: I'm using

[jQuery] Re: select all a elements whose class attribute does not contain 'myclass'

2009-05-21 Thread aquaone
the class attribute does not contain the string myclass (which sounds very odd) you would use $(a:not([class*=myclass])). I'd highly recommend spending some time reading the selectors page, http://docs.jquery.com/Selectors. aquaone On Wed, May 20, 2009 at 17:06, jonathan topcod...@gmail.com wrote

[jQuery] Re: Using a selector recursively

2009-05-21 Thread aquaone
$(test) should be $(#test). aquaone On Wed, May 20, 2009 at 17:44, sean shaha...@gmail.com wrote: I have the following code: div id=test div class=ajaxApplyIgnore spana href=javascript:ajaxApplyAll(); class=Test1/a/ span /div div spana href=/Logout class=Logout/a/span

[jQuery] Re: Question about jQuery's filter ability

2009-05-21 Thread aquaone
I know of two possibilities off the top of my head. The first is a shameless plug for my own plugin still in development: http://c3p0.reverse.net/~aquaone/tablefilter/http://c3p0.reverse.net/%7Eaquaone/tablefilter/. Check it out and let me know if it would meet your requirements. The second would

[jQuery] Re: Using a selector recursively

2009-05-21 Thread aquaone
); aquaone On Thu, May 21, 2009 at 11:26, waseem sabjee waseemsab...@gmail.com wrote: There was no need to use find() $(function() { }); would be required from jquery (.myclass, obj) is select my class from within my object ( no need to use .find() ) script $(function() { // you need

[jQuery] Re: Plugin Best practices?

2009-05-21 Thread aquaone
http://developer.yahoo.com/performance/rules.html ^^ highly recommended reading. aquaone On Thu, May 21, 2009 at 13:10, Donkeybob rip...@gmail.com wrote: I use three or four jquery plugins for a site. What's the best practice in loading all of these files and how much does it slow down

[jQuery] Re: Using a selector recursively

2009-05-21 Thread aquaone
It works fine for me. Does your actual script block contain a $(document).ready(function(){ ... }); ? On Thu, May 21, 2009 at 16:49, sean shaha...@gmail.com wrote: I forgot the '#' sign in the sample code I provided. The problem I am having is that the code does not work. For some reason,

[jQuery] Re: Exclude single td from whole tr

2009-05-19 Thread aquaone
in about which is best or perhaps yet another solution. aquaone On Tue, May 19, 2009 at 07:45, heohni heidi.anselstet...@consultingteam.dewrote: I found a good solution to make a complete table row clickable: tr link=/folder/here.php. $(tr[link]).bind(click, function(){ var link

[jQuery] Re: help using parent()

2009-05-19 Thread aquaone
A div will never be a parent of a td. It will be an ancestor but not a direct parent. .parents() http://docs.jquery.com/Traversing/parents#exprwill look for ancestors. In other news, please use classes on your divs instead of pattern matching the id. It's better for a variety of reasons. aquaone

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-05-13 Thread aquaone
, too. In the meantime, thanks for the tip, aquaone. I'm now able to place multiple sortable tables on a page. Now I just have to fix one other problem - numerals with commas don't sort properly. I asked about that in another thread and got several responses - none of which worked

[jQuery] Re: tablesorter messing with other tables

2009-05-12 Thread aquaone
Tablesorter will sort them like any other content, which may not be what you intend. If you want to be able to nest table structures, another plugin may be better suited. On Mon, May 11, 2009 at 18:21, PaulGCES paulruder...@gmail.com wrote: Hello-- Does tablesorter support nested tables?

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-05-12 Thread aquaone
. On Thu, Apr 30, 2009 at 1:41 PM, aquaone aqua...@gmail.com wrote: IDs are unique for a document. A document containing multiple elements with the same ID is invalid. Use a class instead and invoke tablesorter on all tables with that class. e.g. table class=tablesorter

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread aquaone
What is meant by this? I'm assuming that a sort is being performed that is forcing that row to move based on the content of the td. If you do not wish content at the bottom of your table to be sorted, why not place those rows in the tfoot instead of in the tbody? stephen On Sun, May 10, 2009 at

[jQuery] Re: sorting a table

2009-05-11 Thread aquaone
tablesorter does not support this. You will need to use a different plugin or change the structure of your table (e.g. move the edit functionality to another td in the same tr). On Fri, May 8, 2009 at 19:40, williamstam aws...@gmail.com wrote: each rowhas a row beneath it with a menu part to

[jQuery] Re: JQuery - Tablesorter - move the last line to firt line

2009-05-11 Thread aquaone
the tablesorter donĀ“t work more and crash the javascript.. :S On Mon, May 11, 2009 at 3:29 PM, aquaone aqua...@gmail.com wrote: What is meant by this? I'm assuming that a sort is being performed that is forcing that row to move based on the content of the td. If you do not wish content

[jQuery] Re: listnav, but for tables?

2009-05-02 Thread aquaone
alternatively, there's a plugin i'm working on here: http://bluemoon.reverse.net/~aquaone/tablefilter/ On Sat, May 2, 2009 at 00:46, Tor torgeir.ve...@gmail.com wrote: I'm looking for a plugin like the listnav plugin (demo: http://www.ihwy.com/Labs/Demos/Current/jquery-listnav-plugin.aspx

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-04-30 Thread aquaone
IDs are unique for a document. A document containing multiple elements with the same ID is invalid. Use a class instead and invoke tablesorter on all tables with that class. e.g. table class=tablesorter ... /table and $(table.tablesorter).tablesorter({ widgets: ['zebra'] }); On Wed, Apr 29,

[jQuery] Re: Zebra (stripes) Widget vs Colgroups (CSS)

2009-04-30 Thread aquaone
tr style is overriding the colgroup style. Perhaps this diagram will explain it well. http://www.w3.org/TR/CSS21/tables.html#table-layers aquaone On Wed, Apr 29, 2009 at 20:30, David Blomstrom david.blomst...@gmail.comwrote: I'm using jQuery and the Zebra widget to produce alternately

[jQuery] Re: tablesorter.js vs Numerals with Commas

2009-04-30 Thread aquaone
); }, format: function(s) { return s.replace(/,/g,''); }, type: 'numeric' }); aquaone (yes, you could use a more precise regex...) On Wed, Apr 29, 2009 at 20:41, David Blomstrom david.blomst...@gmail.comwrote: I'm using jQuery's tablesorter.js to create tables with sortable rows

[jQuery] Re: Table sorter.

2009-04-24 Thread aquaone
, the plugin does not support it. if you're trying to have content appended for repeating headers or similar, consider pagination or create your own repeat headers widget like the sample: http://tablesorter.com/docs/example-widgets.html aquaone On Fri, Apr 24, 2009 at 08:10, Mazi m.ug...@gmail.com wrote

[jQuery] Re: How can I freeze the title row in a table?

2009-04-08 Thread aquaone
There are hacks but none that work well cross-browser without additional hacks. Some plugins use the two table solution, some don't use tables at all and replace them with divs. Have you considered using pagination instead of a fixed thead hack? aquaone On Wed, Apr 8, 2009 at 07:53, Matt Wilson

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-24 Thread aquaone
impressive but has some flaws (large numbers, sorting w/o clicking headers, etc). not a complete fix but definitely a 95+% solution -- neat! aquaone On Tue, Mar 24, 2009 at 00:00, MorningZ morni...@gmail.com wrote: Not the prettiest code i've ever written, but: 1) It works :-) 2) Didn't

[jQuery] Re: tablesorter - Force Null / Empty Cells to the Bottom?

2009-03-12 Thread aquaone
You could define your own parser to do this. Are you looking for a basic numeric sort with nulls on bottom? lexicographical sort? ..? stephen On Thu, Mar 12, 2009 at 11:52, Big Mad Kev bigmad...@gmail.com wrote: Good Morning / Afternoon / Evening, Using the tableSorter does anyone know if

[jQuery] Re: tablesorter doesn't sort negative currency properly

2009-03-04 Thread aquaone
alternatively, write your own parser, or store the value as a float in a hidden span that appears before the displayed value. default behavior of tablesorter is to sort on the first child dom node with a text node... stephen On Wed, Mar 4, 2009 at 15:26, donb falconwatc...@comcast.net wrote:

[jQuery] Re: tablesorter doesn't sort negative currency properly

2009-03-02 Thread aquaone
the format for the currency parser is: return $.tablesorter.formatFloat(s.replace(new RegExp(/[^0-9.]/g),)); It will not handle negative values for currency. You will have to write your own parser. stephen On Sun, Mar 1, 2009 at 23:12, jason jason.novo...@gmail.com wrote: Hi, I have a

[jQuery] Re: TableSorter Plugin Question

2009-03-02 Thread aquaone
as long as you trigger the update event after adding content you should be fine. http://tablesorter.com/docs/example-ajax.html On Sun, Mar 1, 2009 at 21:49, chobo2 mhub...@gmail.com wrote: Hi I am wondering I want to use jquery to add some rows when a person say adds some stuff. I would

[jQuery] Re: remove live events from all children

2009-02-20 Thread aquaone
jQuery(#id).find(*).die(); ? On Fri, Feb 20, 2009 at 18:46, Pappy helga...@gmail.com wrote: Well, while 'children' only gets me immediate descendants, I figured let's try jQuery(.specific_class).parent().children().die() for the heck of it and still no luck. It looks like the code does

[jQuery] Re: Using variables in selectors? $(input[name=x])

2009-02-18 Thread aquaone
($input[name=+x+]) On Wed, Feb 18, 2009 at 13:56, Zaliek zali...@gmail.com wrote: I haven't found any mention of this in the documentation. Can you use a variable in place of a string when using a selector to match an element in a page? If so, what is the syntax? x = foobar

[jQuery] Re: how to zebra stripe divs?

2009-02-16 Thread aquaone
your colon is in the wrong place. (how often does one get to say that?) $(div.postSummary-teaser:odd).addClass(odd); stephen On Mon, Feb 16, 2009 at 15:31, morktron m...@digiflip.tv wrote: Hi I'm just wondering whether it is possible to zebra stripe alternate divs with the same class name?

[jQuery] Re: Tablesorter plugin - lazy caching

2009-02-04 Thread aquaone
you could have the intiial page give a class to the th (or thead w/ closest/delegation) and bind a click event to that class that would enable tablesorter and remove the class, stephen On Wed, Feb 4, 2009 at 05:28, petrillodavide davide.petri...@gmail.comwrote: Hello everybody, I'm

[jQuery] Re: Making Web Game- Need Hitpoint XP histogram/line graph

2009-01-31 Thread aquaone
you could also check out Raphael or Processing. stephen On Sat, Jan 31, 2009 at 13:16, seasoup seas...@gmail.com wrote: flot http://code.google.com/p/flot/ On Jan 31, 7:06 am, TrixJo tri...@gmail.com wrote: Hi there, I have been using Yahoo UI for the past couple of years and

[jQuery] Re: A beautiful diagram

2008-12-31 Thread aquaone
I don't know of anything in jQuery but I'd highly recommend looking into the graphviz tool if you haven't already. It would require some server-side code and a lot of Ajax, especially for zooming... but it may be possible. If you do find some kind of package for this, let me know. I have a

[jQuery] Re: Select all even row in table that are not with a specified class.

2008-12-23 Thread aquaone
Sure. $(table.font_quotazioni tr:even:not('.midlight'))... http://docs.jquery.com/Selectors/not#selector stephen On Tue, Dec 23, 2008 at 10:01, m.ugues m.ug...@gmail.com wrote: Hallo all. I got a table like this table class=font_quotazioni thead tr th title=Data

[jQuery] Re: Cross domain Ajax without Proxy

2008-12-10 Thread aquaone
Tangent question: 1. If someone was to add an iframe to a page, would cookies be sent to the page within the iframe? I'm working on an app where we need to scrape content from multiple pages that all use a common login scheme that creates a cookie for a central server, despite the application

[jQuery] Re: Auto Refresh of Ajax load(url,parameters,callback) command

2008-12-08 Thread aquaone
google for: setInterval On Mon, Dec 8, 2008 at 16:19, Raghu [EMAIL PROTECTED] wrote: Hi, I want to load content of a div using ajax load(url,parameters,callback) command and then to refresh content of that div in each minute using ajax load command. How do I achieve this? Any thoughts...

[jQuery] Re: Fixed div, content scrolls under it

2008-12-02 Thread aquaone
do you mean something other than: div id='nav'.../div div id='content' style='overflow-y:scroll'.../div Sounds like a CSS question, not a jQuery one... stephen On Tue, Dec 2, 2008 at 14:38, Andy Matthews [EMAIL PROTECTED]wrote: I'm looking at the possibility of having navigation at the top

[jQuery] Re: jquery tablesorter and exclude a href from sort

2008-11-24 Thread aquaone
You will likely need to define your own textExtraction function. http://tablesorter.com/docs/example-option-text-extraction.html stephen On Mon, Nov 24, 2008 at 09:21, tjones [EMAIL PROTECTED] wrote: Hello, I have just started to use the jquery tablesorter and really like it. Since I'm

[jQuery] Re: Js traditional to jquery syntax.... how?

2008-11-19 Thread aquaone
$(select).val(value); // for simple select $(select).val([value1,value2]); // for select multiple stephen On Wed, Nov 19, 2008 at 10:15, Andrea - Aosta [EMAIL PROTECTED] wrote: i Have this traditional style js script function Select_Value_Set(SelectName, Value) { eval('SelectObject =

[jQuery] Re: sorting a table as a list?

2008-11-17 Thread aquaone
You can just write your own parser for tablesorterhttp://www.tablesorter.com/ . stephen On Mon, Nov 17, 2008 at 09:54, magoldfish [EMAIL PROTECTED] wrote: Hi, I'm learning jquery and I'm stumped on a table sorting problem. I have inherited a web page with an HTML table of contact info

[jQuery] Re: TableSorter not correctly sorting GridViews

2008-11-12 Thread aquaone
I'm not sure what a GridView is but if it's a table, are you sure it's formatted correctly? In cases where it's sorting lexicographically instead of numerically, something must be throwing it off. Do you have tds in that colgroup with non-numeric values? You can force numeric sorting of a colgroup

[jQuery] Re: Tablesorter advice required - row level filtering based on inputs?

2008-11-09 Thread aquaone
would this help? http://www.compulsivoco.com/2008/08/tablesorter-filter-results-based-on-search-string/ On Fri, Nov 7, 2008 at 19:31, rich [EMAIL PROTECTED] wrote: Hello. I'm here for advice on which approach to take with this problem. I am using the wonderful tablesorter 2 plugin (http://

[jQuery] Re: Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread aquaone
Yes but it may be better to change your separator. I haven't tested this but it should work... $.tablesorter.addParser({ id: dotDate, is: function(s) { return /\d{1,2}\.\d{1,2}\.\d{2,4}/.test(s); }, format: function(s,table) { s = s.replace(/(\d{1,2})\.(\d{1,2})\.(\d{2,4})/,

[jQuery] Re: Tablesorter, sorting dates in format dd.m.yyyy

2008-11-05 Thread aquaone
ack, just realized you're doing dd.mm so gotta change it to s = s.replace(/(\d{1,2})\.(\d{1,2})\.(\d{2,4})/, $2/$1/$3); i think? stephen On Wed, Nov 5, 2008 at 13:50, aquaone [EMAIL PROTECTED] wrote: Yes but it may be better to change your separator. I haven't tested this but it should work

[jQuery] Re: tablesorter wrong ordering

2008-10-03 Thread aquaone
Because it's not choosing numeric as the sorter for that column I'd wager. '.00' may be triggering it to sort alphabetically instead. set the parser to be numeric explicitly: script type=text/javascript $(document).ready(function() { $(.tablesorter).tablesorter({ sortList: [[1,0]],

[jQuery] Re: tablesorter (highlighting columns by appling td class=sorted )

2008-09-16 Thread aquaone
When you sort it applies a class to the th of either headerSortUp or HeaderSortDown I believe. You should be able to do something using the triggers (http://tablesorter.com/docs/example-triggers.html) to determine which headers have either of those classes, then add that class to equally

[jQuery] Re: tablesorter data excepts

2008-09-01 Thread aquaone
look into the repeat headers example widget. it should give you a good starting place. stephen On Mon, Sep 1, 2008 at 9:43 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi guys, i'm using the tablesorter plugin. Does anybody know how to exclude table rows. because i habe a table like

[jQuery] Re: Adding Values (Sum) of TD.

2008-08-23 Thread aquaone
you should be able to .append a tfoot, then iterate through the tbody's trs and tds to populate an array, then use that to populate some fresh td's in the tfoot. i'd write it for ya but i gotta go to the opera. ^_^ stephen On Sat, Aug 23, 2008 at 10:12 AM, Scott Phillips [EMAIL PROTECTED]wrote:

[jQuery] Re: How to set background image when file name contains a space?

2008-08-21 Thread aquaone
You'll need to urlencode it then. Spaces are usually replaced with %20. stephen On Thu, Aug 21, 2008 at 12:15 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I agree, but sadly the file naming situation is beyond my control. I'm forced to work with these poorly named files. - Dave On Aug

[jQuery] Re: Issue Related to Interface.js plugin with on jQuery 1.2.6 in Internet Explorer.6

2008-08-20 Thread aquaone
Interface has not been supported for a long time. Use jQuery UI ( http://ui.jquery.com/) instead. stephen On Wed, Aug 20, 2008 at 9:59 AM, AQuery [EMAIL PROTECTED] wrote: Hi, I am planning to use Interface.js (http://interface.eyecon.ro/) as we have some requirement as in we have to create

[jQuery] Re: Tablesorter plugin and zebra striping

2008-06-18 Thread aquaone
Tablesorter comes with a zebra-striping widget. $(table).tablesorter({ widgets: ['zebra'] }); stephen On Wed, Jun 18, 2008 at 6:34 AM, Ken [EMAIL PROTECTED] wrote: I have the following in my $(document).ready: $(document).ready(function() { $(.zebra tr:not([th]):even).addClass(even);

[jQuery] Re: help with array for flot

2008-06-05 Thread aquaone
$('#plot').click(function() { var d1 = []; $('#curveData tbody tr').each(function() { tr = $(this); pair = []; tr.find('input.qty').val() tr.find('input.price').val() pair.push( tr.find('input.qty').val(), tr.find('input.price').val() ) d1.push( pair ); });

[jQuery] Re: How to find a table cells value?

2007-12-18 Thread aquaone
Monica wrote: Newbie here... I have a table $(#searchDataTable), each row has an unique id. What is the JQuery code to get the value(text) of particular cell in this table? $(#rowId td:nth-child(x)).text(); where #rowId is the id of the particular row, x is the column number. stephen

[jQuery] odd behavior with toggle

2007-12-10 Thread aquaone
) { d.hide(); w.show(); setTimeout( function() { $(tr:not(.nonZero),t).toggle(); w.hide(); d.show(); }, 100 ); }; I'm glad to have a workaround but am still curious, why doesn't the first function work the way I think it should? aquaone

[jQuery] Re: How do I run a function on my selected items?

2007-12-10 Thread aquaone
http://docs.jquery.com/Utilities/jQuery.each $(.myClassName).each(function(){alert($(this).attr('id'));}); I believe... aquaone [EMAIL PROTECTED] wrote: Here is my selection: $(.myClassName) Here is my function: function myFunction { alert( $ (this).attr('id'); } So, foreach selected

[jQuery] Re: Tablesorter and numbers formatted with commas

2007-11-07 Thread aquaone
I ran into the same problem. I just wrote my own parser. It may not be as efficient as it could be though. I'm no expert. Still, here it is: $.tablesorter.addParser({ id: commaNum, is: function(s) { return false; },

[jQuery] tablesorter, zebra and row highlighting

2007-09-28 Thread aquaone
Hopefully someone can answer this quickly. :-) I have a table. I want every other row to be an alternate style (the 'zebra' widget) unless the final td for that row contains a specific value (in my case, non-zero). For rows matching that criteria I need them to use a different style, whether

[jQuery] Re: tablesorter, zebra and row highlighting

2007-09-28 Thread aquaone
Michael Geary wrote: Where does this table come from? For the prototype I'm making it's just static content. For the final version it'll be dynamically built using AJAX. The best way to do this is to assign appropriate classes to your table rows and use CSS to style them. If you can