Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:41

How to place menu x_pixels off Center


Poster: roy __at__ ecohauling.com
Dated: Friday April 26 2002 - 17:45:34 BST

I know I read how do this somewhere, but can't find it again
I want to position the left edge of the menu 390 pixels from the center
I've tried this, but no luck

addmenu(menu=[
"mainmenu",
130,
-390,
120,
0,
"center",
style1,
1,
"left",
effect,
,,,,,,,,,,

Thanks for any help

Re: How to place menu x_pixels off Center


Poster: roy __at__ ecohauling.com
Dated: Saturday April 27 2002 - 15:35:56 BST

I finally found the answer in the html file that comes with the zip file you download for the script.
Replacing -390 with "offset=-330" does the trick.
This does what I had hoped for with resolutions 800 and greater, but fails with 640.
Since the offset is based on the center of the menu only half of the menu showes at 640 res.
I'm trying to lay out a site like this
<!--
<div align="center">
<table width="780">
Page content
</table>
</div>
-->
Anybody have any ideas on a work around