Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    rde
    rde is offline
    Junior Member
    Join Date
    Nov 2010
    Posts
    12
    Member #
    24718
    I'm working on a site that has a jquery slider up at the top of the page and then lower on the page an jquery accordian style menu. The slider was working until I put the accordian menu script in, now only the accordian script is running. I'm a novice (or worse) at using javascript. Any help would be GREATLY appreciated!

    Copied and pasted the head portion of my html because I think that's where the problem is occurring.


    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
            <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
            <title>Untitled Document</title>
            <style type="text/css">
    body {
    	background-image: url(images/bkgd_grad_3.gif);
    	background-repeat: repeat-x;
    }
    </style>
            <link href="css/layout.css" rel="stylesheet" type="text/css" />
            <link href="css/DDSlider.css" rel="stylesheet" type="text/css" />
            <link href="css/acc_style.css" rel="stylesheet" type="text/css" />
    
            <script type="text/javascript" src="js/DDslider/jquery.min.js"></script>
            
            <script type="text/javascript" src="js/DDslider/jquery.easing.1.3.js"></script>
            
            <script type="text/javascript" src="js/DDslider/jquery.DDSlider.min.js"></script>
    
            
            <script type="text/javascript">
            $(document).ready(function() {
                
                $('#yourSliderId').DDSlider({
    				trans: 'fading',
    				nextSlide: '.slider_arrow_right',
    				prevSlide: '.slider_arrow_left',
    				duration: 500,
    				waitTime: 7000, 
    				selector: '.slider_selector'
    				
    				});
                
            });
    function MM_swapImgRestore() { 
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    function MM_swapImage() { 
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
            </script>
    		
            <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
    		
    			<script type="text/javascript">
    			
    			$(document).ready(function() {
    	
    			$('.acc_container').hide();
    			$('.acc_trigger:first').addClass('active').next().show(); 
    
    			$('.acc_trigger').click(function(){
    			if( $(this).next().is(':hidden') ) {
    			$('.acc_trigger').removeClass('active').next().slideUp(); 
    			$(this).toggleClass('active').next().slideDown(); 
    			}
    			return false;
    			});
    			});
    			</script>
    
    
            </head>

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:13 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com