is that a hack or something, i would really like that on my site
It's not a hack, it's just stuff you add to your Header/Footer fields in your Style Templates cpanel. Take a look at the source here to see how it's done, I believe Allen has all the stuff commented.
---Jamin
There's several tutorials in our database as well
https://www.ubbdev.com/db/cgi/ultimatebb.cgi
where are those tutorials...i did a search and i got nothing