-
jQuery UI Accordion jump bug
Front end developer blog (Aug 9 2008) jQuery Explore Article
10 Aug If you ever used jQuery UI Accordion before, you probably notice that sometimes you have an annoyng bug when you change between accordion items: the bottom of the accordion jumps few pixels. Why is that? That’s why because Dimension plugins (which is included on last version of jquery, by the way) doesn’t know to compute very well the dimensions if you have padding/border attributes. So, what can I ... (Read Full Article)
-
jQuery AJAX trick (very useful!)
Front end developer blog (Jul 2 2008) jQuery Explore Article
3 Jul Did you ever ask yourself how can you display a “loading” indicator when you make ajax calls using various libraries? The simple but efficient answer is this: 1 2 3 4 5 6 $(document).ready(function(){ $('Loading...') .ajaxStart(function() {$(this).show();}) .ajaxStop(function() {$(this).hide();}) .appendTo('body'); }); And that’s all. You need to do this only once. Ofcourse, you can apply some CSS styles to #busy div, using an image generated with ajaxloa (Read Full Article)






Recent Comments
joew » Partial Functions in JavaScript
This is a fascinating article, partial function application is a really useful technique John's ...
pawan » Google
Here are two other similar products which I bookmarked in the past: http://www.maani ...
See all recent comments