Table of Content:
- A Sample Poll
- Job One: Set up CSS
- The HTML
- The Script
- Parameters
- Local and Global Variables
- Resetting the last selected row
- Setting a selected row
- Conclusion
JavaScript's obvious uses are user interaction behaviors. But did you know you can use JavaScript, CSS and the DOM to design engaging and user friendly interfaces as well? Using a simple but effective script and some CSS, take a look at how you can enhance a simple poll (or any selection based application) with some dynamic highlighting and text effects.