I have a frameset with a menu. The menu is filled from a database and has several levels.

So, if the menu 'unfolds' it is sometimes longer than the page... which makes the scrollbar appear.

Now: I DON'T WANT THAT.
What I want, is a script which checks if the page is getting longer than the frame. If so, I want it to display two buttons to scroll up and down in the page.

Can anyone please help me? I can't find it on the internet. I have tried some, but somehow the scripts won't work. (Maybe because I use a lot of PHP and database scripting???)

Jazz