Javascript select parser, Part II

Being Friday and all, I thought I'd give you a better example of the select parser than the one I gave you yesterday.

At first I was only going to add a few visual things to illustrate my point better, but then I had to update parts of the code, and the rest is, as they say, history.

The code is now fully functional, and fully documented. To style it you need to change the CSS and you might have to change some timing events in the class, but none the less, here it is;

Download: jsselect (14.83 kB)

Try: Press render (it's there to illustrate the difference)

// And the best thing is, that it's really easy to initialize
selparser = new Customselect();
// And you're done!
Benjamin Horn
Benjamin Horn
Developer at Bazooka
A Finnish-German full-stack developer who's worked with a multitude of different technologies throughout the years.
Vaasa, Finland