Its just for fun so dont get confused , spam the Start button.After out-effects we will check this again and it will be better than this.
var random = function(items)
{
return items[Math.floor(Math.random()*items.length)];
}
var inEffects = ['slideRight','slideLeft','slideBottom','slideTop'];
var positions = ['top left','top right','bottom right','bottom left'];
$('#start').on('click',function(){
$.amaran({
'message' :'My positioning example.',
'position' : random(positions) ,
'inEffect' : random(inEffects)
});
});