Tag Archives: javascript

Recreate the 3D slider effect from the Android home page

I think I’ve mentioned on here before that once in a while I’ll see an effect on a web page and I’ll become obsessed with how it was down. The latest thing to catch my attention is the 3D slide … Continue reading

Posted in HTML/CSS | Tagged , | Leave a comment

getElementsByClassName might not work the way you think it does

I think a large amount of web designers and developers are like me, they start out using jQuery and then move to coding more with pure JavaScript. I’m not saying one or the other is better, although I’ve come to … Continue reading

Posted in javascript | Tagged , | 4 Comments

Working with CSS3 can be fun but it can also be amazingly frustrating

I recently decided to redesign my site and the main CSS3 effect I want to use works great in Webkit browsers but not so much in Firefox, at least not yet. I know you’re thinking, wait, what about Opera or … Continue reading

Posted in general | Tagged , | Leave a comment

Stuff they don’t tell JavaScript noobs: Making your arguments optional

One thing that took me a while to grasp fully when it came to programming was passing arguments to functions. I don’t know why but it was one of those things that I just got one day. But something that … Continue reading

Posted in javascript | Tagged , , | 3 Comments

Draw a rectangle using the mouse on the canvas in less than 40 lines of JavaScript

One thing that is a lot easier than people think is using the mouse to interact with the canvas tag. To show how easy, I wrote some code that allows a user to draw a rectangle on the canvas. This … Continue reading

Posted in javascript | Tagged , , | 1 Comment

Stuff they don’t tell JavaScript noobs: Convert a string into a variable name

Hey, I said this might turn into a series and it’s turned into a series of two! Last week, I put up a post about creating something you’d usually use jQuery to write using pure JavaScript. And as usual, I … Continue reading

Posted in javascript | Tagged , , | Leave a comment

I’ve been thinking about jQuery

The more and more that I work with JavaScript, the less and less I find myself using jQuery. And then I saw this tweet and it made realized that there are two types of jQuery users. There’s the designers and … Continue reading

Posted in javascript | Tagged , | Leave a comment

Stuff they don’t tell JavaScript noobs: Making copies of arrays

I’ve decided to do a series, it might be a one post series but I hope not, about the situations I’ve come across while learning JavaScript. JavaScript has been around for forever in internet years and I’ve discovered a couple … Continue reading

Posted in javascript | Tagged , | 1 Comment

More advanced HTML5 canvas sprite sheet walk cycle animation

One of the key tricks that have been used for at least 30 years by game developers is using sprite sheets to animate characters. This can be done using the HTML5 canvas tag and I’ve talked about it on here … Continue reading

Posted in web development | Tagged , , | 3 Comments

Quick overview of using addEventListener in HTML5 games

Coming from ActionScript, there are a few things that I forget people who are learning JavaScript who have programming backgrounds with languages like PHP or even straight up HTML/CSS might not be familiar with some of the functions or methods … Continue reading

Posted in web development | Tagged , , | Leave a comment