By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,726 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

mootools accordion and menu matic conflict

P: 638
hi i am making a page SEE HERE where i am using menu matic and slideshow , i need to use mootools accordion and when i try to put in this code the menu and slide show both stop working except the accordion is working fine ,
Expand|Select|Wrap|Line Numbers
  1. <script src=""></script>
  2.     <script type="text/javascript">
  3.         window.addEvent('domready', function() {
  4.         var accordion = new Accordion('h3.atStart', 'div.atStart', {
  5.                 opacity: false,
  6.                 onActive: function(toggler, element){
  7.                     toggler.setStyle('color', '#ff3300');
  8.                 },
  10.                 onBackground: function(toggler, element){
  11.                     toggler.setStyle('color', '#222');
  12.                 }
  13.             }, $('accordion'));
  14.             });        
  15.     </script>
all 3 are using mootools but i dont know why when i insert the accordion , it starts conflicting , although i a using jquery too at the same time but that never bothered ,
actually it is the file accordion.js that when included the slide show and menu matic stop working , when i say menu matic stop working i mean it does not render the menu properly if you hover the about link in the menu you will see the drop down menu opens but it is distorted and itis not giving me any errors :S which is annoying , can any boy help ,
Omer Aslam
May 18 '12 #1

✓ answered by omerbutt

solved , i used the latest version for mootools 1.2.5

Share this Question
Share on Google+
1 Reply

P: 638
solved , i used the latest version for mootools 1.2.5
Jun 7 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.