Personally, I'd do what you've mentioned above in Flash. There's probably some DHTML code out there, but I like to keep my pages nice and simple, and besides, Dreamweaver doesn't really keep track of it very well.
For DHTML stuff, try DynamicDrive - there's sure to be something of help there.
Hope that helps,