Skip to content

SiteKickr Web Development

search
search
Apr06April 7, 2011JavaScript, One-Liner

Focus on first empty field

It's a common practice on many sites to put the focus on the first input. But, in many cases, this first input has already been…

Apr06Brick Wall

Image shows in Firefox but not in Internet Explorer (IE)

In almost every case, this is going to be an issue related to the format of the image itself. The image may be in a…

Apr05December 15, 2011JavaScript

Forcing external links to open in a new window with Javascript

This task becomes relatively easy with the help of our friend jQuery. The code below is almost too simple! $('a').each(function() {     url = $(this).attr('href');…

Apr04CSS, Style & Presentation, HTML

CSS Sprites – the elegant way

I was trying to come up with a way to use image sprites for background images, without needing to specify a ton of class names.…

Apr01April 1, 2011CSS, Style & Presentation, HTML, JavaScript

Table background on alternate rows

3 ways to do this: jQuery #1 $('table tr:even').addClass('even'); jQuery #2 $('table tr:even').css('background-color', '#eee'); Background Image If you are certain that all table rows will…

Posts navigation

Previous 1 2
© 2026 SiteKickr