-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to add custom attributes to the links in a menu? #288
Comments
Sorry, there is currently no way to do so. This would be feature request. If you're using jQuery 1.10 you should give the new, official jQuery UI Selectmenu (not official released yet): #140 |
Hi dmcgrew, |
@demonslord thanks for the example. Its very close to what I'm looking for. However, I'd like to pull the |
Can I ask what you're trying to achieve? Isotope filtering? |
Yep! I almost have it working but one thing I've been struggling with is that I have 2 menus for filtering and I need one to reset when I click on the other. |
Something like this I guess: http://www.taxofit.de/produkte.html |
Hi, |
Just use the change event! Use the change callback and reset the Selectmenus by using the index method. |
Alright, I think I'm really close on this now. Thanks both of you for all your help. Only issue I'm having now is that clicking on a link within the dropdown appears to do nothing. Is there some a
|
I have it working perfectly now. :) Just need to move that |
So this issue could be closed? |
I was wondering if there is a way to add an attribute to the links within a menu. If so how would I go about doing this?
This is the HTML the plugin creates:
I'd like to add an attribute to the
a
for example:The text was updated successfully, but these errors were encountered: