arielsalminen / TinyNav.js

Responsive navigation plugin that weighs just 443 bytes
http://tinynav.viljamis.com/
635 stars 207 forks source link

Object TinyNav has no method #62

Closed MattMcFarland closed 10 years ago

MattMcFarland commented 10 years ago

Hi there,

I followed the easy instructions and it appears to be working (can see items in the DOM via inspector, but it is not visible)

Code is as follows: (please ignore the body-inner stuff that is for something else but wanted to show full code so there is no surprises)

    jQuery(document).ready(function($) {
       $('#body-inner').css({maxHeight:$(window).height()-100})
       $('#body-inner').focus();
        $(window).on('resize',function(){
            $('#body-inner').css({maxHeight:$(window).height()-100})
        });
        $(function (S) {
            S("#menu-top-categories-2").tinyNav({
                active: 'selected', // String: Set the "active" class
                header: 'Navigation', // String: Specify text for "header" and show header instead of the active item
                label: '' // String: Sets the <label> text for the <select> (if not set, no label will be added)
            });
        });

    });
arielsalminen commented 10 years ago

Please post your support request to Stack Overflow instead, there you’ll much more likely get a fast answer. :-) GitHub issues is only meant for bug reports and new features, thank you!