Dojo Dijit and HTML5 in Real world applications/University/1. Introduction: Difference between revisions

From PMISwiki
Jump to navigation Jump to search
No edit summary
Line 20: Line 20:
document.getElementById() versus dojo.byId
document.getElementById() versus dojo.byId


Examples of the use of dojo.byId may be found in the [[Dojo_Dijit_and_HTML5_in_Real_world_applications/Dojo/dojo.addOnLoad |dojo.addOnLoad]] example and [http://pmis.biz/training/javascript/ Advanced JavaScript examples].
The JavaScript explained in class may be found [http://pmis.biz/rwa/ here]: Menu list.
 
Other examples of the use of dojo.byId may be found in the [[Dojo_Dijit_and_HTML5_in_Real_world_applications/Dojo/dojo.addOnLoad |dojo.addOnLoad]] example and [http://pmis.biz/training/javascript/ Advanced JavaScript examples].


===Document Object Model===
===Document Object Model===

Revision as of 04:33, 10 March 2012


1. Introduction

Introduction to the course

  • Powerpoint..
  • The course description may be downloaded here.

The invention of JavaScript: JavaScript history

Ecma document

Reserved Words

My first dojo function: dojo.byId()

document.getElementById() versus dojo.byId

The JavaScript explained in class may be found here: Menu list.

Other examples of the use of dojo.byId may be found in the dojo.addOnLoad example and Advanced JavaScript examples.

Document Object Model

Object, method, property, value

Advanced JavaScript examples.

window.location.reload()

Advanced JavaScript examples.

CSS: display vs. visibility

Advanced JavaScript examples.

Home work assignment

  1. Make a list of JavaScript reserved words
  2. Describe the difference between the CSS display:none and visibility:hidden. Preferable by using a javascript.
  3. Describe the the CSS display:inline and display:block. Preferable by using a javascript.
  4. Use the test below. There are 20 questions: You need to answer more than 85% (17/20) correct.

References

Document History

Version Date Author Status Purpose of update
1 14 Feb 2012 PSA Draft Not released.
2 09 Mar 2012 PSA Final New home work assignments.