Browser pong!
Play a bit of pong with browser windows! It doesn't seem to work in Safari though
and you'll need to turn your popup blocker off.
Play a bit of pong with browser windows! It doesn't seem to work in Safari though
and you'll need to turn your popup blocker off.
The recent release of the iPad and the decision by Apple not to include the flash plug-in on the device has triggered masses of debate in twitter, blogs and on a much smaller stage, the MadeByPi office. The debate has been about both the validity of Apple's decision and the wider subject future of flash itself as part of the web now that the HTML 5 specification is starting to cover areas where flash has been the default tool. (more...)
We recently came across an issue when creating a site with SSL plugged in that in Internet Explorer we were getting the good ol' "This page contains both secure and nonsecure items." popup. It took us a good long while before we finally realised what it was... Fancybox!
There is some serious competition mounting now for development platforms the next generation of RIA will be built with. Flash and ajax/javascript are well established currently with ajax/javascript leading in terms of availability and Flash in terms of creative presentation and performance. (more...)
I've seen quite a few different methods for retaining scope when calling a method in javascript. I mixed a few of my favourite methods up into one.
(more...)
Here's a fun little trick that'll frustrate your local friendly coder for 5 minutes.
http://media.madebypi.co.uk/oneplusone/
View the source and try work out why the code is saying "goodbye" instead of "hello".
Answers on the back of a postcard!
Recently I needed to write some code which involved matching any given colour against a custom palette of colours. I found it hard to find any decent javascript out there... So I wrote my own.
Introducing: Color Utils
Main features:
While undertaking some late night internet browsing I came across an interesting jQuery plugin called jParallax.
The plugin's website describes it best.
"Parallax turns a selected element into a 'window', or viewport, and all its children into absolutely positioned layers that can be seen through the viewport. These layers move in response to the mouse, and, depending on their dimensions (and options for layer initialisation), they move by different amounts, in a parallaxy kind of way."
Seeing is definately believing with this plugin, so head on over to their website and see it in action.