DEANO.ME

jQuery

 

I’ve seen allot of developers requesting the ability to resize a iFrame so that the content in the iFrame fits in the frame without any scroll bars, but also to adjust the height dynamically so that is always fits the height of the internal content, which is useful for iFrames who’s content changes often or […]

 

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!

 

This one has been causing me to rip my hair out, literally! So here is the scenario… You have an element in your DOM that contains some text, you wish to fetch that text and set it as the page title dynamically. So thinking this is the easy part of your JavaScript for today, you […]

 

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 […]

 

Recently I have been working on a project for work that allows customers to book train tickets and a hotel in one package (saving them money), how the system is working is the user first selects there train travel, after which they are shown all the hotels on a Google Map. This map also shows […]

 

Firefox (and perhaps other browsers) seems to have a bug when it comes to using the scroll wheel on an embedded Google Map. Quite often the page will also scroll when you use the wheel to zoom in and out, this is really frustrating and made worse by the fact it doesn’t always happen! I’ve […]

 

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 […]

+11
Tweet
Share1
Share
Stumble
Pin
Email
Shares 2