Papermashup

Latest Posts


Subscribe


Tweets


"Excited to be the 962nd pirate on @BackerKit for Piff The Magic Dragon Playing... | Thx @thepiff! https://t.co/jvq8FFw3e6"

@ashleyford 2 days ago

"@KBedders @elerichardson I'm Free!!!!!! Call / Whatsapp me!!!"

@ashleyford 2 weeks ago
Papermashup

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


Using the Twitter Search API

Twitters new search feature is great for finding interesting people and topics to follow. So i wrote a script to get search results from twitter and display them on your site. This could be integrated into an existing application or used standalone to follow a particular topic or keyword on twitter,  Check the Demo. The script uses PHP [...]

AshleyAshley

Replace a divs contents with jQuery

I had a problem a while back where i needed to put the contents of a div into another div, the reason for this was because i couldn’t access the source code of the page to modify the div contents, as it was built using a CMS, so the only option was to use .append() in jQuery to do the job. The code. You need to include the jQuery framework [...]

AshleyAshley

Using PHP and CSS to make a simple graph

Here’s an easy way to display a simple percentage graph using PHP to work out the percentages and do the maths and CSS to display the data on our page. Here’s the demo. First you need to copy the CSS below into the head of your page, you can style this to suit your needs once we have the PHP in place to render our graph. I used [...]

AshleyAshley

Google Ajax API

Google provides a great set of javascript api’s to interact with its service. The Google service allows you to integrate maps, local search, dynamic feed content, and graphs and charts, into your website or blog. To start using the service you need to sign-up for an api key here, after that the best place to head it the ‘code playground‘ [...]

AshleyAshley

Using the Twitter API

TWITTER HAS CHANGED ITS API METHOD THIS TUTORIAL WILL NO LONGER WORK. Here’s a simple introduction on using the Twitter API. The API offers many different ways to connect to your details including xml, json, atom, and rss. Im going to use xml, php and curl to read an xml file to get my latest followers tweets and display them in the [...]

AshleyAshley

JQuery fading a div after a certain time

Here’s a handy bit of code that I use quite regularly, its particularly useful if your getting a response message from a form to notify the user that there data was sent, or comunicate an error and you want to fade the message out after a set time. Firstly you  need to include the jQuery framework you can download the latest version [...]

AshleyAshley

Protect your email address with JavaScript

Spam is still an increasing problem on the internet and here’s a quick way that you can save your email address from getting poached. This method uses concatenation to bind the email address, The first operator, called the string operator, is the plus sign ( + ). It is used to signify that one whole string is to be ‘added’ [...]

AshleyAshley

Web trends for 2009

Here are a few web trends that i think we will see emerge in 2009. Firstly IE6 must die this year right? I’m sure every web developer would be happy to see the backside of IE6. There’s a fairly good reason why as well. IE8 is now in the second phase of public beta, so if all goes well i predict that it should be released at the [...]

AshleyAshley