Menu position

Gaëtan Lepargneul <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <011701c54591$0ed39950$3c3010ac@glpg>
Hi,

I have a website that is centered on the client's browser.
On this page, I have my company's logo at the top and I would like to
display the menu just below this logo.

but how to keep this menu correctly aligned when the client's browser is
resized?

Here is what I do to initialize the left position of the menu

var leftPosition = (document.body.offsetWidth-800)/2;
oCMenu.fromLeft=leftPosition

But how to refresh its position when browser is resized?
I have tried "oCMenu.resizeCheck=1 " but without any success...

Thanks for your help,

Gaet



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.