[jQuery] Re: Hiding Table Columns

2009-05-12 Thread David Blomstrom
(); > it will completely remove the first tr in your code from the DOM > meaning they won't get it back unless they refresh. > > On Tue, May 12, 2009 at 12:46 PM, David Blomstrom < > david.blomst...@gmail.com> wrote: > >> Imagine a table with ten columns. Is there a

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

2009-05-12 Thread David Blomstrom
Please ignore my last question; I found the thread I was looking for. I'll give the various solutions that were offered another try, and if it still doesn't work, I'll put a live example online. Thanks. On Tue, May 12, 2009 at 6:18 PM, David Blomstrom wrote: > Wow, the idea o

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

2009-05-12 Thread David Blomstrom
Wow, the idea of sorting multiple tables at the same time is interesting. I may check that out, 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 a

[jQuery] Hiding Table Columns

2009-05-12 Thread David Blomstrom
the less important columns disappear, then it might sort faster. -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org

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

2009-05-01 Thread David Blomstrom
;).hide(); >> return true; >> }); >> >> $("#triggerReg").click(function(){ >> $("#menuReg").show(); >> return false; >> }); >> $("#menuReg").click( function(){ >> $("#menuReg").hide(); >> return true; >> }); >> >> $("#triggerKids").click(function(){ >> $("#menuKids").show(); >> return false; >> }); >> $("#menuKids").click( function(){ >> $("#menuKids").hide(); >> return true; >> }); >> >> $("#triggerLinks").click(function(){ >> $("#menuLinks").show(); >> return false; >> }); >> $("#menuLinks").click( function(){ >> $("#menuLinks").hide(); >> return true; >> }); >> >> $("#triggerBooks").click(function(){ >> $("#menuBooks").show(); >> return false; >> }); >> $("#menuBooks").click( function(){ >> $("#menuBooks").hide(); >> return true; >> }); >> >> } >> ); >> >> >> -- >> David Blomstrom >> Writer & Web Designer (Mac, M$ & Linux) >> www.geobop.org >> > > -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org

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

2009-05-01 Thread David Blomstrom
; > $("table.tablesorter").tablesorter({ widgets: ['zebra'] }); > > > > On Wed, Apr 29, 2009 at 20:35, David Blomstrom > wrote: > >> I'm using jQuery's tablesorter.js to create tables with sortable rows, as >> applied to tables with the ID &qu

[jQuery] tablesorter.js vs Numerals with Commas

2009-04-29 Thread David Blomstrom
$("#triggerLinks").click(function(){ $("#menuLinks").show(); return false; }); $("#menuLinks").click( function(){ $("#menuLinks").hide(); return true; }); $("#triggerBooks").click(function(){ $("#menuBooks").show(); return false; }); $("#menuBooks").click( function(){ $("#menuBooks").hide(); return true; }); } ); -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org

[jQuery] Applying Table Row Sorter to Multiple Tables

2009-04-29 Thread David Blomstrom
); return false; }); $("#menuLinks").click( function(){ $("#menuLinks").hide(); return true; }); $("#triggerBooks").click(function(){ $("#menuBooks").show(); return false; }); $("#menuBooks").click( function(){ $("#menuBooks").hide(); return true; }); } ); -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org

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

2009-04-29 Thread David Blomstrom
quot;).click(function(){ $("#menuKids").show(); return false; }); $("#menuKids").click( function(){ $("#menuKids").hide(); return true; }); $("#triggerLinks").click(function(){ $("#menuLinks").show(); return false; }); $("#menuLinks").click( functi

[jQuery] Re: Hover vs Click, etc.

2009-02-16 Thread David Blomstrom
t;).click(function(){ > $("#menuReg").show(); > return false; > }); > $("#menuReg").click( function(){ > $("#menuReg").hide(); > return true; > }); > > > by(e) > Stephan > > 2009/2/16 David Blomstrom : > > I haven'

[jQuery] Re: Hover vs Click, etc.

