conkhead
El Presidente
Just Getting Started
Member Likes (0)
We are working very hard to make sure our upcoming BP site looks good and runs well on tablets; and one of the main things we're doing in that regard is removing all the "mouseover" and "hover" elements from the interface, as fingers can't do that sort of thing. (On an aside: It's kind of amazing that in this sense, technology is marching *backward*, isn't it?...)
In light of this, we've made the BuddyBar taller, to accomodate fingers. What I want to do now is change all the "onmouseover" elements of the drop-down menus to "on-click" - but I can't locate the point in the code where this happens. Does anybody know what files this might be in? My thanks in advance --

Responses (3)
Sales & Support Pro (joined March 2010) Likes (0)
Hiya!
The actual code for the buddybar is in the bp-core-buddybar.php file in the BuddyPress files.
You'll want to alter it with a custom plugin rather than editing the actually files though, otherwise you'll lose your changes in a future update.
Cheers,
Phil
Member (joined July 2011) Likes (0)
Phil: In that file (it is actually bp-core-adminbar.php) there is no reference to the mouseover functionality. I thought maybe this would be in the admin-bar.js file in the js directory on the same level; but in my install this file is blank. (Sorry: I should have mentioned that I'm using BP 1.2.10.)
Sales & Support Pro (joined March 2010) Likes (0)
Okay, first off - you need to upgrade to 1.5.1
As for the mouseover it's likely to be a jQuery listener of some sort. Your best bet for help on that would be the BP forums but you're unlikely to find help with that version of BP
Phil
Become a member