Posts tagged with 'javascript'

 

 

Browser Pong

Still one of my all time favorite javascript games.

CSS and Javascript articles roundup

Here’s a quick roundup of interesting CSS and Javascript related articles I’ve come across this week:

Everything You Need to Know About the !important CSS Declaration
If you’ve ever worked on a sizable web project you know how hard it can be to figure out which HTML element is using which CSS selector. And since CSS uses cascading, it can be harder to figure out if a CSS selector is overriding another CSS selector. One way to hack and fix this is to use the !important declaration. Of course, that has its downfalls too. This article does a fine job of telling you how !important works and when it doesn’t.

All About Floats
If you’re new to designing with CSS of if you’ve ever been confused about how Floats work in CSS, this article is just perfect. I’ve always had to decide if I wanted to use floats, or position elements absolutely and relatively before creating a template for a project. The author lists how Floats work, why they could break and most importantly, techniques you could use to fix them.

7 JavaScript Differences Between Firefox & IE
Every web browser does things differently (IE6 is a perfect example). But did you know that there a lot of significant differences in the way you use javascript in different browsers? This article lists 7 interesting examples where you have to use different javascript syntax’s to do the same thing. Of course you could always use jQuery (or another javascript library) and just forget all this, but its good to know how javascript works on the bare-bones level.

TinyBox JavaScript Popup Box
After looking around for a small script that does very basic modal pop-ups, I finally found one that does exactly what its supposed to in less than 4kb. Easy to use and no-nonsense

close

Photos