HOT CSS

Free Beautiful Css templates, Web designer tricks from expert

Pages

▼
Saturday, March 8, 2014

Tutorial Load Only a Section of a Page

›
Use Case You want to AJAX load a section of another page on your site onto the current page. Say your eCommerce CMS system creates a dynami...

Tutorial Load jQuery Only If Not Present

›
Say you were going to do an include on a whole bunch of pages, and inside of that include you wanted to do some jQuery specific stuff. That ...

Tutorial Link Nudging

›
$("a").hover(function() { $(this).stop().animate({paddingLeft : "10px"},200); },function() { $(this).st...

Tutorial Konami Code

›
var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65"; $(document).keydown(function(e) { kkeys.push( e.keyCode ); ...

Tutorial Keep Text Inputs in Sync

›
var $inputs = $(".example-input"); $inputs.keyup(function() { $inputs.val($(this).val()); }); Example

Tutorial jQuery Zebra Stripe a Table

›
$("tr:odd").addClass("odd"); Then use some CSS: .odd { background: #ccc; }

Tutorial jQuery Tweetify Text

›
Function $.fn.tweetify = function() { this.each(function() { $(this).html( $(this).html() .replace(/((ftp|http|https):\/\/(\w...
‹
›
Home
View web version
Powered by Blogger.