Friday, February 22, 2013

twitter bootstrap pop over not working with title

The best way to show this is through images, The first one, is (almost - but close enough for showing you) how I want the title displayed.

expanded WordPress admin menu

WordPress Image

How ever in the compacted version:

enter image description here

I am wondering if any one knows of any ways to remedy this? I'm not sure what code I could even show.....

The way I am creating the pop over though is through:

  jQuery('#adminmenu li.wp-not-current-submenu.wp-has-submenu, .folded #adminmenu li.wp-has-submenu').popover({     title: function() {       var title = jQuery(this).find('a.menu-top').html();       return title;     },     content: function() {       var submenu = jQuery(this).find('.wp-submenu').html();       return submenu;     },     placement: 'inside right',     trigger: 'hover'   }); 

any thoughts?

Source: http://stackoverflow.com/questions/15013591/twitter-bootstrap-pop-over-not-working-with-title

lionel richie kenny rogers avatar the last airbender david wright cory booker cubs cj wilson

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.