All posts tagged ‘thau’

File Under: JavaScript, Programming

Advanced JavaScript Tutorial – Lesson 2

Welcome back. Now that your brain has re-acclimated to the semicolons and curly braces of the JavaScript world, it’s time to learn something useful and exciting.

We’ll spend this lesson sampling those tasty treats known as cookies – the little bits of information you can leave on the computers of people who visit your site. Cookies allow you to give your pages a personal touch. For instance, with a cookie you can “remember” people’s names and serve up a warm greeting every time they re-visit. You can also remember user preferences – if a visitor generally comes in on a slow connection, a cookie lets you know to automatically serve them minimal graphics.


Continue Reading “Advanced JavaScript Tutorial – Lesson 2″ »
File Under: JavaScript, Programming

Advanced JavaScript Tutorial – Lesson 3

As we learn more and more JavaScript, we can build increasingly complex applications. In the previous lesson, we added long-term memory to our JavaScripts using cookies. Now we’ll add a sense of time to our growing stock of JavaScript knowledge.


Continue Reading “Advanced JavaScript Tutorial – Lesson 3″ »
File Under: JavaScript, Programming

Advanced JavaScript Tutorial – Lesson 4

In the previous lesson, we looked at the many different things you can do with text and strings. Today we’ll focus on two different types of data:images and objects. By the end of this lesson, you’ll know how to:

  • Use image maps with JavaScript
  • Preload images to speed up your image swaps
  • Create your own objects to make big scripts comprehensible
  • Use associative arrays to rapidly access all the objects in your scripts

We’ll get the ball rolling with image maps.


Continue Reading “Advanced JavaScript Tutorial – Lesson 4″ »
File Under: JavaScript, Programming

Advanced JavaScript Tutorial – Lesson 5

Wow – you made it to the last and final lesson! Stunning. As a reward for all your hard work, I’ve made this lesson extremely relaxing – no nitty-gritty code to wrap your mind around and no hairy homework, just coding theory and pointers to resources.

The topics for the day are:

  • Tools to help you write JavaScript
  • Debugging techniques
  • Tips for making your JavaScript code run quickly


Continue Reading “Advanced JavaScript Tutorial – Lesson 5″ »
File Under: JavaScript, Programming

JavaScript Tutorial – Lesson 2

Review

In the last lesson, you learned about where JavaScript goes and how it looks. Now it’s time to start learning the language. In this lesson, you’ll learn how JavaScript stores information, how it makes decisions based on that information, and how to change images based on user interaction.

Ready? It’s time to learn the fundamentals of computer programming. First stop, variables.


Continue Reading “JavaScript Tutorial – Lesson 2″ »