Kick-Start Your Project: A Collection of Handy CSS Snippets
Don't start your project with an empty style sheet: there are many great snippets that can make your life easier and speed up web development. We are going to show y ... read more
Don't start your project with an empty style sheet: there are many great snippets that can make your life easier and speed up web development. We are going to show y ... read more
This is a collection of some basic styles that can come in handy when creating your own style definitions. Learn how to make some useful classes for simple styles an ... read more
By cody 5 Comments
How to get client ip address with jQuery $.getJSON("http://jsonip.appspot.com?callback=?",function(data){ alert( "Your ip: " + data.ip); }); How to parse XML with jQ ... read more
By cody 5 Comments
How to hide all children div except a specific one with jQuery? $('#target div:not(#exclude)').hide(); //or $('#target').children().filter(':not(#exclude)').hide(); ... read more
By cody 28 Comments
Check if cookies are enabled $(document).ready(function() { var dt = new Date(); dt.setSeconds(dt.getSeconds() + 60); document.cookie = "cookietest=1; expires=" + dt ... read more
By cody 18 Comments
How to refresh the src of an image with jQuery? $(imageobj).attr('src', $(imageobj) .attr('src') + '?' + Math.random() ); How to see if an image is loaded or not wit ... read more