Fork me on GitHub

Hello my name is Pui, I am a web developer based in London.

Articles: jQuery

7 February 2014

MK Geek Night All Dayer, January 2014

I attended MK Geek Night All Dayer conference in January. It was an insightful day to get our creative juices flowing for the start of the year. I will mention…

Labwork: jQuery

30 September 2014

Responsive iframes - height and width for website content

So sometimes circumstances need be for an iframe to be part of the page. An iframe which brings in content from another place. When this is the case, you don’t…

11 June 2014

jQuery/CSS - Responsive Tables: Solution for Back-end integration and having multiple tables

Tables are always fun. Especially when you want to make them responsive. Having worked on many projects where tables are part of the WYSIWYG editor and bog-standard table markup will…

1 May 2014

jQuery - Replicate .toggle(), first and second click, and toggle text

Problem​Sometimes just using:$(this).toggle();doesn’t quite cut it. And you want to get into that second click to manipulate something differently to the first click, as opposed to just toggling a particular…

24 April 2014

jQuery - Check if more than one checkbox is checked

Problem​This is quite a specific solution. Basically the problem is that we have a section with many checkboxes and we would like to run a function when only ONE checkbox…

9 April 2014

jQuery - Opening lightbox contents from external URL

This solution can apply to many a situation but for here this was the problem.Problem:I want to type in a URL and on page load a particular lightbox content will…

6 February 2014

Javascript - Function to replace all commas in a string

The problem: You have a string where you need to replace or remove a certain character inside it, for example a comma, or a forward slash. Using: $(this).replace(’,’,’‘) does not…

2 August 2013

Masonry (jQuery plugin) test

Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall.My…

22 May 2013

jQuery scroll pages horizontally with navigation

Ice cream colour scheme with horizontal scrolling.

19 May 2013

jQuery scroll pages vertically with navigation

Nice navigational technique with page scrolling vertically.