JQuery Ui Effects not working -
when use hide() or show() work - when use effect(), don't, here little peace of code:
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> and script is:
<script type="text/javascript"> $(document).ready(function() { $(".palas").fadein(2000); /*$(".palas").click(function () { $(this).hide( "fold", {horizfirst: true }, 2000 ); });*/ $(".palas").click(function () { $(this).hide(); }); }); </script> uncommented part working well, commented part not, tried more options this.
change jquery ui link version 1.5 version 1.8
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
Comments
Post a Comment