Javascript
-
Website Optimisation Tip : Typekit
30th May 2017
I recently did an overhaul of the website and one of the issues I was getting from Google Page Insights was that I needed to prioritise visible content. Which was confusing as I could see a lot of the content (in this case, a blog post). So I set about trying to find out what […]
-
jQuery UK
17th May 2014
I’ve finally got some time to talk about a conference I’ve just got back from. jQueryUK Conference in Oxford. A few months back, we saw the event advertised in the office and thought, it might be nice for some of us to go. At the time, I was a Front-End dev so it seemed a […]
-
Learning the hard / easy / whatever way
15th November 2013
I’m not great at learning. Things often take a while to sink in. When I was working with table layout, the thought of learning divs and CSS was scary and seemed a different language that I’d never pick up. Some would say I still haven’t mastered that. But not being one to shy away, I […]
-
Not knowing something isn’t a sign of weakness
18th October 2013
Anyone who knows me well enough and reads my blog (all 3 of you) know that me and javascript have a love hate relationship. I’m honest about the journey I’m on with it. I don’t know enough to work with it. I’m trying, some of it makes sense and I think if I carry on […]
-
Adding an active class to a menu
6th April 2013
If you have ever wanted to have an active state on a menu item and you don’t know how to do it and your platform doesn’t do it by default (Like WordPress), here is some javascript that works. function scriptInit() { if (!document.getElementById) { return; } } function addEvent(elm, evType, fn, useCapture) { if (elm.addEventListener) […]
-
I know jQuery I do
12th November 2012
Up until the start of September, I would have said “I know jQuery well enough to get by”. Truth of the matter is I don’t and I think that is the same for so many other people out there. “I can do sliders and galleries and make things move” We can all do that with […]