Papermashup

Latest Posts


Subscribe


Tweets


"RT @MagnificHQ: Dude miraculously saves his #drone from crashing into ocean in weird futuristic Baywatch scene http://t.co/FspY4TKES5 http:…"

@ashleyford 2 hours ago

"Thanks @KBedders @bethgordon @twitteruk for #BrandingMe! http://t.co/NNA2ke8NHc"

@ashleyford 10 hours ago
Papermashup

Web design and development tutorials, scripts and downloads designed for beginners right through to advanced developers


jQuery Fancy Switch

I wrote a post a while back on coding an iPhone style switch using jQuery. I’ve now put together a simple tutorial demonstrating how simple it is to build a switch that triggers two radio buttons in a field set. It also degrades gracefully if JavaScript is disabled just displaying the two radio buttons with labels. This tutorial is aimed [...]

AshleyAshley

jQuery Show / Hide Plugin

Due to popular demand here’s a re-written version of the tutorial I wrote over a year ago on how to show and hide content using jQuery. After I first published the post I’ve had a lot of requests as to how you can show and hide multiple divs so I’ve written this plugin which does all the work for you! The Plugin The Usage [...]

AshleyAshley

Display breadcrumbs on your site using PHP

When you have a fully dynamic site it’s useful to show the user where they are by breaking down the URL structure so they can navigate backwards through the site. For example this url: http://papermashup.com/categories/jquery/ shows that ‘jquery’ is part of  ‘categories’ so the user could navigate backwards through [...]

AshleyAshley

Creating Automatic MySQL Database backups

Every database needs to be backed up and if you’re currently doing it manually you can stop because there’s a simple solution using PHP for small scale sites. With this script you can either pass a specific table to backup or choose to backup the whole database. How to implement The best way to use the script below is to copy the [...]

AshleyAshley

PHP Language Detection

I was looking for a simple way to automatically detect a users language using PHP and came across this interesting snippet which does just that. It uses the PHP superglobal ‘HTTP_ACCEPT_LANGUAGE’ which returns something like this for me “en-US,en;q=0.8″. This is the contents language code of the header from the current [...]

AshleyAshley

jQuery UI Slider

I’ve been hugely inspired recently by the design work of Orman Clark from Premiumpixels.com and his generous selection of top quality PSD downloads. after seeing this beautiful design of a button and slider set I was eager to code up a working version using jQuery UI. You can grab the PSD for the design here along with tons of awesome [...]

AshleyAshley