News & Blog

Flot Blank in Internet Explorer 8

How I Got jQuery Flot Graphs To Work in IE8

November 19th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I’ve been working on a project recently that required a whole load of graphs and charts be displayed; From pie charts, to horizontal bar charts. To accomplish the job I put my faith in the trusty jQuery Flot library. I’ve used the Flot plugin in the past for simpler graphs but ...

Limit Length of Column Value in Yii Bootstrap TbGridView

October 16th, 2013 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
I’ve recently been working on a project built on the Yii framework that uses Yii-Bootstrap to make working with Yii and Bootstrap together a little easier. One of the widgets I frequently used was the TbGridView; A widget that outputs a table. Getting it integrated was easy enough bu...

Return VideoJS Player to Poster Frame After Video Ends

September 25th, 2013 - Posted by Steve Marks to (X)HTML / CSS, Javascript / jQuery, Web Development.
I’ve written previously about VideoJS and a problem I faced whilst using it. Todays post isn’t about a problem as such, but more a usability improvement that, to be honest, I couldn’t believe wasn’t default functionality. The improvement I’m referring to is re...

jQuery fadeOut() Not Working on Absolute Positioned Elements

September 18th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I’ve been using jQuery for a few years now and, in this time, must have done thousands upon thousands of hiding and showing elements by using the fadeIn() and fadeOut() functions. Back in the day, hiding and showing elements was commonly done by switching the ‘display‘ st...

Resolving Error “Maximum call stack size exceeded” When Using Google Maps API

September 5th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I love working with the Google Maps API and have been lucky enough recently to work with it in a few projects; From simple maps with just a couple of markers, to complex maps showing polylines, polygons, directions, and much much more. Hopefully I’ll get to share some of these more a...
facebook-login

Facebook Login Dialog Not Working For Other Users

September 2nd, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I’ve recently been integrating Facebook login into a website so users can register and login using their Facebook account. The option to register without Facebook was also still available for the scenario where a user doesn’t have a Facebook account, however in an effort to mak...

jQuery Tubular YouTube Video Not Loading On WordPress Site

July 9th, 2013 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
Normally I like to think I’m quite a calm and relaxed person. Or so I thought until I came across this problem when I was on the verge of throwing the PC out of the window. Ok, maybe that’s a little extreme, but after spending about 5 hours looking into this problem I was reall...

Page Jumping To Top When Clicking Link Containing Click Event

July 4th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
There are number of reasons why you might want a link to not actually redirect the user to another page, but instead perform a specific JavaScript action. This might include such things as switching tabs, cycling through a carousel, or simply toggling a div. To achieve this you might do so...
mapquest-ff-ie-broken

MapQuest API Map Not Showing in Bootstrap Site on Firefox or IE

June 11th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
In normal circumstances, when faced with the challenge to implement a map into a website or application, I wouldn’t think twice about using the trusty Google Maps API. Today was different however. Due to certain aspects of the Google Maps API terms and conditions I needed to look els...

How To Add Swipe Functionality To jCarousel Lite

April 8th, 2013 - Posted by Steve Marks to Javascript / jQuery, Web Development.
I’ve been using the jCarousel Lite plugin from Ganeshji Marwaha for many years now and find it incredibly easy to work with. Due to it’s simplicity It’s also proved easy to modify when I’ve wanted to add additional functionality. I was recently working on a site tha...