Go to Post >wears zebra pants >calls people weird - PayneTrain [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 17-05-2005, 12:34
Elgin Clock's Avatar
Elgin Clock Elgin Clock is offline
updates this status less than FB!
AKA: the one who "will break into your thoughts..."
FRC #0237 (Black Magic)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2001
Location: H20-Town, Connecticut
Posts: 7,773
Elgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond reputeElgin Clock has a reputation beyond repute
Send a message via AIM to Elgin Clock
Sortable table for use on webpages

Can anyone point me in the direction of a better sortable table that I can use on a webpage?

I found this one: http://javascriptkit.com/script/script2/sorttable.shtml

While it works for regular text as shown on our website here: http://www.team237.com/members.htm

I would like to use it on my own site but incorporate links in the table, and also images, and sort by the link url, or image name I don't see why this should not work. My thinking is that it should recognize the

The problem I found is that this Java Script based table ignores the sorting of the standard html formatting tags such as:
Code:
 <td><a href="http://www.imdb.com/title/tt0098987/" target="_blank"><center>Link</center></a></td>
While it sorts the word "Link" and actually does center it by using the <center> commands, it does not sort the link itself as you click on the top header to sort the columns.. It basically leaves the link in the same place within the table, but moves the word "Link" to Alphabetical order.

This is really irritating.

By the way, the table sort js code depends on an external .js file that came with the table's examples which you have to place in the same root directory as your html file that is using the code.
edit: I'm not to familiar with Javascript, but could my problem be that this external .js file is not defining the html image tags as something to sort??
Just a thought..


Is there any other way to code a sortable table that will recognize the html center and image tags as something to organize as well??
edit: What is used to sort the info on this page?
http://www.chiefdelphi.com/forums/memberlist.php?
Php?? Can that be used with images and links?

This will also be helpful to know for the teams site to link pics to the people's individual names in the future.
__________________
The influence of many leads to the individuality of one. - E.C.C. (That's me!!)


Last edited by Elgin Clock : 17-05-2005 at 12:59.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
full table? Shlomi32 General Forum 2 27-04-2005 10:03
Distro block, maxi fuse box, and ground stem ErichKeane Electrical 25 20-02-2004 07:19
Lookup table generation tool WillyC Programming 12 15-02-2004 21:01
picture of 40 amps fuse holder and fuse rcubes85 Technical Discussion 1 13-02-2003 16:03
how do u hook up things through the fuse panel? chrisw Technical Discussion 9 12-01-2002 19:51


All times are GMT -5. The time now is 16:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi