Forums Archive Index > SmartMenus 5 > Horizontal menu goes up in stead of down.

Author: gijsbert

Date: 3 Feb 2005 1:50 pm

It seems that if T: in s_add is over a certain value the menu automatically opens bottom to top in stead of top to bottom. My english isn't that well, but you might take a look at:

--> http://www.sitebytes.nl

On the mainpage, the menu opens bottom to top. On all other pages, the menu opens correctly from top to bottom.

Any idea?


Author: smartmenus

Date: 4 Feb 2005 5:14 am

Hi,

On --> http://www.sitebytes.nl all first-level menus have absolute position set. And there is no other trick used to make them pop bottom-to-top on the home page and top-to-bottom on all other pages- the guys have simply positioned their menus where they like on the page by using absolute positioning.

Thanks!


Author: gijsbert
Subject: But why?

Date: 4 Feb 2005 7:40 am

Hello smartmenus,

I'm the one creating the menus. I know all positions on the page are done by using absolute positioning.

I'm only wondering why the menu on the mainpage goes bottom-to-top and on all other pages top-to-bottom, because I didn't change anything in the array config, except the vertical position.


Author: smartmenus

Date: 4 Feb 2005 11:56 am

gijsbert wrote:
I'm the one creating the menus.I'm sorry, I thought someone else had seen your site and was asking.. :oops:

Anyway, the menus look as if they unfold bottom-to-top on your main page because you have simply set their vertical position this way. If you set, for instance, T:401 for all first-level menus in --> http://www.sitebytes.nl/js/home_arrays.js , they will look as if they unfold top-to-bottom as on all other pages.

I hope this is what you are asking although I am not very sure. Please try to explain better what you mean if this is not it. Thanks!