2009-02-16 Thread David Blomstrom
ses as soon as you try to put the cursor over a > > link. > > > > Can someone show me how to modify this so that the menu stays open > > until you manually close it again? I changed hover(function() to click > > (function(), and it now opens when you click it - an

[jQuery] Need help with scrambled open/shut script

2009-02-14 Thread David Blomstrom
adding:4px; background:#BF8660; } Now it's frozen shut. I suspect the fix is a simple one, but I'm confused between JavaScript, CSS and all my PHP includes. I may simply have several things in the wrong order. Thanks for any tips. -- David Blomstrom Writer & Web Designer (Mac, M$ & Linux) www.geobop.org

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
; > Or with a style on the element itself: > > ... > > -Mike > > -- > *From:* David Blomstrom > > I recently modified my JQuery code to create an element that opens when > someone mouses over it. It should be closed by default. > > It works, with one smal

[jQuery] Re: Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
Yes; I'm echoing the code in PHP. On Thu, Dec 11, 2008 at 4:29 PM, MorningZ wrote: > > is there a reason you are escaping the selector strings? ie/$ > (\'#MSFree\')[\'zebra\'] etc > > > > > David Blomstrom wrote: > > I rec

[jQuery] Invisible Element Opens on Page Load

2008-12-11 Thread David Blomstrom
I recently modified my JQuery code to create an element that opens when someone mouses over it. It should be closed by default. It works, with one small problem. When you first load the page the element opens. It doesn't close unless you mouse over it. Is there some way to fix it so that the eleme

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
7;menu2'); > > > > andy > > > -- > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *David Blomstrom > *Sent:* Wednesday, December 10, 2008 2:04 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Re: Ne

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
/ do something on mouse out $(\'#menu2\').hide(); }); $(\'#Stuff\').hover(function(){ // do something on mouse over $(\'#menu3\').show(); },function(){ // do something on mouse out $(\'#menu3\').hide(); }); Thanks. On Wed, Dec 10, 2008 at 11:39 AM, Da

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
use some JQuery table sorting functions on the same page are working. I'll go back and take a fresh look at it in a moment. Thanks. On Wed, Dec 10, 2008 at 11:14 AM, Hector Virgen <[EMAIL PROTECTED]> wrote: > That looks good, did it work? > > -Hector > > > On We

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
tain events happen, and that > is where you place the .hide() and .how() code: > > // Untested... > $('#MSFree').mouseover(function() > { > $('#menu2').show(); > }); > > $('#MSFree').mouseout(function() > { > $('#

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
de(); > > Where someElement was a container with an ID. > > > andy > > -- > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *David Blomstrom > *Sent:* Wednesday, December 10, 2008 12:11 PM > *To:* jquery-en@googl

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread David Blomstrom
* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *David Blomstrom > *Sent:* Wednesday, December 10, 2008 12:11 PM > *To:* jquery-en@googlegroups.com > *Subject:* [jQuery] Need Open/Shut Function > > I've been looking for JQuery examples pages and start

[jQuery] Need Open/Shut Function

2008-12-10 Thread David Blomstrom
I've been looking for JQuery examples pages and started browsing through plugins, but I haven't found what I'm looking for yet, so I wondered if anyone here could make some recommendations. If you visit my web page at http://www.geosymbols.org/World/Arizona/, you'll see a "Microsoft-Free" box in t

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
er tool for Firebug. Go get it > now if you don't have it, and take a look through all of its menus. A ton of > good stuff there. > > -Mike > > -- > *From:* David Blomstrom > > Wow, you were right - my link/path file was incorrect. I assu

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
function. > In that case, have a look at how to run jQuery in noConflict mode. > > > On Wed, Dec 10, 2008 at 2:01 PM, David Blomstrom < > [EMAIL PROTECTED]> wrote: > >> >> >> On Wed, Dec 10, 2008 at 4:14 AM, Olivier Percebois-Garve < >> [EMAIL

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
tab of firebug and see the get request for the JS file - is > the response a 404 or the contents of the file? > > James > > > From: jquery-en@googlegroups.com on behalf of David Blomstrom > Sent: Wed 10/12/2008 13:08 > To: jquery-en@googlegro

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
5:03 AM, James Hughes <[EMAIL PROTECTED]> wrote: > > if it saying - 2. $ is not defined > > jQuery isn;t included on the page correctly. Are your directory and file > names alright? > > > > From: jquery-en@googlegroups.com on behalf of D

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
e on the static web page is working. The columns are sortable and they have alternating colors. Thanks. > Olivier > On Wed, Dec 10, 2008 at 1:02 PM, David Blomstrom < > [EMAIL PROTECTED]> wrote: > >> Thanks for the tips, but I'm confused. You're suggesting I

[jQuery] Re: TableSorter vs CMS

2008-12-10 Thread David Blomstrom
oblem... It depends how you call the PHP... > Best bet is using jquery's AJAX callback function and initiate the PHP > onSuccess... > > i did the same thing here: (use firebug to explore the code): > (everything in the is print()'d by PHP... > > http://www.themean

[jQuery] Re: TableSorter vs CMS

2008-12-09 Thread David Blomstrom
What constitutes "manipulation"? It's a dynamic table, so I use PHP and a MySQL query to "populate" it with data. I removed a PHP script that gave each table row a class - though I didn't touch a similar touch that gives each table cell a class. At any rate, I'll replace the entire dynamic table s

[jQuery] Re: TableSorter vs CMS

2008-12-09 Thread David Blomstrom
Thanks for all the tips, even if I don't understand all this stuff yet. :) Unfortunately, I got called in to work, so I'm away from my main computer. However, I'll try the things you suggested when I get home in the morning.

[jQuery] TableSorter vs CMS

2008-12-09 Thread David Blomstrom
With the help of this group, I got my first JQuery function to work - a combination sortable table columns/alternate row colors script. The only problem is that it works on my static page but not on a dynamic page in my content management system (PHP). The weird thing is that I copied the source c

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Awesome - it works! Thanks so much for all the tips.

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
gt; > $(document).ready(function() > { > $("#myTable").tablesorter( widgets: ['zebra'] ); > } > ); > > > On Tue, Dec 9, 2008 at 9:43 PM, David Blomstrom <[EMAIL PROTECTED] > > wrote: > >> Thanks. >> >> I changed my code acc

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
Sorry, I missed the messag that references class "odd." Yet when I insert the following style... tr.odd td { background: #ff0; } ...there are still no colored rows.

[jQuery] Re: TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
]> wrote: > >> The zebra code you have seems to be based on another library (Prototype >> ?), >> so it wont run using without it. >> Anyway, there's a zebra plugin included by default in the tablesorter. >> just do: >> >> $("table&qu

[jQuery] TableSorter vs Zebra Stripes

2008-12-09 Thread David Blomstrom
I want to create a table that features sortable columns and alternate row colors. I found scripts that do one or the other, but when I implement both, the row color function is impaired. First, I downloaded the JQuery TableSorter plugin; hence the links to jquery-1.2.6.min.js and jquery.tablesorte

[jQuery] Problem with Tablesorter Plugin

2008-12-07 Thread David Blomstrom
I just downloaded JQuery. For my first project, I'd like to make a table with sortable columns and alternating row colors. For the sortable columns, I downloaded the Tablesorter plugin, then followed the tutorial at http://tablesorter.com/docs/ I don't know a lot about JavaScript, but I have impl