Menu position

"Gaet" <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <01b601c541cb$fc5e1d40$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: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
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.