All posts in Coding

mobile-redirect
Latest
January 14, 2012, No comments

What good is a mobile website if you can’t get people to it? By using a .htaccess file and setting a cookie you can direct people on mobile devices to your mobile website, and allow them to then visit your full site without being redirected.

google-plus-icon

How to Create a Google+ Business Page

November 29, 2011, No comments

Google recently announced a new feature similar to Facebook Business pages, Google+ Business pages. With the every growing interest in Google+ this is ...

force-www-htaccess

Force WWW onto Domain Name URLs for SEO with .htaccess

August 15, 2011, No comments

Google hates duplicate content on a website. Here's how to force 'www' onto your URL in your .htaccess file for SEO purposes to avoid duplicate conten ...

twitter-logo

Add the New Twitter Follow Button to Your Website

June 7, 2011, No comments

Twitter recently released a new Follow Button for embedding on websites. Now your website users can follow you on Twitter with one click, instead of n ...

  • modal
    Poll – Which Modal Window Option Do YOU Use?
    May 16, 2011, No comments

    Nobody uses javascript to pop open a new window with an enlarged version of an image anymore, we now use Modal Windows. But with so many options out there, which one should you use? I decided to open up a new poll to see what other designer ...

  • accord1
    Javascript SpryAssets Accordion Download
    September 21, 2010, 2 Comments

    I recently created an accordion for a client’s website using Dreamweaver’s SpryAssets Javascript / CSS feature. It didn’t end up getting used on the website, so I decided to provide ...

  • copyright-symbol
    Add an auto-updating Copyright to your website with PHP
    August 18, 2010, No comments

    It's important to keep an updated copyright in the footer of your website. You want your website to be up to date, but you don’t want to have to manually change the copyright date every year. There are multiple ways of pulling this off, i ...

  • 404
    Create a .htaccess file to redirect to a 404.html page
    June 21, 2010, 1 Comment

    A 404 error is what happens when you try to access a page on a website that doesn't exist. We've all gotten them; due to typos, a moved file, whatever the case. As designers / developers we need to make sure we help the users of our website ...

  • php-test
    How to test if your server supports / is running PHP.
    June 15, 2010, 3 Comments

    If you’re going to use PHP on a website the server needs to be running PHP right? Well duuh! If you work on a variety of websites for a lot of clients, you’re going to deal with different hosts and servers. Before you hook up a form to ...

  • input-clear
    Make the words in a Form Input disappear on click.
    June 9, 2010, 2 Comments

    Sometimes it helps to set an initial value in a form input field. It sucks to force the user to select this text and delete it though. I'll show you how to set the input up so the text is automatically deleted when a user clicks inside the ...