Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-28-2009, 11:38 PM   #1 (permalink)
Junior Member
 
Join Date: 09-21-07
Posts: 7
iTrader: 0 / 0%
Latest Blog:
None

cde010 is liked by many
Tabbed menu jscript help

I've been working on adding this sweeeet tabbed navigation box to my wordpress blog sidebar. The tabbed nav uses mootools. The mootools causes the main menu of the blog not to work. It a script library confilct. The mootools code is in the tabbed php file. Can anyone help?

My Blog header:

Code:
<link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/jquery.jcarousel.css" type="text/css" media="screen" /> <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/skin.css" type="text/css" media="screen" /> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/pngfix.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.lavalamp.1.3.2-min.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.jcarousel.js"></script> <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script> <script type="text/javascript"> function mycarousel_initCallback(carousel) { // Disable autoscrolling if the user clicks the prev or next button. carousel.buttonNext.bind('click', function() { carousel.startAuto(0); }); carousel.buttonPrev.bind('click', function() { carousel.startAuto(0); }); // Pause autoscrolling if the user moves with the cursor over the clip. carousel.clip.hover(function() { carousel.stopAuto(); }, function() { carousel.startAuto(); }); }; $(document).ready(function(){ // dropdown $("ul.superfish").superfish(); // featured carousel effect jQuery('#mycarousel').jcarousel({ auto: 3, scroll:1, wrap: 'last', initCallback: mycarousel_initCallback }); }); </script> </head> <body> <div id="base"> <div id="header"> <div id="page-menu" class="clearfix"> <script type="text/javascript"> $(function() { $('#nav1').lavaLamp({fx: 'swing', speed: 333,click: function(event, menuItem) {return true;}}); }); </script>
My tabbed PHP head:

Code:
<!-- TABBED BOX MOOTOOLS from http://www.cssmenubuilder.com/tutorial-files/mootools-tabs/example --> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js"></script> <script type="text/javascript"> window.addEvent('domready', function() { initTabs(); }); function initTabs() { $ES('a','tabMenu').each(function(el) { el.addEvent('click',function(e) { var ev = new Event(e).stop(); tabState(el); }); }); } function tabState(ael) { $ES('a','tabMenu').each(function(el) { if(el.hasClass('active')) { el.removeClass('active'); } }); ael.addClass('active'); $$('#tabContent div.content').each(function(el) { if(el.hasClass('active')) { el.removeClass('active'); } }); var ac = ael.getProperty('href'); $(ac).addClass('active'); } </script> <!-- END MOOTOOLS -->
cde010 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
need help with menu daraptor Web Design Lobby 1 01-07-2008 01:30 AM
Tabbed modules? - watley Coding Forum 5 05-25-2007 12:41 AM
DHTML Menu | Drop Down Menu Pen Tongue SEO Forum 4 01-06-2005 07:18 PM
DHTML Menu slide menu how to make it relative to table ajay201975 Web Design Lobby 0 05-25-2004 10:54 AM
Tabbed menu with CSS BerSerK Coding Forum 4 05-20-2004 09:06 AM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:00 AM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.