iDonline
Newbie
Posts: 1
Registered: 1/26/2004
Member Is Offline
|
| posted on 1/27/2004 at 02:10 AM |
|
|
Floating menu problem
I have added your amazing menu to a website I have created, but I am runnng into one problem. I need to place it permanently in one area of the
browser window. Even though the window size may vary from system to system, it seems to float around on the screen, how do I set it in one place
permanently?
|
|
|
turcanu
Junior Member
Posts: 6
Registered: 1/26/2004
Member Is Offline
|
| posted on 1/27/2004 at 12:17 PM |
|
|
just change these in menu_tpl.js
/* --- geometry and timing of the menu --- */
var MENU_POS = new Array();
// item sizes for different levels of menu
MENU_POS['height'] = [22, 22, 22];
MENU_POS['width'] = [154, 170, 170];
// menu block offset from the origin:
// for root level origin is upper left corner of the page
// for other levels origin is upper left corner of parent item
MENU_POS['block_top'] = [182, 0, 0];
MENU_POS['block_left'] = [10, 150, 150];
// offsets between items of the same level
MENU_POS['top'] = [23, 23, 23];
MENU_POS['left'] = [0, 0, 0];
// time in milliseconds before menu is hidden after cursor has gone out
// of any items
MENU_POS['hide_delay'] = [200, 200, 200];
|
|
|
|