I want to be able to have all of the submenus start at the top of the HTML menu.
Return to Recent Questions
Q:
I want to be able to have all of the submenus start at the top of
the menu. For example, when I hover across each of my menu items in
a vertical level, I want the sublevel menu to start at the very top
of the menu, not out beside the menu option. How can I achieve this
A:
You can have such effect only for the first subitems.
Others subitems will have Y offset.
Please, see the attached example.
You should adjust the following parameters:
var topDX=-116;
var topDY=-31;
var DX=-148;
var DY=-32;
Return to Recent Questions
|