Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery animate() with easing plugin
    primarykey
    data
    text
    <p><strong>SOLVED</strong> Thanks everyone for help inccorrect path to plugin is so unnecessary error...</p> <p>Hi I have problem with using JQuery easing plugin with animate() function in Jquery. I am searching on web and I not found solution yet.</p> <p>My code is working with default type of easing in animation function (for example switch), but when I change type of easing then script stop his work.</p> <p>My code is like:</p> <pre><code>&lt;script src="funkce/jquery-1.7.1.min.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="funkce/lightbox/jquery.animation.easing.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; </code></pre> <blockquote> <pre><code>before this script I test &lt;script src="funkce/lightbox/jquery.easing.1.2.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; and after that &lt;script src="funkce/lightbox/jquery.easing.1.2.js" type="text/javascript" charset="utf-8"&gt;&lt;/script&gt; </code></pre> </blockquote> <pre><code>&lt;script type="text/javascript" charset="utf-8"&gt; $(document).ready(function(){ $( "#slider" ).hover(function(){ if ($("#test1").css('display') == 'block'){ $("#block").animate({ "opacity": "0.6", "top": "200px" }, {queue:false, duration: 4000, easing:"easeOutElastic"} ); } else{ $( "#block" ).css({ top: ""}); } }); }); &lt;/script&gt; </code></pre> <p>(when I remove " easing:"easeOutElastic" " then code work with default type of easing.</p> <p>Another try was:</p> <pre><code>if ($("#test1").css('display') == 'block'){ $("#block").animate({ opacity: 0.6, top: "200px" }, 4000, "easeOutElastic" ); } else{ $( "#block" ).css({ top: ""}); } }); </code></pre> <p>There when I remove " "easeOutElastic" " then vode works.</p> <p>Still same problem in all my types of code still default easing works and alternative easing which support me easing plugin then code not work. This example I try add to nivoslider for some specific effect, but I now only test easing before I make my work. Can anyone help me?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload