I need help from some Javascript guru. I am working on a website where i put a navigational bar.


I got this bar from dynamicdrive .com. This bar position can be defined by left, and top margins using pixels

addmenu(menu=[ // This is the array that contains your menu properties
"mainmenu", //Menu Name
140, // Menu Top position in pixels-
525, //Menu Left position in pixels
, //Menu Width -
1, // Menu Border Width

Problem is since the poistion of the bar is fixed, when the resolution changes, bar remains at the same place and everthing else moves and bar aligement get distorted. i don't know how to fix this problem. Your help will be greatly appreciated.