MyBB Community Forums

Full Version: MyAlerts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You could just move to Tomm M's MyNetwork post rep plugin - he's added MyAlerts support to it as a core feature Big Grin Thanks for the kind words!
I think I'll also post how my alerts list looks like. Nothing special, but IMHO nicely complements the header, as it slides down the violet bar at the top and covers the button. I made it close by clicking anywhere outside it, works purr-fect. Smile
http://screencast.com/t/PHr1GvMcArCN
Looks great Schocker!
Can you share with us your code to close by clicking anywhere else? I don't have time to build my own one Smile
I think I posted it before? Can't remember where exactly. I should probably add it to the wiki.
Yup, euantor, you have already posted it, here. Smile
It goes like this:
$('html').on('click', function() {
    $('.myalerts_popup:visible').slideToggle('fast');
}); 
Although I changed it for myself a bit:
$("body:not('.myalerts_popup:visible')").on('click', function() {
    $('.myalerts_popup:visible').slideToggle(400, "easeInOutElastic");
});
Cheers for the reminder Smile Added to the wiki, here: https://github.com/euantor/MyAlerts/wiki...ng-outside
(2012-11-11, 10:40 PM)euantor Wrote: [ -> ]Cheers for the reminder Smile Added to the wiki, here: https://github.com/euantor/MyAlerts/wiki...ng-outside

I just added it at the bottom and it worked fine Smile

Thanks for that. It is better that way to me than having to click the link.

Only thing is I use GoMobile and it doesn't work on the mobile version. Any ideas?
I've been meaning to look into that for a while. It's been reported a few times I think.
That would be cool. Until then it isn't that hard to click the link again.