Self-resizing Navigation Menu with jQuery
DevelopmentToday I am going to share a nice CSS only (with some jQuery) navigation menu that adapts the size of its list items automatically. Sometimes you need to reuse a menu and it can take some work to adapt the list items if you wou... read more
Some Useful JavaScript & jQuery Snippets - Part 4
DevelopmentHow 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 jQuery file.xml: <?xml version="1.0" ?> <re... read more
Find Your First Twitter Follower
DevelopmentThis application aims to show you who your first follower was in twitter. It's done with PHP and jQuery and of course it uses the twitter API. Two of the available API methods are used : statuses/show and followers/ids. Note t... read more
Some Useful JavaScript & jQuery Snippets - Part 3
DevelopmentHow to hide all children div except a specific one with jQuery? $('#target div:not(#exclude)').hide(); //or $('#target').children().filter(':not(#exclude)').hide(); Detecting when a div’s height changes using jQuery $('... read more
Some Useful JavaScript & jQuery Snippets - Part 2
DevelopmentCheck if cookies are enabled $(document).ready(function() { var dt = new Date(); dt.setSeconds(dt.getSeconds() + 60); document.cookie = "cookietest=1; expires=" + dt.toGMTString(); var cookiesEnabled = docu... read more
Pause and Play Effect with jQuery
DevelopmentHere's an effect based on the one used in fml to stop and pause an event. The idea is that when we click on the play/pause button or press the space button, an image (play or pause) appears and fades out. This effect is done u... read more
Some Useful JavaScript & jQuery Snippets
DevelopmentHow 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 with jquery var imgsrc = 'img/image1.png'; $('&l... read more









