DEANO.ME

jQuery

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

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

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. 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 […]

 

There is a mobile optimized version of this page, view AMP Version. Recently I needed to grab the users attention if they attempted to submit a form that had errors, now when the button is first clicked a box is shown with the error they must fix. But if they clicked the button again (in […]