This can be done with Javascript. I know you mentioned not wanting to use it, but this is really part of the so-called "behvaior layer" of web documents which is handled by Javascript. Check out Sajax for a bit of help with doing just that. I had a bit of a problem getting it off the ground, but nothing 15 minutes of tinkering didn't solve.