• Resolved ronr1999

    (@ronr1999)


    I’m getting error:

    $x(“.enhance_shortcode_menu_inline, .enhance_shortcode_menu_inline_list”).each(function() {
    var id = this.id;
    menu_superfish(id);
    if($x(“#”+id).find(“.sub-menu”))
    {

    //$x($x(“#”+id+” li .sub-menu”)).each(function(index,element){
    // var max = $x(this).parent().children(“a”).width();
    $x(this).css(“left”,max+10);
    Uncaught ReferenceError: max is not defined
    //});

    $x($x(“#”+id+” li .sub-menu .sub-menu”)).each(function(index,element){
    $x(this).css(“left”,”100%”);
    });
    }
    });

    http://wordpress.org/plugins/shortcode-menu/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Uncaught ReferenceError’ is closed to new replies.