Detect when scroll is reached end of scroll

Using jQuery, determine that user has been scrolled until the end of element. Reference: http://stackoverflow.com/questions/6271237/detecting-when-user-scrolls-to-bottom-of-div-with-jquery $('.scrollable').bind('scroll', function(){ if($(this).scrollTop() + $(this).innerHeight() >= $(this)[0].scrollHeight) { alert('end reached'); }...

Media Query Reporter CSS Injection

Ref: http://webdesigntutsplus.s3.amazonaws.com/tuts/221_responsive_widget/Media-Query-Files-DEMO/index.html <link rel="stylesheet" type="text/css" media="screen" href="http://webdesigntutsplus.s3.amazonaws.com/tuts/221_responsive_widget/Media-Query-Files-DEMO/styles-mediaquery-reporter.css" />   Code Only: /* ====================================== MediaQuery-Reporter Styles ========================================= */ body:after { content: "less than 320px"; font-size: 300%;...

Bootstrap Modal Remote Example

Reference: http://twitter.github.com/bootstrap/javascript.html#modals Reference: http://jsfiddle.net/mmfansler/cp67J/   <a data-target="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a> <div class="modal fade hide" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" data-remote="/mmfansler/aQ3Ge/show/"> <div class="modal-header"> <button type="button"...

HTML5 Application Cache

A BEGINNER'S GUIDE TO USING THE APPLICATION CACHE - Reference: http://www.html5rocks.com/en/tutorials/appcache/beginner/   ...................................................... Using the cache interface gives your application three advantages: Offline browsing -...