changing position of the submenus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
smurfke666
Beginner
Beginner
Posts: 6
Joined: Fri Nov 04, 2005 3:46 pm

changing position of the submenus

Post by smurfke666 »

I kinda have the feeling this question is asked before :)
don't shoot me, I just couldn't find the right topic :)

The problem is: the submenus cover the bottom part of my topmenu (horizontal)
where can I find the variable for changing the distance between the top- and the submenu?

Screenshot:
Image

See what I mean? The underline of the menu is covered with the submenu...

I'd appreciate your help :)

Milonic Rulez :D !
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I think that with horizontal menus the subs are positioned automatically and the subOffsetTop doesn't do anything. In the submenu itself you can try using top="offset=x"; where x is the number of pixels needed to shift it down.

If you have a link to the page it would be helpful to make sure that it's not something else that is causing that. The submenu should drop right below and not cover the menu. Are you using overfilters and is that image from a IE browser? Some of the overfilter filters will cause that type of behaviour.

Ruth
smurfke666
Beginner
Beginner
Posts: 6
Joined: Fri Nov 04, 2005 3:46 pm

Post by smurfke666 »

The image is indeed from an IE browser, but I've checked it in Firefox, and it's just the same. I haven't used overfilters, so that can't cause this.

I think this is just something you can't change...

Anyway, thanks for the reply :)

Oh yes: link to the page: http://users.pandora.be/davy_hoskens/lg/
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Actually, it is adjustable. Thanks for the link, that helps. You are using popup and images to open and position the menu. You can specify the offsets and you can even set up an opening delay.

popup('activiteiten','activiteitenmenu',x px, y px); where x and y are the number of pixels you want to shift it down and left/right respectively. You'd use negative numbers to shift the menu left and up, and positive to shift it down and right.

http://milonic.com/menu_methods.php

The popup information is down at the bottom of this page.

Ruth
smurfke666
Beginner
Beginner
Posts: 6
Joined: Fri Nov 04, 2005 3:46 pm

Post by smurfke666 »

Thanks :P

never looked in the basic document, I thought I had to find it in the .js files :P

Again, THANKS :D
Post Reply