We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17705
    • 501 Posts
    Hi!

    Im having jquery conflicts issues... anyone knows hot to addapt this code to noConflict mode?
    So the user will be able to watch the menu effects when editing or logged in...?

      <script type="text/javascript">
    	$(document).ready(
    		function()
    		{
    			$('#dock').Fisheye(
    				{
    					maxWidth: 100,
    					items: 'a',
    					itemsText: 'span',
    					container: '.dock-container',
    					itemWidth: 40,
    					proximity: 90,
    					halign : 'center'
    				}
    			)
    		}
    	);
      </script>


    best regards!
    luciano

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      If you are using jquery menus or any other jquery that will appear on most if not all pages, it’s usually best to configure QuickManager to NOT load jquery in the front-end, and have the jquery library loaded manually in your template’s head. QM has so far been perfectly happy to run using every updated version of the main jquery library.

      QM configuration can be found in Elements->Manage Elements, the Plugins tab. Select the QuickManger plugin, then its Configuration tab. There is a field for loading JQuery in the front-end; select false.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 17705
        • 501 Posts
        Thanks a lot Sus!
        I did not rember where to change that, so I searched it... found this http://designfromwithin.com/113/using-jquery-in-combination-with-the-modx-quickmanager-avoid-conflicts/

        Sottwell victory!