Categorized & Searchable List Boxes
General
This script creates a list of categorized links from a data array. The list is also searchable. A great navigational aid for small spaces. Very easy to implement.
Notes
- Created by: Steve Chipman
- Web Site: http://slayeroffice
- Posted: October 8, 2008
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: catSearchBox.js
CSS
Paste this code into your external CSS file or in the <style> section within the HEAD section of your HTML document.
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document


Leave a Response
(5 comments)John,[br /][br /]Due to the complexity of the script, you will need to post your question over on [a href="http://www.webdeveloper.com/forum/forumdisplay.php?f=3"]the JavaScript forum[/a]. Thanks!
It works now. Thanks!
Great script, I've been looking for something exactly like this for a long time! Thanks a lot!
Getting "ERROR: Script categorized-searchable-list-boxes.html is missing at /www2/jss/cgi-bin/scriptbot2.cgi line 53." when trying to get script emailed to me.[br /][br /]Ron
How can this script be modified to open the reference link in a new web page, such as with the argument target="_blank"? I cannot see how to do it from the javascript, nor can I seem to modify the function call from the body of the calling page. Is there a way to do this?[br /][br /]I am trying to preserve the page which is linking, rather than be forced to do a 'back' to get to this page. I use both Firefox and Chrome, but multiple browsers permit having several active tags; I'd like to use this functionality.