How to stop random effect in javascript <p>hey guys i am using <a href="http://codecanyon.net/item/magicwall-responsive-image-grid/full_screen_preview/7391534" rel="nofollow">Codecanyon</a> for my image gallery. Right now it is animating images with random effect. i want to remove random effect. any suggestion how can i do this. below is the functions of animation.</p> <pre><code>parseAnimationOptions: function (t) { var i, o = this, n = ["flipX", "flipY", "rollInX", "rollInY", "rollOutX", "rollOutY", "slideX", "slideY", "slideRow", "slideColumn", "fade"]; return t.animation ? i = t.animation : "*" == o.options.animations ? (i = o.excludeAnimations(n), i = (Math.random() &lt; .5 ? "" : "-") + i[Math.floor(Math.random() * i.length)]) : (o.selectedAnimations &amp;&amp; o.selectedAnimations.length || (o.selectedAnimations = o.options.animations.split(":")), i = o.excludeAnimations("*" == o.selectedAnimations[0] ? n : o.selectedAnimations[0].split(",")), i = i[Math.floor(Math.random() * i.length)], o.selectedAnimations.splice(0, 1)), -1 == n.indexOf(i.replace("-", "")) &amp;&amp; (i = "fade"), e.extend(!0, t, { animation: i, type: i.replace(/[XY-]/g, ""), dir: 0 == i.indexOf("-", 0) ? -1 : 1, axis: i.replace(/[^XY]/g, ""), duration: t.duration || o.options[i.replace("-", "") + "Duration"] || o.options.duration, easing: t.easing || o.options[i.replace("-", "") + "Easing"] || o.options.easing }) } </code></pre> <p>and this code is on the page</p> <pre><code>$(".magicwall").magicWall({ maxItemWidth: 300, maxItemHeight: 240, animations: "rollOutY", flipXDuration: 500, }); </code></pre>