Can someone tell me what’s wrong with the following?
$(document).ready(function() {
$('.nav_menu .dropdown').css('display', 'block');
$('ul.nav').toggleclass('dropmenu');
$('.nav_menu > ul').dropmenu({
effect: 'slide',
speed: 250,
timeout: 0,
nbsp: false
});
});
Safari reports that the toggleclass is an anonymoous function, whatever that means!
thanks
I think you are missing the camel case on
toggleClass