View Full Version : Need quick help

05-01-2012, 06:30 PM
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.

<!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">
<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];}

<!--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.

dur:200 //<--no comma after last setting

easing:'easeInOutCirc' //<--no comma after last setting


<!--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() {
timeOut: 4000

<!-- 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;

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.


05-02-2012, 12:56 AM
Warning: Please include a link to the DD script in question in your post, in this case, http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) 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: