Results 1 to 3 of 3

Thread: mm_menu 20MAR2002 Version 6.0 - Need help with positioning

  1. #1
    Join Date
    Sep 2004
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default mm_menu 20MAR2002 Version 6.0 - Need help with positioning

    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

  2. #2
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    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.

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •