Results 1 to 2 of 2

Thread: Need quick help

  1. #1
    Join Date
    May 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need quick help

    1) Script Title: DDMEGAMENU

    2) Script URL (on DD):

    3) Describe problem:

    Hi All,
    I'm actually facing a critical problem with my PHP page.

    Here is my page header section.

    HTML 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>Pentas Marketing</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    <!--
    function MM_swapImgRestore() { //v3.0
      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_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      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>
    
    <!--New galley Code Starts Here-->
    
    <!--drop down menu start-->
    <link rel="stylesheet" type="text/css" href="css/ddmegamenu.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
    <script src="js/ddmegamenu.js">
    /***********************************************
    * DD Mega Menu (c) Dynamic Drive (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    
    <script>
    ddmegamenu.docinit({
    	menuid:'solidmenu',
    	dur:200 //<--no comma after last setting
    })
    
    ddmegamenu.docinit({
    	menuid:'megaanchorlink',
    	dur:500,
    	easing:'easeInOutCirc' //<--no comma after last setting
    })
    
    </script>
    
    <!--drop down menu end-->
    
    
    
    <!-- JavaScripts-->
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="s3Slider.js"></script>
    <script type="text/javascript">
        $(document).ready(function() {
           $('#slider1').s3Slider({
      timeOut: 4000 
     });
     });
    </script>
    
    <!-- CSS -->
    <style type="text/css" media="screen">
    #slider1 {
    	width: 959px; /* important to be same as image width */
    	height: 367px; /* important */
        overflow: hidden;
        margin: 0px;
    	padding: 0px;
        float: left;
    }
    #slider1Content {
    	width: 959px;
    	top: 0px;
    	left: 0px;
    	margin: 0;
    	padding: 0px;
    	float: left;
    }
    .slider1Image {
        float: left;
        position: relative;
    	display: none;
    }
    .slider1Image span {
    	position: relative;
    	font: 10px/15px Arial, Helvetica, sans-serif;
        padding: 10px 13px;
    	width: 959px;
    	background-color: transparent;
    	filter: alpha(opacity = 70);
    	-moz-opacity: 0.7;
    	-khtml-opacity: 0.7;
    	opacity: 0.7;
    	color: #fff;
    	display: none;
    }
    .clear {
    	clear: both;
    }
    .slider1Image span strong {
        font-size: 14px;
    }
    .left {
    	top: 0;
    	left: 0;
    	height: auto;
    }
    .right {
        right: 0;
    	bottom: 0;
    	width: 1px !important;
    	height: auto;
    }
    ul {
    	list-style-type: none;
    	margin: 0px;
    	padding: 0px;
    }
    </style>
    After putting all code, I checked that, Galley Image and Navigation code does not works altogather.

    I think they need JQUARY NO CONFLICT CODE.

    But what will be exact code? Please write down and help me out from here.

    I hope I will get possible wayout from this forum.


    Regards
    Sudipta

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post, in this case, http://www.dynamicdrive.com/dynamici...ddmegamenu.htm. See this thread for the proper posting format when asking a question.

    Actually, it's possible the noConflict() line inside DD Mega Menu is what's causing the problem with the other script. Inside ddmegamenu.js, try commenting out the below line:

    Code:
    //jQuery.noConflict()
    DD Admin

Bookmarks

Posting Permissions

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