CaLiBreTTo
10-03-2005, 10:46 PM
firstly it was working really cool. but then I realized something that is about screen options(resolution).
I mean I used this menu on 1280x1024 and saved my work. then I opened it 1024x768 and it was not at the right place on the screen. I couldnt find how to make it on center of row. can you please help me about it? I will be so glad if you help me.
here is the main menu codes.
function init()
{
//Main Menu items:
menus[0] = new menu(20, "horizontal", 114, 106, -2, -2, "#cccccc", "#E2C6A9", "Verdana,Helvetica", 9,
"bold", "bold", "black", "white", 1, "gray", 2, "rollover:images/tri-down1.gif:images/tri-down2.gif,", false, true, true, true, 12, true, 4, 4, "black");
how can I make the main menu center of row?
ps: when I type ,"center", between of codes, its not working.
I mean I used this menu on 1280x1024 and saved my work. then I opened it 1024x768 and it was not at the right place on the screen. I couldnt find how to make it on center of row. can you please help me about it? I will be so glad if you help me.
here is the main menu codes.
function init()
{
//Main Menu items:
menus[0] = new menu(20, "horizontal", 114, 106, -2, -2, "#cccccc", "#E2C6A9", "Verdana,Helvetica", 9,
"bold", "bold", "black", "white", 1, "gray", 2, "rollover:images/tri-down1.gif:images/tri-down2.gif,", false, true, true, true, 12, true, 4, 4, "black");
how can I make the main menu center of row?
ps: when I type ,"center", between of codes, its not working.