View Full Version : mm_menu 20MAR2002 Version 6.0 - Need help with positioning
kwilson
12-14-2004, 09:09 PM
Here is a link to the menu that I need help with (run the mouse over the left nav bar): http://www.skin-one.com/testpage.html
I need to figure out how to position it relatively. Anyone have any ideas?
Any help at all is appreciated!!
Thanks,
Kelly
goggayya
07-21-2006, 07:12 PM
in the script there is a function by name
------------------------------------------------------------------
function MM_showMenu(menu, x, y, child, imgname) {
if (!window.mmWroteMenu) return;
MM_clearTimeout();
if (menu) {
var obj = FIND(imgname) || document.images[imgname] || document.links[imgname] || document.anchors[imgname];
x = moveXbySlicePos (x, obj);
y = moveYbySlicePos (y, obj);
-------------------------------------------------------------------
If you want to move menu towards left then just put x = x - 10 where 10 is the pixel
x = x - 10
x = moveXbySlicePos (x, obj);
towards right
x = x + 10
x = moveXbySlicePos (x, obj);
If you want to move menu towards top then just put y = y - 10 where 10 is the pixel
y = y - 10
y = moveYbySlicePos (y, obj);
towards bottom
y = y + 10
y = moveYbySlicePos (y, obj);
---------------------------------------------------------------
this is the way i have done and is working very fine.
ddadmin
07-21-2006, 08:47 PM
Hi:
Please be sure to post in the correct category and format in the future. If this isn't a DD script, it should be posted in the JavaScript category.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.