xsyam
08-23-2013, 05:44 PM
1) Script Title: DD Mega Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm
3) Describe problem: Like the post title, i add accordion on my page that have ddmegamenu script. the menu working well but not the accordion, but when i disable ddmegamenu the accordion works.
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddmegamenu.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(e){
ddmegamenu.docinit({
menuid:'solidmenu',
dur:500,
easing:'easeInOutCirc' //<--no comma after last setting
})
});
</script>
<script>
jQuery(document).ready(function(){
$('.head').click(function(e){
e.preventDefault();
$(this).closest('li').find('.contentacc').slideToggle();
});
});
</script>
i have tried jQuery.noConflict(); still not work.
Please help.
Thanks in advance.
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddmegamenu.htm
3) Describe problem: Like the post title, i add accordion on my page that have ddmegamenu script. the menu working well but not the accordion, but when i disable ddmegamenu the accordion works.
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/ddmegamenu.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(e){
ddmegamenu.docinit({
menuid:'solidmenu',
dur:500,
easing:'easeInOutCirc' //<--no comma after last setting
})
});
</script>
<script>
jQuery(document).ready(function(){
$('.head').click(function(e){
e.preventDefault();
$(this).closest('li').find('.contentacc').slideToggle();
});
});
</script>
i have tried jQuery.noConflict(); still not work.
Please help.
Thanks in advance.