[ List Archives Home ] [ Thread index for 2008 ]
[ Date index for 2008 ]
[ Author index for 2008 ]
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
- Date: Fri, 4 Jan 2008 14:16:18 -0700
- From: "Welch, Andrew" <AWelch at auroragov dot org>
- Subject: Re: [IUG] sorting reading history, etc.
It goes right after
delete row_array;
};
}
[insert new lines here]
I made other changes earlier in my script, so it doesn't quite match up
with yours; looks like the right spot in yours is line 168. It needs to
be inside the for(var i=0; i<headrow.length; i++) loop.
Andrew Welch
Sr. Library Systems Technician
Aurora Public Library
Aurora, CO 80012
http://auroralibrary.org
>-----Original Message-----
>From: innopac-bounces at innopacusers dot org
>[
mailto:innopac-bounces at innopacusers dot org] On Behalf Of Mike Cunningham
>Sent: Friday, January 04, 2008 2:01 PM
>To: innopac at innopacusers dot org
>Subject: Re: [IUG] sorting reading history, etc.
>
>Andrew,
>
>Weird, that code doesn't seem to work for me. So you are
>putting it right after this line?:
>
>delete row_array;
>
>Mike
>
>> Message: 2
>> Date: Thu, 3 Jan 2008 13:39:54 -0700
>> From: "Welch, Andrew" <AWelch at auroragov dot org>
>> Subject: Re: [IUG] sorting reading history, etc.
>> To: "IUG INNOPAC List" <innopac at innopacusers dot org>
>> Message-ID:
>> <CF2F5C6412214D42B13BBE4290069A24F88B83 at VMAIL2 dot aurora dot city>
>> Content-Type: text/plain;charset="iso-8859-1"
>>
>> You could add the following lines to the end of the
>makeSortable function (for us it's line 162 or so of the script):
>>
>> headrow[i].style.color = "#0000ee"; // change this to
>your link color;
>> try { headrow[i].style.cursor = "pointer"; }
>> catch (e) { headrow[i].style.cursor = "hand"; } // IE 5.5 catch;
>> headrow[i].title = "Click to sort by " +
>> headrow[i].firstChild.nodeValue;
>>
>> These lines will color the column headers blue (adjust the
>hex value to your liking), turn the cursor into a pointing
>hand on hover, and give the link a title attribute of "Click
>to sort by <whatever the header is>"
>>
>> Let me know if you want more guidance on where exactly to
>place these lines.
>>
>> Andrew Welch
>> Sr. Library Systems Technician
>> Aurora Public Library
>> Aurora, CO 80012
>
>--
>Mike Cunningham
>Web Services Librarian
>Cambridge Libraries
>--
>This message was distributed through the Innovative Users
>Group INNOPAC list Public replies: INNOPAC at innopacusers dot org
>Update your subscription options:
>
http://innopacusers.org/mailman/listinfo/innopac
>