Lexden Publishing Ltd - Educational Publications
 
 
 
Product Search

Register For Tutor's Resourses Contact Lexden Publishing About Lexden Publishing Write for Lexden Publishing Ordering Information Home Page Sign up to our newsletter update service



 JavaScript: Creating Dynamic Web Pages - E Gandy & S Sobart ISBN: 1904995071

ISBN: 1-904995-07-1

Price: £20.00
Special Offer: £10.00
Online orders are for UK only

[How to order]

[Inspection requests]

[View Sample Pages]

[Book Reviews]

[Contents]

[Index]

[Resources]

Pub. Date: September 2005

Binding: Paperback

Extent: 384 pages

 


HOME
: COMPUTING: JAVASCRIPT: CREATING DYNAMIC WEB PAGES: CONTENTS

JavaScript:Creating Dynamic Web Pages
Elizabeth Gandy and Simon Stobart

Chapter 1: Introduction

  • Welcome
  • What is JavaScript?
  • Who is this book for?
  • What will you need?
  • Structure of the book
  • Conventions and style
  • What next…

Chapter 2: Tools, versions and issues

  • Introduction
  • Tools
  • Versions
  • Issues
  • JavaScript security
  • Summary

Chapter 3: HTML/XHTML primer

  • Introduction
  • The structure of an XHTML document
  • Basic formatting
  • XHTML comments
  • Headings
  • Hyperlinks
  • Images
  • Hyperlinked images
  • Special characters and formatting
  • Lists
  • Tables
  • Summary

Chapter 4: Stylesheets

  • Introduction
  • In-line styles
  • Document-level stylesheets
  • External stylesheets
  • Cascading effects of stylesheets
  • Contextual style rules
  • Style classes
  • Tag-less styles
  • Summary

Chapter 5: Variables, data types and the object model

  • Introduction
  • What are data types?
  • Constants
  • What are variables?
  • Variable identifiers
  • Variables and types
  • Declaring variables
  • Variable naming
  • Variable scope
  • The document object model
  • Summary

Chapter 6: Expressions, operands and operators

  • Introduction
  • Expressions
  • Operands
  • Operators
  • Operator precedence
  • Summary

Chapter 7: Flow of control

  • Introduction
  • if statement
  • else statement
  • else if
  • switch
  • Loops
  • while loop
  • for loop
  • do while loops
  • Multiple loops
  • Nested loops
  • for in loop
  • break statement
  • continue
  • Summary

Chapter 8: User defined functions

  • Introduction
  • Our first function
  • Multiple function calls
  • Passing parameters
  • Accessing global variables
  • Local variables
  • Returning values
  • Multiple functions
  • Invoking functions within functions
  • Defining functions within functions
  • Recursive functions
  • Coins function example
  • Summary

Chapter 9: Arrays

  • Introduction
  • What is an array?
  • Single-dimensional arrays
  • Array literals
  • Multi-dimensional arrays
  • Adding new array elements
  • Determining an array’s length
  • Sorting an array
  • Arrays to strings
  • Reversing an array
  • Slicing and splicing
  • Stack processing
  • Summary

Chapter 10: Dates, time and random numbers

  • Introduction
  • Getting the date and time
  • Generating a random number
  • Random graphics
  • A calendar example
  • Summary

Chapter 11: Interaction with the user (dialogs and forms)

  • Introduction
  • JavaScript dialogs
  • The alert dialog
  • The confirm dialog
  • The prompt dialog
  • Providing basic functionality with a form
  • Obtaining data from a form
  • Writing data to a form
  • Summary

Chapter 12: Events and event handling

  • Introduction
  • What is an event?
  • Error handling
  • Hiding all errors
  • Time-generated events
  • Time-generated status bar message
  • Event handlers
  • Summary

Chapter 13: Navigation and redirection

  • Introduction
  • The document location property
  • The location replace method
  • Handling non-JavaScript browsers
  • Summary

Chapter 14: Windows

  • Introduction
  • Creating a new window
  • Creating a window with content
  • Window name
  • Setting window properties
  • Allowing the user to create windows
  • Closing windows
  • Duplicate windows
  • Window focus
  • Putting it all together
  • Summary

Chapter 15: Frames

  • Introduction
  • Basic frames
  • Embedded frames
  • Handling non-frames browsers
  • Interaction between frames
  • Using JavaScript with frames
  • iFrames
  • Summary

Chapter 16: More forms

  • Introduction
  • Checkboxes
  • Radio buttons
  • Selection lists
  • Form validation
  • Form validation in client/server systems
  • Forms and windows combined
  • Calendar-picker example
  • Summary

Chapter 17: User defined objects

  • Introduction
  • Class and prototyped object-oriented programming languages
  • Creating objects and their properties
  • Adjusting and manipulating object properties
  • Viewing the properties of an object
  • Constructors
  • Object methods
  • Inheritance
  • Summary

Chapter 18: Cookies

  • Introduction
  • Writing a simple cookie
  • Reading cookies
  • Writing and reading multiple cookies
  • A generic cookie reading function
  • The lifetime of a cookie
  • Access to a cookie
  • Cookie security
  • Limitations of cookies
  • Summary

Chapter 19: Layers and animation

  • Introduction
  • Our first layers
  • Positioning the layers
  • Layering
  • Visibility
  • Width and height
  • Borders
  • Padding
  • Layer ids
  • Browser detection
  • Changing the background colour of a layer
  • Changing the position of a layer
  • Changing the content of a layer
  • Animated layers
  • Summary

Chapter 20: How to create an “animated” table

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 21: How to create “intelligent” graphics

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 22: How to create an animated merging image

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 23: How to create images that follow the mouse

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 24: How to create a “snowing” web page

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 25: A “floating” calendar

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 26: A drop-down menu system

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 27: A moveable clock

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script

Chapter 28: A game of “Pong”

  • Introduction
  • Why would we want to do this?
  • What does it look like?
  • How are we going to do it?
  • The completed script
  • Summary

Index

Authors:

Elizabeth Gandy is a Senior Lecturer in Software Engineering at the University of Sunderland’s School of Computing and Technology. She has taught on a number of degree courses and has used JavaScript extensively, both in private companies and whilst lecturing.

Dr Simon Stobart is a Principal Lecturer at the University of Sunderland’s School of Computing and Technology and is currently responsible for coordination and management of taught postgraduate programmes within the School of Computing and Technology. He is an experienced author with this being the sixth textbook that he has written.

 


See Also...

Computer Networks (2nd Edition)

Computer Systems Architecture

Databases

JavaScript: Creating Dynamic Web Pages

Multimedia Computing

User Interface Design

Visual Programming

Newsletter
Would you like to find out more about our publishing activities? Simply register with us using the link below to be added to our mailing list.
[click here]