How to place menu x_pixels off Center

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
roy@ecohauling.com
Beginner
Beginner
Posts: 9
Joined: Sun May 19, 2002 7:24 pm

How to place menu x_pixels off Center

Post by roy@ecohauling.com »

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
roy@ecohauling.com
Beginner
Beginner
Posts: 9
Joined: Sun May 19, 2002 7:24 pm

Re: How to place menu x_pixels off Center

Post by roy@ecohauling.com »

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
Post Reply