DEANO.ME

javascript

 

So there’s been allot of talk about BPG and the benefits this format has over JPEG and GIF, so I thought I would do a little research on the format and find out if and when it will be replacing our tired JPEG and GIF formats. BPG is a new image compression and storage format […]

 

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

 

Here’s a strange one for you… We all know that parseInt() is a really useful function for converting a string into an integer. It enables us to take a string, convert it to a number, perform mathematic equations and get the result we are looking for. However today I was converting some strings into numbers […]

 

Today I have been messing with Google Minify for work, if you have not heard the term “minified” before, or if you have and wondered what it meant, then your probably wondering what it does? In a nutshell, minified code means code which has been stripped of it’s clean, tabbed, readability and crushed up into […]

 

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

 

Recently I decided to upgrade a clients administration panel from the old FCKEditor to the new CKEditor – however after installation I realised the FileManager was missing… So I started trawling the internet looking for an alternative. I came across this very useful guide which I followed step-by-step and it was so easy!! I successfully […]

 

Arrays are an amazingly useful variable in all programming languages, they allow you to store vast amounts of organised data in just one reference. This helps not only on software memory usage and speed – But also on program complexity and code neatness. I’m going to explain by example many different ways you can define […]

 

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

+1
Tweet
Share
Share
Stumble
Pin
Email
Shares 0