SEO, PHP and Javascript Web Dev

Search Engine Optimisation, Web Development and Network Administration Ramblings

Tip of the Week : Javascript Dom Quirk In IE using getElementById

This is a fun one I found today - using getElementById() in IE7 to find a dom element on the page, if you are getting some interesting errors then one possibility is that you have two elements with the same id - or the same name attribute it seems.

Tip of the Week : Resize images in Ubuntu

Looking around for an easy way to resize my images ready for uploading to facebook. Sure, you can use gimp batch processes, but that looks like an awful lot of work.
You could install Davids batch processor for Gimp.
OR, you could do it the truly easy way with a single command:

Tip of the Week : Carriage Returns in PHP Plain Text Emails

Another quick tip for the archives. Carriage returns on lines in your view finishing with a php statement. Try sending these views as an email and somehow the resulting email does not look entirely correct. The carriage returns have not been passed through.
This is a quick, hackish, tip so I really didn’t get to the […]

-->
  • Photography