arielsalminen / TinyNav.js

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

shows the current page #64

Closed giandeiguidi closed 10 years ago

giandeiguidi commented 10 years ago

Hi, I hope you can help, I’ve followed the instructions so that the menu shows the current page Here is the hook for the plugin: $(function () { $(".side-nav ul").tinyNav({ active: 'selected', // String: Set the "active" class }); });

Here’s the html:

The result I’m getting is it’s displaying the following page link, and not the current one, so I’m getting for example “Sassi nello stagno” instead of “poeti.com”. I don’t understand where I’m going wrong, Many thanks

arielsalminen commented 10 years ago

Please post your support request to Stack Overflow instead. GitHub issues is only meant for bug reports and new features, thank you!