Based on Categorized & Searchable List Boxes by S.G.Chipman, which was released under a Creative Commons Licence. Recoded by Chris Hester 25 October 2005. Last updated 17 November 2005. About this demo.
Changes in Beta 4 (17 November 2005)
- Categories and names are now truncated to allow for both if they use long words. Previously the category was not shown in brackets if the name was too long. I added code to balance the length of both words, but it didn't look right. As it stands, names can still overlap the columns if mostly wide characters like "m" are used in them. But allowing for this makes normal names appear cut off too soon. See the example links I put in with lots of "m"s in them. What to do...
- Switched to UTF-8 encoding. Now the 3 dots after truncated names can be represented by a single character '…' instead, saving space. UTF-8 will also help with bookmark names including accents and non-English characters.
- Improved the code in various ways, such as when there are more categories than links. Previously, this led to a scrollbar appearing in the first column. Also allowed for when truncated names end in a space, by cutting off the space before the 3 dots were added.
Changes in Beta 3 (11 November 2005)
- Added multiple categories
- Made long URLs and names truncated
- Links now show the category after them
- Loads of other subtle improvements
Changes in Beta 2 (31 October 2005)
- URLs now listed as well
- URLs are searchable!
- Cleaned up design and moved things about
- Improved the code
- Added possible shading for odd rows - untested
(needs more work) - removed
- Started work on updating the links
- Made Clear button erase messages
- Coded multiple categories but it breaks the way the whole program works. Will require a new method.
Work in progress! Still to do:
Multiple categories per link
- Searchable tags
Show URL of links
- Add/remove links
- Import/export of links
Update the design
- Update the links (some done)
Filter URLs before search check (knock off prefix and suffix up to first dot) - can't do incase link has another link as a variable on the end of it. (Got it to work for normal links, but removed the code.)
- Clear highlight in Name list if URL clicked on (to avoid confusion) and vice versa?
NAMES DON'T MATCH URLS IF EITHER LIST IS SCROLLED! Convert to tables and use code to select?
- Sort out flickering caused by scrollbars appearing briefly in Firefox 1.5. How to remove scrollbars altogether? (CSS overflow:hidden doesn't work! (At least not in Firefox.))
- Add box to show full link?
- Sort out inner border round each select in IE6.
Guide
Deleted Text | Inserted Text