I have a library of various functions which I use across sites. Thought I’d labwork this one to demonstrate an accordion functionality. This is written in pure JS without jQuery…
Testing Angular for this site. A one pager for the portfolio, making better use of the tags to filter my work.DEMO
Taking inspiration from Honda’s new speed-reading advert I thought I’d create a pure Javascript speed reader test.It’s pretty simple in that it take how many words are in an element.…
DEMOI played around with using CSS3 for accordion effect instead. Worked pretty well and seems a lot faster than traditional jQuery.Codes used in this demo: HTML, CSS3, JS
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…
On updating my site, I noticed one published article where there was a PHP error at the top of the page:PHP error Undefined variable: category_name in helpers/segment_helper.phpI discovered that this…
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…
So I have a dropdown select box of various languages and in the front-end I want to style this in some extravagant way. But of course, styling dropdown select boxes…
ProblemSometimes 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…
ProblemThis 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…