• Hi,

    So I’m trying to implement jPanelMenu for my responsive WordPress site;

    http://www.jaeeunlee.com

    I have

    <div class="menu-trigger">click me</div>

    in my header, and

    $(document).ready(function() {
        var jPM = $.jPanelMenu({
        menu: '#menu-main-nav-menu',
        trigger: '.menu-trigger'
        jPM.on();
        });

    in my js file.

    I also set the nav ul to display:none when the browser window becomes small.

    But when I try to click “click me on the top of the window, nothing happens. My jquery version is 1.7.1.

    I’d appreciate your help!

    Best,
    Jaeeun

Viewing 1 replies (of 1 total)
  • Use WordPress’ included jQuery libraries – it is safer. But to call your functions, you must use jQuery no-conflict syntax:

    jQuery(document).ready(function($) {
    // $() will now work as an alias for jQuery() inside of this function
    }

Viewing 1 replies (of 1 total)

The topic ‘jPanelMenu Not Working’ is closed to new replies.