Web Design Forum: Skateside's Ramblings - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
 
- - - - -
I've made this mistake myself so I'm desperate to ensure it doesn't happen again. If you're going to patch JavaScript, please only do it to standards.

Whoa, just a second... patch?
JavaScript allows us to patch it, to fill in any missing pieces of functionality that aren't supported by the current browser. Now that...
- - - - -

Clone many rows

This is a technique that I've had to use a few times this week. It's remarkably handy when you need to do a lot of DOM manipulation at once.

Think of the following scenario: your client (or boss) has asked you to build a form. Diligently you build it using the latest in form-building theories and jQuery-based validation. Then, right at...
- - - - -
I just found a quick-and-easy trick when you're binding events to inputs.

If you've got an input and you which to bind functionality to it (say an auto-suggestion list or a username check), you probably don't want the functionality to fire every time a key is pressed. Otherwise users will press the shift key or a cursor key, it could...
- - - - -
I haven't written one before, but it seems like the cool thing to do, so I've started. My library is designed to add the ES5 methods to all browsers that don't understand them. It's also supposed to be easy to expand and modify so anyone can add their own methods. At the moment it will only work on standard JavaScript types...
- - - - -
I came across a fun little problem when I was playing around with JavaScript a couple of days ago: how do you compare 2 arrays? Comparing variables is usually easy, but comparing arrays (or objects for that matter) is a much trickier business. Let me show you can I mean:

[codebox]var myString = 'hello world',
myArray =...
- - - - -
Have you ever had to use one of these machines? They're infuriating! I tried to use one today and ended up shouting at the machine (people were probably looking at me, but I'm a guy with long hair and a beard - I'm used to that). It's not just me, a lot of people hate them. A year ago Which? Online said that...
- - - - -

Fixing CSS with jQuery

One of my coding heros, Lea Verou, came up with a fascinating little script at the beginning of the week: detect CSS selector support using JavaScript. At the time, her script didn't work in IE. Then I got my hands on it and sorted that little problem. Now...
- - - - -

Paginating MSSQL 2000

If you have to work with MsSQL 2000, I pity you. I've had to do it and I've honestly lost weeks to one particular problem: pagination. Paginating more modern versions of MsSQL is apparently very easy, but in 2000 it's a real pain. There are a lot of articles out there suggesting various techniques, but I've had difficulties...
- - - - -
Ever had one of those days where you just need to laugh? Here's a few things that worked on me:

Quite simply, why you should learn to pick your battles

[url=http://www.youtube.com/watch?v=GLXvae18-ek&feature=youtu.be]How not to ride a...
- - - - -

addEvent revisited

Last week I proposed an addEvent solution. The solution worked fine, but I'm a tinkerer and I thought I could do better.

The problem
My previous solution failed to fix one major flaw: events added with [font="Courier...
 

  • 2 Pages +
  • 1
  • 2

Recent Entries

Recent Comments

February 2012

S M T W T F S
   1234
5678 9 1011
12131415161718
19202122232425
26272829