View Full Version : Spry Slide Effect for menu

05-22-2009, 03:27 AM

I'm building a website for which my client requires drop down menus- but he wants to emulate another website where the menus don't just appear, but they slide down and slide back up again.

The site he wants to copy is businessworks.com.au

First, I tried to get this working using the same code they used which works fine on my my mac, but on PCs it the menus drop down behind the flash element on the page,

See: rokatdesign.com.au/clients/itworld

So I thought I would invetigate Spry. It seems fairly straightforward (for someone who know pretty much nothing about javascript, ie: me) but I just can't seem to get the thing to work.

Have a look at: rokatdesign.com.au/clients/itworld/test.html

It seems to work to begin with, but it breaks if you try to use it for a bit, or go over it too quick, etc. Also I can't figure out how to make the menu remain when you roll over that, as once you roll off the button, it slides away again- as it is meant to. I obviously want the menu to remain when you roll on to that and slide away when you roll off.

Any thoughts or help would be greatly appreciated,

Kind Regards,