Forums Archive Index > SmartMenus 5 > Menu is not lining up with images.....
Date: 14 Dec 2005 5:31 pm
I need to what to in order to make the menu's line up with the images. It's severly bad and it's showing....
--> http://www.gamers.bizari.net/banners/SmartMenus5-5-2/Basic%20Example/index.html#
Date: 16 Dec 2005 3:25 pm
You have to change the position of the menus- that is set different values for top and left for the menus you need. For example, for the "Nintendo World" menu:
s_add(
{
N:'Nintendo World',// NAME
LV:1, // LEVEL (look at IMPORTANT NOTES 1 in the Manual)
MinW:130, // MINIMAL WIDTH
T:15, // TOP (look at IMPORTANT HOWTOS 6 in the Manual)
L:0, // LEFT (look at IMPORTANT HOWTOS 6 in the Manual)
P:false, // menu is PERMANENT (you can only set true if this is LEVEL 1 menu)
S:s_CSSTop // STYLE Array to use for this menu
},
[// define items {U:'url',T:'text' ...} look at the Manual for details
{U:'http://www.google.com/',T:'Final Fantasy 1'},
{U:'http://www.altavista.com/',T:'Final Fantasy 2(J)'},
{U:'http://www.search.com/',T:'Final Fantasy 3 (J)'},
{U:'http://www.lycos.com/',T:'Final Fantasy 4'},
{U:'http://www.hotbot.com/',T:'Final Fantasy 5 (J)'}
]
);
Adjust the values in red and the menu will change its position on the page. The values are measured from the top left corner of the page.