How to Use Google Analytics with jQuery Mobile

jQuery Mobile is an HTML5 based web-page framework that's optimized for touch -- so it's perfect for using to make responsive web pages and websites that will look great and work phenomenally on mobile devices and tablets. The framework is also optimized for performance. It typically has a very fast page load time, because each […]
Read the rest of this entry »

6 Lightweight jQuery Plugins for Fixed Elements

Giving fixed positioning to elements is a great way to keep them visible on the page no matter how much or how far a user scrolls. Fixed positioning can be achieved easily using CSS -- it only takes one line of code to change the position of an element from static or relative to fixed. […]
Read the rest of this entry »

How to Use jQuery’s Mouse Methods

jQuery has 4 event methods that have to do with cursor movement. The methods are .mouseenter(), .mouseleave(), .mouseup() and .mousedown(). All of these methods can be used to trigger events and execute code based on when and where the user's cursor moves. In terms of syntax, they're fairly simple and straightforward to use, but they […]
Read the rest of this entry »

jQuery Snippets: Using jQuery to Check All Boxes

When you've given your users a ton of checkbox input fields that they have to manually check themselves, it's always a nice gesture to give them the option to check all the boxes at once by simply selecting one "Check All" checkbox -- one box to rule them all. Not only does a check all checkbox […]
Read the rest of this entry »

3 Ways to Use jQuery to Detect AdBlock

Ad blocking software is becoming increasingly prevalent among internet users, for a number of reasons. The most important of which is that, often times, ads can really decrease a user's experience. They can be obnoxious, and they can be slow -- and not just slow down your webpage, but also a user's entire browser or […]
Read the rest of this entry »

Using jQuery to Count Child Elements

If you ever find yourself needing to know how many child elements an HTML element has, you're in luck, because there's a jQuery function for that. There are actually a few different ways you can go about doing this. The first is really simple and straightforward, and will count all the children elements of an […]
Read the rest of this entry »

Responsive Menu
Add more content here...