[thelist] sorting html tables in IE and NN

Bruce Heerssen bheerssen at visualbridge.tv
Wed Apr 25 15:27:36 CDT 2001


Of course, you could put a table with the data on the page, knowing that it will get overwritten by the javascript. This would have
two advantages - the page would get indexed and people with javascript disabled will still be able to view the data, even if they
can't sort it.

-Bruce

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of rudy
> Sent: Wednesday, April 25, 2001 3:20 PM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] sorting html tables in IE and NN
>
>
> >the problem with this technique is that the page is not being indexed by
> >search engines. because there's no "Text" per se, just script! <Sigh>
> >
> >short of a database, is there a better way to implement this kind of
> sorting
> >without using arrays? we could do it with data binding and dhtml, but alas
> >we must support NN 4.76.
>
>
> hi fortune
>
> the best way to sort records client side *is* with a javascript array
>
> perhaps you should not be using document.write if that's the reason that
> there's nothing on the page...
>
> here's a page that doesn't use document.write, feel free to steal my code
> if you can use it (it manually orders a dropdown list, so your mileage may
> vary) --
>
>   http://rudy.ca/sortdropdown.html
>
> caution: this is about as complex as my javascript gets, and in fact, it
> was quite some while since i wrote this, so please don't ask me to support
> it   =o)
>
>
> rudy
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list