Table of Contents
CPS616 Web TechnologiesLectures on JavaScript IIAdvanced Topics from Cookies to Dynamic HTML
Outline of Advanced Topics
Introduction to Cookies
Cookies - "hidden" alternative
Cookies -- Client Side Files
Specification of a cookie - I
Specification of a cookie - II
Use of Cookies in Server Program
Use of Cookies in Client Program
Cookies Limitations
JavaScript Security
Same Origin Policy
The domain Property
Data Tainting
Signed Scripts
Signed Scripts (cont’d)
Certificates
JAR Files
Using signtool
Writing Signed Scripts
Using Signed Scripts (cont’d)
LiveConnect
LiveConnect (cont’d)
LiveWire
LiveWire (cont’d)
References on XML
HTMLHypertext Markup LanguageBackground
History of HTML
HTML Strengths
HTML Shortcomings
Other Weaknesses
Logical vs. Visual Design
XMLExtensible Markup Language
What is XML?
XML Compared with HTML and SGML
XML Language Elements
Dynamic HTMLHypertext Markup Language
What is DHTML?
Features of DHTML
Architecture of DHTML + XML
Components of DHTML
HTML 4.0
HTML DTDs
HTML 4.0 Features
Intrinsic Events
Deprecated Elements
The <OBJECT> Tag
Cascading Style Sheets
CSS1 (and CSS2) Features
Specification of Styles: External
Embedded Styles
A Larger CSS Example
Document Object Model
Hierarchical Object Components in a Web Page
Use of Position Attributes in JavaScript
DHTML 1) Define Layers -- I
DHTML 1) Define Layers -- II
DHTML -- Decide on Browser
Define a Layer in a Document using <div></div>
Set Positions of a Layer in DHTML
Set Other Properties of a Layer in DHTML
Changing Content of a DHTMLLayer
Capturing Events in Today’s DHTML
A User Event Handler in DHTML
Event Processing Models
Calculating Geometry on Screen
DHTML Summary
Everywhere HTML
|