Archive | January, 2007

Dynamically Adding Links (a href) using javascript and DOM

I’m adding this post strictly for the reason that every time I need to do this I spend about 20 minutes searching for an example, only to find various broken posts and incorrect answers. This way works for me every time. If you have an alternate way that works better or is less code, please [...]

1 Comment Continue Reading →

Dynamically updating CSS based on browser width

I was working on an interface with a liquid layout recently that looked pretty good when the browser was at a relatively average width (600 to 1000 pixels). However, when I checked it on a really wide screen, the layout started to get a little wierd. Everything stretched as it should, but with a large [...]

6 Comments Continue Reading →