Using the Google Maps API you can generate a map with markers and on click or hover show an information tooltip. Here's an example of how to accomplish this. First…
Read More
scrollTop() is a jQuery function that will wait until the browser scrolls a certain distance, then fire the code. A use case example for this would be an alert that…
Read More
There are a couple different options to add an execution delay with jQuery. It really depends on what you're trying to accomplish. Option 1 - setTimeout() The following is something…
Read More
Quick and easy explanation of the jQuery command replace. The replace() method returns a new string with some or all matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp,…
Read More
This example explains how you can trigger events based on user input of a drop down using jQuery. Here's the entire page, I have 2 drop downs. On the page…
Read More
Sometimes you have some input fields you want to show to the end user but not allow them to edit. For example a profile page where they can update their…
Read More
One of my favorite Wordpress themes lately is the Salient Wordpress Theme by ThemeNectar. It does most things with ease and there are settings that save you quite a bit of…
Read More
Sometimes you may have form elements that you need to changed based on other input. For example I have two selects on my page. The first one if the primary…
Read More
This is a basic example of how to dynamically add new options to your select drop down without reloading the page. I'm not saving these in the database, but it's…
Read More
This will be a walk-through on how to create a submit form that checks the database to make sure the username is not taken. If it is taken it will…
Read More