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

    I would like to use lava lamp jquery menu for my project: http://www.gmarwaha.com/blog/category/client-side/jquery/
    I`ve dowloaded the demo and almost copy and paste it, but somehow it doesn`t work on MODx.

    here is my template:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title>Lava Lamp</title>
    <base href="[(site_url)]"></base>
    <link rel="stylesheet" href="assets/templates/test/lava.css" type="text/css" media="screen">
    <script type="text/javascript" src="assets/js/jquery-1.1.3.1.min.js"></script>
    <script type="text/javascript" src="assets/js/jquery.easing.min.js"></script>
    <script type="text/javascript" src="assets/js/jquery.lavalamp.min.js"></script>
    <script type="text/javascript">
    $(function() {
    $("#1, #2, #3").lavaLamp({
    fx: "backout",
    speed: 700,
    click: function(event, menuItem) {
    return false;
    }
    });
    });
    </script>
    </head>

    <body>

    <h3>With Image</h3>
    <ul class="lavaLampWithImage" id="1">
    <li><a href="#">Home</a></li>
    <li><a href="#">Plant a tree</a></li>
    <li><a href="#">Travel</a></li>
    <li><a href="#">Ride an elephant</a></li>
    </ul>



    </body></html>

    I`m using 1.0.4 Evolution, Can someone tell me where i make mistake huh



      • 9995
      • 1,613 Posts
      fourroses666 Reply #2, 16 years ago
      i tested it, it’s working when ur not logged in. must be js conflict.
      u can set front-end js off into the manager somewhere and it’s fixed or run somekind of js no conflict line.
        Evolution user, I like the back-end speed and simplicity smiley
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        Try adjusting the configuration of the QuickManger plugin; Elements -> Manage Elements, the Plugins tab. Select QuickManager, and open its Configuration tab. There are options for loading/not loading jquery in the front-end. Try turning it off.
          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
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Try adjusting the configuration of the QuickManger plugin; Elements -> Manage Elements, the Plugins tab. Select QuickManager, and open its Configuration tab. There are options for loading/not loading jquery in the front-end. Try turning it off, or having load in no-conflict mode. Your menu uses a very old version of the jQuery library.

          QM loads 1.3.2, but works well with 1.4.2. I doubt it will work with 1.1.3.1; you might have to disable the QM plugin.
            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
            • 16360
            • 15 Posts
            Thanks a lot - it helped smiley. It is not the first time when QuickManager messing things up.