DEANO.ME

javascript

 

So this is something I was implementing today. And as I usually do with these sorts off tasks, I did a search on Google to see if there were good/bad methods to accomplishing the task I required. However the first result (which had the best approach I could find) said “Don’t do this!!”. to me […]

 

I have been working on a plugin for WordPress that implements AJAX for internal blog browsing. Today I proudly release this plugin for anyone with a WordPress blog or website to utilize. Features: Navigate the site with AJAX – Only required content is loaded into the page. While navigating the browsers address bar will update […]

 

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

 

parseInt() is an incredibly useful function which is available in some form in all programming languages, however in JavaScript there is one slightly annoying difference… Unlike in other languages which either throw an error or just assume 0 when a string cannot be converted to an integer, parseInt() returns “NaN” which means “Not-a-Number”. This is […]

 

Those of you who are familiar with PHP know a very useful function called explode() which takes a string and a delimiter and splits the string into an array using the delimiter as the splitter. So for instance a string “this|is|a|test” can be split up into an array where: [0] =  this [1] = is […]

 

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

 

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 frustration because perhaps they had not noticed the error box appearing) I […]

 

So I’ve started a new job working for Raileasy, which is a train ticket sales company. My first job here is to work on a system called Eurostar, it will allow customers to book eurostar train travel tickets. One of the major features I have been working on is a feature which constantly checks all […]

 

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

 

Today I have spent most of the day working on the new gallery feature for MCServer, it is working far better than my first vision. It’s Fantastic!! The way it will work is simple but requires some all-round modifications to MCServer. Firstly I will need to implement a new login system for the minecraft users, […]

 
Share
Share
+1
Tweet
Share
Pin
0 Shares