Jump to content

javascript drop down menu in safari


jennift

Recommended Posts

I have a first level drop menu which slides down when rollover on an item and then a second level drop menu which slides to the right when rollover on the first level drop down.It works on all browsers except for safari. On safari, the 2nd lvl menu slides out but it overlaps on top of the 1st level menu causing users to not able to see the 1st lvl menu.Can someone explain why this happens?Thanks

Link to comment
Share on other sites

heres the code with the links:if (TransMenu.isSupported()) {var ms = new TransMenuSet(TransMenu.direction.down, 15, 0, TransMenu.reference.bottomLeft);var menu2 = ms.addMenu(document.getElementById("inside")); menu2.addItem("Corporate Profile", "/corporate_profile/index.php"); var submenu0 = menu2.addMenu(menu2.items[0]); submenu0.addItem("Mission & Vision"," /corporate_profile/mission_vision.php"); submenu0.addItem("Chairman's Message","/corporate_profile/chairman.php"); submenu0.addItem("Board of Directors","/corporate_profile/bod.php"); TransMenu.renderAll(); }just a quick question: isnt it the underlying js - which indicates how many pixels to the right should the 2nd menu move when rollover - the one we should look at?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...