arielsalminen / TinyNav.js

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

Blacklist / whitelist of html tags & classes? #58

Open caschbre opened 10 years ago

caschbre commented 10 years ago

So far tinynav has been great to use (and still is!). I recently came across a scenario that I was wondering how I might tackle.

I have an unordered list of links. Inside of link tag there is a some hidden text to help with accessibility. In the drop-down generated by tinynav I'd like to keep that nested class out. The isn't showing but the text is. That's making the drop-down values rather long.

Any ideas?