Hi,

I'm new to javascript, and i'm having a problem. I want a button, which functions as a toggle, but also as a mouseover. When you click, under the button, a div opens with text. And when you mouse over, a shadow appears behind the button.

I have two pieces of javascript, but i want both in my button. Can anybody help me?

In this javascript, you see two buttons, the left, has the perfect mouseover. The right has the perfect toggle.
The right button now only needs the mouseover function when clicked. When the toggle is opened, the mouseover doesn't work any more.

http://www.klaaghulp.nl/Naamloos-3.html