How to Detect and Run JavaScript When Bootstrap Media Query Breakpoints Change

Update: I created a small jQuery plugin that adds media query detection for Bootstrap 3 and 4 projects. You can learn more about IfBreakpoint.js here. Have you ever wanted to trigger some javascript at a certain media query value? Relying on document.width() has problems because it includes browser scrollbars. A simpler and more accurate solution… Read more »

Continue Reading

Category: Tutorials

Code Comments Hierarchy

 

Continue Reading

Category: Code Snippets

Get URL parameter string – jQuery

 

Continue Reading

Category: Code Snippets

Add class to body based on the URL – jQuery

 

Continue Reading

Category: Code Snippets