Idea: When hovering over Medal, display Ribbon info box. - Better Battlelog Forums #1914

Sitemap
Topicstarter
A simple idea.

When browsing medals and ribbons, it would be nifty if the ribbon information popped up as well as the Medal info.

Less mouse movement in awards tab = more efficient browsing.

That is all.

Thank you.
I like this idea. It's a really small feature but it does help quite a bit.
i like it too =)
Topicstarter
Awesome! Does this mean we may see this feature soon?
maybe, we will see what brain thinks about it.
Topicstarter
Well regardless of the outcome, better battlelog has been a great addon to my battlefield experience. Thanks, Brian!
I liked the idea so I put together a User JS to do it. This just pulls the info directly from the ribbons and appends to the medals. The reverse is possible too, and of course the formatting can be changed, but as a proof of concept and/or starting point this works well.

var readyStateCheckInterval = setInterval(function() {
if (document.readyState === "complete") {
init();
clearInterval(readyStateCheckInterval);
}
}, 10);

function init() {
var medals = document.getElementsByClassName("profile-stats-awards-progression-item-medal");
var ribbons = document.getElementsByClassName("profile-stats-awards-progression-item-ribbon");
for (var i = 0; i " + ribbonInfo);
break;
}
}
}
};
Topicstarter
Awesome! Great Job.
I'd say make a plugin of it. :)
Turns out you can use that exact code for a BBlog plugin, no changes necessary afaik. If you know where I could host the file, I'll make one and put it up. Otherwise, feel free to do whatever you want with the code.
Oh man, I love the Dropbox feature! :)

Here's the link:
https://dl.dropbox.com/u/97057514/HoverInfoBox.js



EDIT: Moved to the plugin section.
chuzuki wrote:
Turns out you can use that exact code for a BBlog plugin, no changes necessary afaik. If you know where I could host the file, I'll make one and put it up. Otherwise, feel free to do whatever you want with the code.


https://github.com/
or
http://code.google.com/
how i install this ? =( sorry for my noob question
Open BB-Log menu -> Plugins -> Add own Plugin -> And theire you insert the plugin url (in this case: "https://dl.dropbox.com/u/97057514/HoverInfoBox.js")
Firewalker95 wrote:
Open BB-Log menu -> Plugins -> Add own Plugin -> And theire you insert the plugin url (in this case: "https://dl.dropbox.com/u/97057514/HoverInfoBox.js")


thanks :D