Shortening URLs in-house

May 27th, 2010 § 0 comments § permalink

All websites now use URL extensions that redirect for easy to remember URLs.

A recent example is Google’s http://google.com/pacman – a simple / and one word is much easier to remember than say /google_pacman.html (which is still keeping it simple!)
(I’m sure if you looked into it, the files aren’t actually stored in a /pacman folder either ;) )

There are URL shortening methods out there, such as http://bit.ly and http://tiny.cc, but I feel these don’t give you enough power for customisation. And what if you have your own domain that you want to use?!
» Read the rest of this entry «

Preloading images with css

September 25th, 2008 § 1 comment § permalink

The order in which images load when viewing a website fis always a tricky thing to get right. Usually, if you have any sort of javascript gallery for viewing images, these images will load first (as javascript normally loads first). This is always a pain if the main layout images have not yet loaded – you’ll get the javascript gallery appearing with none of the layout images.

There are plenty of solutions out there to set the order of image loading, and most solutions use javascript. Now to me, this is like trying to fight fire with fire; solving the problem of certain javascript images loading first with yet more javascript. But what’s wrong with javascript, surely a little more won’t harm anyone.
Well, javascript means more work for the client’s computer and makes loading times (only a fraction) slower. Also, if you’re not that familiar with javascript, is can be quite daunting to keep adding this.object(); and that.var=10; to your code.

I’ve come up with a far simpler and easier method to solve the problem using only valid CSS and good old HTML.
» Read the rest of this entry «

Where Am I?

You are currently browsing entries tagged with html at Web Design.

  • Pages

    • About Patrick Robertson
    • Bits & Bobs
    • Designing the World
    • Tags
    • Websites
  • Categories

    • Apps (5)
    • Holidays (1)
    • Mac OS X (8)
    • SEO (2)
    • Uncategorized (1)
    • Web Design (4)

© Patrick Robertson 2012

Powered by WordPress