Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-26-2008, 09:17 PM   PM User | #1
joey,choey
New Coder

 
Join Date: Jul 2008
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
joey,choey is an unknown quantity at this point
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..
joey,choey is offline   Reply With Quote
Old 08-27-2008, 07:27 AM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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.
Philip M is offline   Reply With Quote
Old 08-27-2008, 09:58 AM   PM User | #3
joey,choey
New Coder

 
Join Date: Jul 2008
Posts: 48
Thanks: 1
Thanked 0 Times in 0 Posts
joey,choey is an unknown quantity at this point
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.
joey,choey is offline   Reply With Quote
Reply

Bookmarks

Tags
mootools

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:45 PM.


Advertisement
Log in to turn off these ads.