Is there a similar library that can be used with tables? I like the function and this looks easy to use but my site uses tables over lists.
Example 2 at http://listjs.com/examples.html uses tables e.g
21–30 of 90 posts
Is there a similar library that can be used with tables? I like the function and this looks easy to use but my site uses tables over lists.
Example 2 at http://listjs.com/examples.html uses tables e.g
This looks pretty useful. I'm curious why you used class to store the "category". Wouldn't it be cleaner to store it in"data-category" or just Javascript? Or is that less browser compliant? Overall a great script though.
kinda neat...but...you need to read: http://contrastrebellion.com/ and redesign your site...easily the biggest violation of my eyes ever.
That's an awful website too. White text on dark background is a complete readability failure, no matter how much contrast it provides.
If I have the time to dig up the article I am thinking about, I will add it to this post.
(Here is the HN thread on the contrastrebellion site: http://news.ycombinator.com/item?id=2807047)
kinda neat...but...you need to read: http://contrastrebellion.com/ and redesign your site...easily the biggest violation of my eyes ever.
kinda neat...but...you need to read: http://contrastrebellion.com/ and redesign your site...easily the biggest violation of my eyes ever.
That's an awful website too. White text on dark background is a complete readability failure, no matter how much contrast it provides.
Anyway - each to their own. It looked okay to me, apart from some tiny script in places. (Safari, OSX 10.4, 1280x854)
Thanks, but you really need to change that to 7 KB. I thought to myself "7 MB? What a weird JS library" and was about to close the page.
kinda neat...but...you need to read: http://contrastrebellion.com/ and redesign your site...easily the biggest violation of my eyes ever.
lol.. hn is on the list.
There's a fair amount of merit to downvoted comments having their contrast lowered.
This looks pretty useful. I'm curious why you used class to store the "category". Wouldn't it be cleaner to store it in"data-category" or just Javascript? Or is that less browser compliant? Overall a great script though.
The reason is simply that I wanted it to be as simple as possible, but if it seems to be a common request I could add support for data-attributes! (and yes, it "works" in IE, by using getAttribute())
that said, i quickly learned that it's better to use data- attributes and copy them into the class when necessary. otherwise you end up with utilities like getCategoryFromClassName()
EDIT: I see now that your front page is an example, with source code. That wasn't obvious to me.