javascript - My jQuery gallery is too slow and I can't find the reason why -


i making jquery gallery, reason every animation function takes long execute. there simple html page table filled php( imagine has nothing problem since preloaded server) , script tag beneath calls effect. haven't finished because started "jumping" beggining...the fade not smooth @ all...

the image inside gallery 40 kb size i'm calling , slow...

i making jquery gallery, reason every animation function takes long execute. there simple html page table filled php( imagine has nothing problem since preloaded server) , script tag beneath calls effect. haven't finished because started "jumping" beggining...the fade not smooth @ all...

the image inside gallery 40 kb size i'm calling , slow...

<script>      $("#gallery_base").hide();     $("#gallery").hide();     $(".item_par_pic").click(function () {         $("#gallery_base").fadeto(550, 0.8);         $("#gallery").fadeto(550, 1);     });  </script> 

 $("#gallery").fadeto(550, 1) 

.fadeto() takes value between 0 (clear) , 1 (opaque). value of 550 makes no sense.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -