[jQuery] Re: Looping through headers object

2009-01-22 Thread shinobi
Sorry, yes, I'm using tablesorter plugin. Thank you Ricardo for the answer, this evening i'm going to try your solution. Mattia On 22 Gen, 06:06, Ricardo Tomasi ricardob...@gmail.com wrote: I assume you're using the Tablesorter plugin? This should work. var headers = {}; $('#table thead

[jQuery] Re: Looping through headers object

2009-01-21 Thread Ami
Please give as a simple HTML of your table. so we can try help you On Jan 22, 12:21 am, shinobi mattia.bargell...@gmail.com wrote: Hi everybody. I have an html table with a fixed number columns (or headers) and a variable number of columns, that may vary in numbers depending on data in the

[jQuery] Re: Looping through headers object

2009-01-21 Thread Ricardo Tomasi
I assume you're using the Tablesorter plugin? This should work. var headers = {}; $('#table thead th').each(function(index){ if (index 2) headers[index] = { sorter: false }; }); $(#table).tablesorter({ headers: headers }); You can also disable headers using metadata, with a

[jQuery] Re: changing H6 headers in H1 using Jquery?

2008-07-21 Thread Chris J. Lee
I'm pretty sure the google spider will crawl your website without use of JavaScript. So i think its probably better that you just change your h6 headers to h1 headers by hand. Try searching google spider simulators to see how your content would look like. On Jul 21, 5:32 am, subwayslim [EMAIL

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote: From a quick Google search I found (http://www.hunlock.com/blogs/AJAX_for_n00bs): # AJAX.getAllResponseHeaders() -- returns as a string all current headers

[jQuery] Re: Reading http headers out of an ajax response

2008-06-05 Thread sparkpool
Um, just for the record, I did actually google various things, on more than one occasion.. On Thu, Jun 5, 2008 at 1:28 PM, sparkpool [EMAIL PROTECTED] wrote: Doh, thanks. I was looking for properties, not methods. Foo on me. On Wed, Jun 4, 2008 at 7:42 PM, Karl Rudd [EMAIL PROTECTED] wrote:

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread sparkpool
Sorry to be a pest, but any takers on this? Does anyone know if it's possible at all in javascript? Thanks On Wed, Jun 4, 2008 at 7:21 AM, sparkpool [EMAIL PROTECTED] wrote: Hi all, I know that jquery's ajax calls set the X-Requested-With header to 'XMLHttpRequest' for ajax requests,

[jQuery] Re: Reading http headers out of an ajax response

2008-06-04 Thread Karl Rudd
From a quick Google search I found (http://www.hunlock.com/blogs/AJAX_for_n00bs): # AJAX.getAllResponseHeaders() -- returns as a string all current headers in use. # AJAX.getResponseHeader(headerLabel) -- returns value of the requested header. Karl Rudd On Thu, Jun 5, 2008 at 9:32 AM,

[jQuery] Re: :not and :headers

2008-01-13 Thread Hamish Campbell
Haven't tried it, but I think the issue is you're apply it to _everything_ (*) that is not a header. That means the body, all paragraphs, divs, spans etc. Ie, if you haven't specified a font for headers explicitly, the headers will inherit the font from the body (or a containing div, span, a

[jQuery] Re: Fixed Table Headers Plugin - Need some help

2007-12-31 Thread Suni
If you manage to pull this off It will be amazing. AFAIK there is no 100% working solution for all A-grade browsers so far. There are many different hacks and scripts (some rather tedious) but I've yet to see one that would work in FF,IE6,IE7 and Opera. I hope you find a way, though I'm rather

[jQuery] Re: Fixed Table Headers Plugin - Need some help

2007-12-31 Thread Shawn
Thanks for the encouragment. I have no choice - I *need* to make this work for one of my apps... But I only really need to make it work in IE7 and FF... I'll be testing it against a production table later today... Suni wrote: If you manage to pull this off It will be amazing. AFAIK there

[jQuery] Re: Fixed Table Headers Plugin - Need some help

2007-12-31 Thread Shawn
I'm making some progress on this. http://grover.open2space.com/files/dev/fixedheader/jquery.fixedTableHeader-0.03.js This revision cleans up some bugs and troubleshooting left-overs, as well as some needed enhancements. I Tested the library with my production table. This table is nasty to