browser not maximized positioning problem
browser not maximized positioning problem
http://www.rotman-baycrest.on.ca/web_te ... e/home.htm
with the browser not maximized, the menu extends beyond the page
i think i have to place the menu in a cell, but am uncertain how to do that
any help is appreciated
thanks
with the browser not maximized, the menu extends beyond the page
i think i have to place the menu in a cell, but am uncertain how to do that
any help is appreciated
thanks
Yes place it in a cell and change its positioning to relative to it stays in there. Then if its right justtified in the cell and the cell is set to a percentage (so it moves with the edge of the page) then menu will follow. I'm pretty sure it will work...havent tried it though.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
You change the position in the menu_array file to relative, dont touch mmenu! That is a source code for the menu that doesnt require any tweaking. In the menu_array file there should be a place thats commented that tells you about position and gives you the options of aabsolute or relative. It would be declared towards the beginning of your first menu, a couple commas in. And make sure its alwaysvisible attribute is 0. Then inside of the td in your page, put
<SCRIPT>
PlaceMenu('yourmenuname');
</SCRIPT>
in it.
<SCRIPT>
PlaceMenu('yourmenuname');
</SCRIPT>
in it.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."
there is no reference to relative/absolute positioning in my menu_array file, this is what I have for the style array and the main menu
timegap=500 // The time delay for menus to remain visible
followspeed=5 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10; // Sub menu offset Top position
suboffset_left=100; // Sub menu offset Left position
style1=[
"003366", // Mouse Off Font Color
"ffffff", // Mouse Off Background Color
"009933", // Mouse On Font Color
"ffffff", // Mouse On Background Color
"009933", // Menu Border Color
11, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Arial", // Font Name
4, // Menu Item Padding
"", // Sub Menu Image
, // 3D Border & Separator bar
"", // 3D High Color
"", // 3D Low Color
"003366", // Current Page Item Font Color
"white", // Current Page Item Background Color
"", // Top Bar image
"", // Menu Header Font Color
"red", // Menu Header Background Color
]
addmenu(menu=[
"mainmenu", // Menu Name -
32, // Menu Top - The Top position of the menu in pixels
459, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
0, // Menu Border Width
, // Screen Position -
style1, // Properties Array - this is set higher up, as above
1, // Always Visible
"left", // Alignment -
effect, // Filter -
, // Follow Scrolling -
1, // Horizontal Menu
0, // Keep Alive -
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu
, // Right To Left - Used in Hebrew for example.
, // Open the Menus OnClick -
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
timegap=500 // The time delay for menus to remain visible
followspeed=5 // Follow Scrolling speed
followrate=40 // Follow Scrolling Rate
suboffset_top=10; // Sub menu offset Top position
suboffset_left=100; // Sub menu offset Left position
style1=[
"003366", // Mouse Off Font Color
"ffffff", // Mouse Off Background Color
"009933", // Mouse On Font Color
"ffffff", // Mouse On Background Color
"009933", // Menu Border Color
11, // Font Size in pixels
"normal", // Font Style (italic or normal)
"bold", // Font Weight (bold or normal)
"Verdana, Arial", // Font Name
4, // Menu Item Padding
"", // Sub Menu Image
, // 3D Border & Separator bar
"", // 3D High Color
"", // 3D Low Color
"003366", // Current Page Item Font Color
"white", // Current Page Item Background Color
"", // Top Bar image
"", // Menu Header Font Color
"red", // Menu Header Background Color
]
addmenu(menu=[
"mainmenu", // Menu Name -
32, // Menu Top - The Top position of the menu in pixels
459, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
0, // Menu Border Width
, // Screen Position -
style1, // Properties Array - this is set higher up, as above
1, // Always Visible
"left", // Alignment -
effect, // Filter -
, // Follow Scrolling -
1, // Horizontal Menu
0, // Keep Alive -
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu
, // Right To Left - Used in Hebrew for example.
, // Open the Menus OnClick -
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
Ok sorry I was at school when I sent that so I could not look at any code. I apologize for the incorrect answer. The Screen position attribute can be used to influence the direction of the menu, either left, middle, right, you get the picture. Now to get a menu to position itself relatively, you remove the top and left values (clear them) and set the alwaysvisible attribute to nothing or 0, and then in the td tags, like I said, you put the placemenu call. Try that.
Also search for 'relative' and 'position' in the version 3 forum and there are alot of posts regarding this. Go back a couple months though.
Also search for 'relative' and 'position' in the version 3 forum and there are alot of posts regarding this. Go back a couple months though.
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."