[Rejected] [bug]Javascript conflict
#1
Bug 
Adding javascript to headerinclude it seems to have a major inpact on editor and moderating options

I have a javascript for a dropdown menu from my old theme 



<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function($)
{
        $('#login-drop').click(function(){
                $(this).next('#login-continut').slideToggle();
                $(this).toggleClass('active');                               
                if ($(this).hasClass('active')) $(this).find('span').html('&#x25B2;')
                else $(this).find('span').html('&#x25BC;')
   })
}); 
</script> 

                 


and even if you add just 

<script type="text/javascript">
jQuery.noConflict();
</script>
Reply
#2
as jQuery is already included in MyBB 1.8 , check whether your jQ based menu works without using minified jQuery.
and there should be no need of no conflict code ..
Reply
#3
You're loading jQuery twice. Rejecting this as there is no conflict.
All my plugins are available for free at MyBB Extend and on my GitHub. MyBB-Plugins.com has been closed and none of my plugins are officially maintained or supported.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)