I've already done some research on the 2nd portion of my question, but can't really find a usable example...
The only one I might be able to use rather quickly, uses jQuery to achieve the 2 goals I mentioned, however, I wonder if there is no other way.
Attachment: example.zip