Apr
09
2010

jQuery CSS Abstraction

It should be said, first and foremost, that you should try to keep your styling and your JavaScript away from each other. If you want to change the style of an element with JavaScript, add (or remove) a class name from the element. Then use that class name as your hook in the CSS to affect the styling.

// just works
// also alternate CSS syntax
$("#thing").css({
   opacity: 0.5
});
read more...
Apr
06
2010

Automatically Shorten URL on Page Load in WordPress

A few weeks back, we posted a tutorial using the Bit.ly API and Twitter in order to share feedback on a blog post. Since the original post went up, we’ve spent some time revisiting this idea for Build Internet’s upcoming theme redesign.

The Original Feedback Demo

read more...

WEBSITE COPYRIGHT © 2013 | bestwebmagazine.com