DEANO.ME

jQuery

 

Looking for a quick and easy cookie policy message for your website? This cookie policy script is built entirely using JavaScript/jQuery and only requires you to add the JavaScript code to your web pages for a fast, effortless cookie policy warning popup for your visitors. I have implemented various options so that you can configure […]

 

I’ve wrote a light-weight jQuery script which allows you to easily show a warning under a field when the CAPS LOCK key is active, the script requires no plugins or require any manual placement of any HTML. Simply drop the java-script below onto any pages you require the warning and just configure what fields you […]

 

There is much confusion on the internet when it comes to jQuery and  best practices, this is partly because of large charges between jQuery versions which are easily unnoticed as old methods are usually backwards compatible. However in the case of checking to see if a checkbox is checked, if you use the older methods […]

 

I was working on a project recently that had a pricing grid that I felt was hard to follow, I solution I decided on to make it more clear was to highlight the current cell that was being hovered, but also highlight the row and the column so that the user can clearly see the […]

 

Load css using jQuery so you can capture when the css has been loaded – working in all old and new browsers!

 

Google Analytics is a great way to track the visitors on your websites, however what if you are using AJAX for website navigation? Fortunately Google have everything under control, you can easily tell Analytics that the user is loading another page by using _trackPageView. You should already have the latest Google Analytics tracking code called […]

 

Recently I have had a nightmare of a problem with an apparent rendering bug in IE7 + IE8 which had all the hallmarks of the “peakaboo bug”. Firstly, here is a quick explanation of my problem: AJAX fetches content into an element on the page, in ALL other browsers this content appears and works normally […]

 

If your looking to find out if an element your about to select using ID, class and/or element type exists or not then you can do this using JavaScript, or if your implementing jQuery you may as well keep your code concise and use the jQuery method explained further down. JavaScript So here is an […]

 

07-06-2014 – Update! I have changed “$tabs.tabs(‘option’, ‘selected’).” to “$tabs.tabs(‘option’, ‘active’).” for the latest versions of jQuery, the old method is no longer reliable.   In this tutorial I’m going to talk you through using a great feature of jQuery UI called “tabs” with iFrame’s. Before we get to the actual guide let me first point […]