Building a set of select lists that are dependant of each other can be a daunting task, but for a simple two-level list - in that what you select from one drop-down will changing what’s displayed in one or more other drop-downs - is actually quite easy thanks to Zend Frameworks and Prototype, both of which support Json.
Continue reading ‘Easy chained select lists using Zend Framework and Prototype’
Following on from the previous post, I thought it’d be nice to have the handle move on a mouse wheel. Looking around for mouse wheel integration, it seems that it’s only a short amount of code to update Prototype to use the mouse wheel. When it’s not in the core code, I don’t know, as it seems rather handy. The mouse wheel code is listed at the Prototype Event Extension article over at Ajaxian.
Continue reading ‘Slider - part 2 - using a mouse wheel’
Yesterday I was looking at the Scriptaculous library, in particular the slider bar. I had used it once before with some success, using a graphic for the track and gripper. But that’s was boring! What I wanted was to see the bar fill up with colour when it was slide. Something like this:

I hadn’t seen anything like this around (not saying it hasn’t been done, just that I hadn’t seen it!), so after a bit of playing I found out it was actually very easy to create. And this is how I did it…
Continue reading ‘Scriptaculous slider trick’