If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Omnislide Onclick Events for Sliding In and Out?

First of all, great script! I am trying to get Omnislide to slide in and out with onclick events instead of mouseover & mouseout events. I found some code on the Dynamic-FX menu that jscheuer1 posted in order to make it possible with that menu:

The above code worked great in the Dynamic-FX menu. It only opens and closes when it is clicked. I tried something similar to this code in the Omnislide's mmenu.js file around Line 278 where it has the following:

It seems like I get ONE onclick event (i.e. onclick="movein(this)) to work which slides the menu out, but the second onclick event doesn't trigger and the menu is "stuck" open. Even when I create a function with if statements like the Dynamic-Fx example above. Thanks so much in advance for your help!

Thanks!

John,

I racked my brain all lastnite trying to get this to work when I probably should have written you sooner! I guess I try so hard to figure things out first, before bugging anyone else. Anyway, works like a charm now! I can't thank you enough. I've read many of your posts on here and you are like a javascript God in my book! Thanks again!