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

meteor showers 2012 ufc 145 jones vs evans marian hossa philip humber red sox white sox

No comments:

Post a Comment

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