Indiana University Southeast

Jeff Barnes, Adjunct Faculty
Academic Homepage

http://homepages.ius.edu/jesbarne | jesbarne@ius.edu | (812) 207-6045

Home

 
 

A221 - Multimedia Programming (JavaScript)

JavaScript Links:

 

Jeff's Top 10 JavaScript Debugging Tips

  • Test your script.  If it doesn't work, you won't get very many points.  Look at the status bar in your web browser.  It should not say "Error" or "Error on Page".
  • Always save your work before you test it.
  • Make sure your curly braces { and } always match up.
  • JavaScript is cASE sENSITIVE.  That means if you call function "helloThere()" but your function is named "Hellothere()", it isn't going to work.
  • Make sure your HTML tags match up.  I.e., if you have a <TD>, make sure you also have a </TD>.
  • Make sure your quotes (")match up.
  • Make sure your parenthesis match up.  If you start with a "(", make sure you end with a ")".
  • DO NOT save your file in Internet Explorer.  Always use Notepad (or whatever Javascript editor you are using) to save your HTML or JS files.

About this Class

This class will be run exclusively through OnCourse.  This is a 8 week course that uses JavaScript to enhance Web page and Web site designs.

Course Outline
The purpose of this course is to provide you with a comprehensive understanding of the basics to more advanced features of JavaScript.

By the end of this class, you will understand:

  • To teach the fundamentals of programming with JavaScript.

  • Describe the object-based nature of JavaScript.

  • Use functions and variables to create simple input and dialog boxes.

  • Use string and arithmetic operators to manipulate and display user input.

  • Describe and implement internal program data storage using variables, arrays, and cookies.

  • Create common event handlers using JavaScript statements.

  • Apply JavaScript statements to control program flow.

  • Use JavaScript to perform common client-side tasks, including data and window handling.

  • Create custom JavaScript objects to store and manipulate program data.

Course Objectives

  • Integrating JavaScript and HTML

  • Creating Pop-up Windows

  • Adding Scrolling Messages

  • Validating Forms

  • Enhancing the Use of Image and Form Objects

  • Cookies, Arrays, Frames

Prerequisites
This class assumes a deeper knowledge of computers and their concepts than a "Word" or "Excel" class. A basic understanding of HTML is required (which you can self-study sufficiently - it is covered in the Appendixes).  A basic understanding of programming techniques is helpful but not required.  If this is your first computer class, you will have to work a little harder (prerequisites such as C106 or W200 are recommended). I recommend going through the "Managing Your Files" presentation that I have posted in Document Library. It is from an Excel class, so it will mention Excel and Microsoft Office. Everyone should read the Introduction and Forward in the textbook.

This class assumes you are familiar with WinZip and/or Zip-style archives.  If not, please see:  How to Use WinZip ...

Textbook
Textbook is New Perspective's JavaScript and AJAX 2nd Edition (Complete). There is a link above and in OnCourse to the publisher's web site for the book. The student files are posted in the Resources section of OnCourse. Please download these files to your PC (or, if you will be working from multiple locations, a flash/thumb drive is recommended).

Required Software
This course will make extensive use of Notepad (the text file editor included in all versions of Windows). This course also assumes you are using Windows Vista/7 and Internet Explorer version 6 or 7.

Schedule
The class is 8 weeks long. Each week you'll have a Tutorial (class participation) and a lab assignment (homework). The turtorial is simply the chapter in the book. Each chapter is called a "Tutorial" and you'll work on a few different scripts. Simply attach these scripts to the Assignment in OnCourse. The Lab (homework) will be assigned from the end of chapter Case Projects. You'll have 1 week to complete both the Project and the Lab. I cannot accept late Projects, but you can turn in the Labs up to two days late (with a penalty).

The class week runs Monday to Monday. Homework is posted in OnCourse on Monday and is due the following Monday. The results of your weekly Tutorial (book chapter) is also due the following Monday. 

I can't stress enough that you should start the Projects/Labs early in the week. They are due on Monday, so if you wait until the last minute, you'll be doing them over the weekend and you may not have access to the many resources at IUS (including myself) available to help you with a problem.

Class Participation
Even though this is an on-line class, class participation is required and is part of your grade. Please be sure to "check in" each week by posting the results of your weekly project.
 


IU seal, red on white, small

Jeff's Links:

IUS Links:

IU Links:


Block IU
Copyright © 2009. All rights reserved.  Any duplication of ideas or logos strictly prohibited without permission.
Last updated: 12/31/2011 09:51:09 -0500 | Please send any comments to: jesbarne@ius.edu

Indiana University Southeast | 4201 Grant Line Rd. New Albany, IN 47150 | (812) 941-2333 | Contact Us

Emergency Information | Campus Police | Maps