Archive: September, 2010

Post Pic

Quick Jquery: How to reduce DOM traversing

Ofcourse, less the DOM will get traversed quick will be the output. Therefore here is the trick to cache the element in jquery so as to reduce traversing. Here we go: Wrong Way 1 2 3 var myElement = $(’#anyElement’); $(’#anyElement’).show(); $(’#anyElement’).addClass(’anyClass’); . Right Way 1 2 var myElement = $(’#anyElement’); myElement.show().addClass(’anyClass’); And its done

Post Pic

Quick Jquery: How to set context in $.ajax()

Today working on a simple ajax jquery call, I was searching for setting context in ajax function suddenly one my javascript master came and wrote a code below, and it was done. Its look like this: 1 2 3 4 5 6 7 8 9 10 $(’#click_me’).function(){ $.ajax({ type: ‘POST’, data: ‘value=34′, context: $(this), success: [...]

Post Pic

10 Website Backup Tips Every Developer Should Know

More and more webmasters nowadays do not value the importance of a complete website backup (files and databases). They have left this to chance and good luck which poses a great risk to their online presence. Can you relate to this? Then read this important article which might save you an arm and a leg [...]

Post Pic

10 fresh and lite jquery content sliders for web applications

Content sliders increase the usability of a web design. Dynamic auto sliding content sliders are a lot popular on numerous websites over the web. If you are upset from old plugins , here is the list of 10 fresh jquery plugins. 1. Sliding Panel Visit Site . 2. Smooth Div Scroll Visit Site . 3. [...]

Post Pic

10 tips to follow to become a better web designer

One of the toughest challenges facing any designer is the web page. There are perhaps millions of pages in the World Wide Web all jostling for attention. The question that is foremost is how you as a designer can make a difference. Study the subject being featured. Visit as many sites as possible that cover [...]

Page 1 of 11