OK, thanks to Marco Schoemaker's hint on how to do this in HTML, I've cooked up a patch that should do this.
Unlike Marco, I don't want to introduce yet another special tag for the tooltip. It will display the COMMENT text, or the DESCR text if there's no COMMENT defined. If neither exists, it will just display the hostname.
The attached patch is based on the current snapshot, but modified so it should work with Hobbit 4.2.0. Those on the bleeding edge version will have to wait for tonights snapshot.
Regards, Henrik
Thanks a lot for this very quick implementation!!
I've tried it at my test system and it works perfect. Exactly what I had in mind when writing my mail to the list.
One little problem:
It's not working for the bb2 page. There the DESCR is displayed next to the hostname. No <span ... > </span> tag in the html source.
Johann