With a few additional elements in the markup, it's easy to add icons to jQuery UI menu widgets. We simply place spans to the left of the menu item text. We also have to add the relevant icon classes from the theme framework. That's the easy part. However, since we're manually changing the way the widget is rendered, there's no guarantee that it'll look how it's supposed to. And in fact, there is a minor issue with the icon placement — they're slightly too high.
Showing posts with label alignment. Show all posts
Showing posts with label alignment. Show all posts
Wednesday, October 23, 2013
Subscribe to:
Posts
(
Atom
)