View Full Version : Smoothmenu Submenu shifting to the right

08-30-2010, 06:48 PM
1) Script Title:
Smooth Navigational Menu (v1.4)
2) Script URL (on DD):
3) Describe problem:

Here's what's happening. I've installed the menu without any problems. It works great. But on the sub menu's it jacks it to the right for each submenu. I took the shadow off- but it still is showing a blank white spot as it shifts between submenus.

I tried removing the padding right as suggested in a previous post but it didn't work. Here's the code I used:

var ddsmoothmenu={

//Specify full URL to down and right arrow images (23 is padding-right added to top level LIs with drop downs):
arrowimages: {down:['downarrowclass', 'http://www.celebratesf.org/core/images/down.gif', 0], right:['rightarrowclass', 'http://www.celebratesf.org/core/images/right.gif']},
transition: {overtime:300, outtime:300}, //duration of slide in/ out animation, in milliseconds
shadow: {enable:true, offsetx:5, offsety:5}, //enable shadow?
showhidedelay: {showdelay: 100, hidedelay: 200}, //set delay in milliseconds before sub menus appear and disappear, respectively

but it still doesn't work.

Here's a sample link:




08-30-2010, 09:07 PM
Totally resolved it. I had unintentionally set my ui to move to the right 30px. that would explain why it was shifting.

08-30-2010, 09:09 PM
in the primary.css line 73, try to change the margin-left to padding-left instead

li {

Edit: Ok sorry, I see you have it already.