Posts Tagged ‘work’

Javascript URI Address Segment Selection December 15th, 2009 by Sheldon Lendrum

I use the great CodeIgniter, PHP Framework a lot, Most site’s now days I create use it. One of the many good things is that way it handles pages request’s and PHP $_SERVER['REQUEST_URI'] to find which page we are on.
Here is how it works;

http://www.sheldon.lendrum.co.nz/posts/my-segment/my-page/15/2009/12

Now the way we do things, is break the site up, based [...]

Changing the RSS refresh rate in Apple Mail April 29th, 2009 by Sheldon Lendrum

I use Apple’s Mail App as my primary mail client on both my personal and work mac’s, and for both machines I have various RSS Feeds subscribed.
I use apple mail as an RSS Client for a couple of reasons,
1) I just like how it works
2) its not just one more application I have to have [...]

Non-Ascii charactors in my AJAX responses !? April 28th, 2009 by Sheldon Lendrum

A while ago, I co-wrote a large site with Ryan while I was working at Zipline Interactive, this site uses Mootools 0.98 as we found to be getting a lot of �������� all through the JAX requested response code.
For the life of US, we couldn’t figure out why? it’s not in the [...]

Controlling Input with Mootools Javascript April 22nd, 2009 by Sheldon Lendrum

On a project that I was recently working on, I had a series of text input boxes that I wanted to be numeric only fields. I have my PHP form validation to check that the data is numeric before entering any information in to the database, and I always use mysql_real_escape_string() on the [...]

BounceBox Update, Version 1.1 March 21st, 2009 by Sheldon Lendrum

I was using an implementation of my BounceBox mootools javascript class on a site I am working on at the moment, and made a couple of additions to the Class that I hope other will enjoy.
The new version1.1 demo can be viewed at http://bouncebox.lendrum.co.nz/ and the change log with a new version 1.1 demo [...]

New Version of 'MiniShowCase Administration' coming – any enhancement requests March 9th, 2009 by Sheldon Lendrum

I am working on adding some features to the MiniShowCase Administration, like better user management, better image scaling options and better description management.
If anyone has any ideas or enhancement requests, please post a comment below, or to be notified via email when the next version is released, send me an email [...]

Alternating row styles with Javascript March 5th, 2009 by Sheldon Lendrum

I am writing a list that outputs a large amount of data in a vertical structure, with many rows the list gets hard to tell which entry is which.
Now, normally I would do this via PHP, something like

< ?php $messages = SQL(‘QUERY TO GET MY MESSAGES’); ?>
< ?php $style [...]

Safari's CSS Support for multiple backgrounds on the same Style February 16th, 2009 by Sheldon Lendrum

I was browsing just now and fond something pretty interesting, Safari supports multiple background image declarations for the same style tag.

.box {
 
background:
/* Upper-left */ url(./corners_01.png),
/* Upper-right */ url(./corners_02.png),
/* Lower-left */ url(./corners_03.png),
/* Lower-right */ url(./corners_04.png),
/* Icon */ url(./icon.png),
/* Gradient */ url(./gradient.png);
 
background-position:
/* Upper-left */ 0% 0%,
/* Upper-right */ 100% 0%,
/* Lower-left */ 0% 100%,
/* Lower-right */ 100% 100%,
/* Icon */ 0.6em 0.6em,
/* Gradient */ 0% 100%;
 
background-repeat:
/* Upper-left */ no-repeat,
/* Upper-right */ no-repeat,
/* Lower-left */ no-repeat,
/* Lower-right */ no-repeat,
/* Icon */ no-repeat,
/* Gradient */ repeat-x;
}