View Full Version : Jim's DHTML Menu. screen resolution problem

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.

04-03-2006, 10:48 PM
seems like a long while without someone helping, so if it is still revalant to your issues, i got mine to do so by wrapping it in a div tag that forced it to align to center no matter what