Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    48
    Thanks
    1
    Thanked 0 Times in 0 Posts

    MooTools MouseEnter Assistance

    I just downloaded the mootools mouseenter script and its suppose to be a hover/menu effect where you hover mouse over the menu and it opens up with bounceinOut Effects.

    And i tried to apply it in multiples--meaning i tried to make multiple MouseEnter Menus on the same page.

    But i cant seem to get it to work.

    Can any one help me out on how i can make multiple MouseEnter Menus?

    [ill post the script if anyone helps me or needs to understand what i need]
    Last edited by joey,choey; 08-26-2008 at 09:22 PM.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,151
    Thanks
    203
    Thanked 2,547 Times in 2,525 Posts
    You cannot have multiple scripts (or multiple copies of the same script) on the same page which have the same function and/or variable names, as the seciond simply over-writes the first.

    The only solution is to rename all the functions and variables in the second (and subsequent) scripts with some sort of prefix or suffix, e.g. functionName1, functionName2, variableName1, variable name2 etc.


    We have been asked to correct our report on the wedding last week. On return from honeymoon the happy couple will be staying at The Old Manse and not as we stated at the home of the bridegroom's father.

  • #3
    New Coder
    Join Date
    Jul 2008
    Posts
    48
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Yes i already know that but everytime i try it, the whole code doesnt work.
    Im not particularly knowledgeable on scripts.

    All i know is the basics such as duration and the id's, etc.

    Would there be any other method into doing this?

    Because i have a link image hover effect over the MouseEnter Menu, the site is not yet published so i cant show you exactly what im talking about.

    But what i was trying to accomplish was when you hover mouse over the link/image hover, it would pop down with the MouseEnter Menu instead of having to actually click the link and have it direct you to another part of the site.


  •  

    Tags for this Thread

    Posting Permissions

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