The BBC have released results of a survey undertaken in 2012 involvingĀ 166 clubs in 10 divisions across British football, including the Conference Premier and Women’s Super League gathering theĀ prices for the most expensive, and cheapest, season tickets and adult matchday tickets along with a programme and some say, most importantly a pie and tea. The… Read more »
Posts Categorized: Javascript
A new Openlayers WMS Layer for using Ordnance Survey Openspace map tiles
I have created a quick implementation of the OpenLayers WMS class to use Ordnance Survey’s OpenSpace tile servers. The Openspace service is usually accessed via they’re Javascript API but this is tied to an old version of OpenLayers and so this is just a quick workaround to use the latest Openlayers library with OS backdrop… Read more »
Javascript message queue implementation
Here is a Javascript implementation of a message queue that displays the messages in the ui – it is written in Coffeescript and compiles down to Javascript. Source available on github here. ui-message-queue is a Javascript implementation of a message queue allowing you to push messages (String) to the queue and display via a First… Read more »
Namespace your Javascript
We all know writing code with global functions and variables if bad news so what’s the alternative in Javascript to writing lots of objects? I dont think Javascript is very good as an object orientated language and doesnt do this sort of thing very well but you can put these objects/functions/variables in your own namespace…. Read more »
How to POST data via Javascript
Update: Or instead you could use the excellent jQuery library which has methods for this. Another thing I needed to do with Javascript was send quite a lot of data from the browser to code on the server, I was already using GET (where the data is in the URL string) but this can only… Read more »
How to change FORM onsubmit function
Ok, two Javascript post together here… I’ve been doing a lot with Javascript recently (results to follow shortly!). One thing that took me a while to work out how to do was to dynamically change the onsubmit action standard html form. So, you have a form and you want a different thing to happen depending… Read more »
Javascript class to build Googlemaps mapplet
Update: Alhough this works, I now know that its not the best way to do this so don’t use it! I have many Google maps dotted all over my site and was getting annoyed with many Javascript funtions to build these maps when they were commonly the same. So, I decided to create a Javascript… Read more »