🗊Презентация Javascript: introduction to scripting

Нажмите для полного просмотра!
Javascript: introduction to scripting, слайд №1Javascript: introduction to scripting, слайд №2Javascript: introduction to scripting, слайд №3Javascript: introduction to scripting, слайд №4Javascript: introduction to scripting, слайд №5Javascript: introduction to scripting, слайд №6Javascript: introduction to scripting, слайд №7Javascript: introduction to scripting, слайд №8Javascript: introduction to scripting, слайд №9Javascript: introduction to scripting, слайд №10Javascript: introduction to scripting, слайд №11Javascript: introduction to scripting, слайд №12Javascript: introduction to scripting, слайд №13Javascript: introduction to scripting, слайд №14Javascript: introduction to scripting, слайд №15Javascript: introduction to scripting, слайд №16Javascript: introduction to scripting, слайд №17Javascript: introduction to scripting, слайд №18Javascript: introduction to scripting, слайд №19Javascript: introduction to scripting, слайд №20Javascript: introduction to scripting, слайд №21Javascript: introduction to scripting, слайд №22Javascript: introduction to scripting, слайд №23Javascript: introduction to scripting, слайд №24Javascript: introduction to scripting, слайд №25Javascript: introduction to scripting, слайд №26

Вы можете ознакомиться и скачать презентацию на тему Javascript: introduction to scripting. Доклад-сообщение содержит 26 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

Слайды и текст этой презентации


Слайд 1





IS400: Development of Business Applications on the Internet
Fall 2004

Instructor: Dr. Boris Jukic
JavaScript: Introduction to Scripting
Описание слайда:
IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic JavaScript: Introduction to Scripting

Слайд 2





Topics Covered
Writing simple JavaScript programs.
Using input and output statements
Basic memory concepts.
Arithmetic operators.
Decision-making statements.
Relational and equality operators.
Описание слайда:
Topics Covered Writing simple JavaScript programs. Using input and output statements Basic memory concepts. Arithmetic operators. Decision-making statements. Relational and equality operators.

Слайд 3





Introduction 
JavaScript scripting language
Client-side scripting enhances functionality and appearance
Makes pages more dynamic and interactive
Pages can produce immediate response without contacting a server
Customization is possible on the basis of users’ explicit and implicit input
Browser has to have a built-in (JavaScript) interpreter
Foundation for complex server-side scripting
Описание слайда:
Introduction JavaScript scripting language Client-side scripting enhances functionality and appearance Makes pages more dynamic and interactive Pages can produce immediate response without contacting a server Customization is possible on the basis of users’ explicit and implicit input Browser has to have a built-in (JavaScript) interpreter Foundation for complex server-side scripting

Слайд 4





JavaScript: Object-Based Language
There are three object categories in JavaScript: Native Objects, Host Objects, and User-Defined Objects.
Native objects: defined by JavaScript. 
 String, Number, Array, Image, Date, Math, etc. 
Host objects : supplied and always available to JavaScript by the browser environment.
window, document, forms, etc. 
User-defined objects : defined by the author/programmer
Initially, we will use host objects created by the browser and their methods and properties
Описание слайда:
JavaScript: Object-Based Language There are three object categories in JavaScript: Native Objects, Host Objects, and User-Defined Objects. Native objects: defined by JavaScript. String, Number, Array, Image, Date, Math, etc. Host objects : supplied and always available to JavaScript by the browser environment. window, document, forms, etc. User-defined objects : defined by the author/programmer Initially, we will use host objects created by the browser and their methods and properties

Слайд 5





Scripting
Two approaches to client side scripting:
Inline scripting
Written in the <body> section of a document
JavaScript code embedded in the <head> section
Описание слайда:
Scripting Two approaches to client side scripting: Inline scripting Written in the <body> section of a document JavaScript code embedded in the <head> section

Слайд 6





Scripting
<script> tag
Indicate that the text is part of a script
type attribute
Specifies the type of file and the scripting language use:
Value: “text/javascript”
IE and Netscape use JavaScript as default scripting language
writeln method of the document object
Write a line in the document and position the cursor in the next line
Does not affect the actual rendering of the HTML document
What is being written by JavaScript is the set of html instructions that in turn determine the rendering of the html document
Описание слайда:
Scripting <script> tag Indicate that the text is part of a script type attribute Specifies the type of file and the scripting language use: Value: “text/javascript” IE and Netscape use JavaScript as default scripting language writeln method of the document object Write a line in the document and position the cursor in the next line Does not affect the actual rendering of the HTML document What is being written by JavaScript is the set of html instructions that in turn determine the rendering of the html document

Слайд 7





welcome.html
(1 of 1)
Описание слайда:
welcome.html (1 of 1)

Слайд 8





welcome2.html
(1 of 1)
Описание слайда:
welcome2.html (1 of 1)

Слайд 9





welcome3.html
1 of 1
Описание слайда:
welcome3.html 1 of 1

Слайд 10





welcome4.html
1 of 1
Описание слайда:
welcome4.html 1 of 1

Слайд 11


Javascript: introduction to scripting, слайд №11
Описание слайда:

Слайд 12





Common Escape Sequences
Описание слайда:
Common Escape Sequences

Слайд 13





Dynamic Pages 
A script can adapt the content based on explicit input from the user or other information
System clock: Time of day
Hidden input
Cookies
User input can be collected by invoking the prompt method of a window object 
This will display a dialog box that prompts user for input
Описание слайда:
Dynamic Pages A script can adapt the content based on explicit input from the user or other information System clock: Time of day Hidden input Cookies User input can be collected by invoking the prompt method of a window object This will display a dialog box that prompts user for input

Слайд 14





welcome5.html
(1 of 2)
Описание слайда:
welcome5.html (1 of 2)

Слайд 15


Javascript: introduction to scripting, слайд №15
Описание слайда:

Слайд 16


Javascript: introduction to scripting, слайд №16
Описание слайда:

Слайд 17





Simple Script Example: Adding Integers 
The values of numbers to be added are obtained as user inputs colleted through the window.prompt method
parseInt
Converts its string argument to an integer
What happens if the conversion is not done?
See example on our web site
NaN (not a number): value returned if non-numerical values are passed to the paresInt method
Описание слайда:
Simple Script Example: Adding Integers The values of numbers to be added are obtained as user inputs colleted through the window.prompt method parseInt Converts its string argument to an integer What happens if the conversion is not done? See example on our web site NaN (not a number): value returned if non-numerical values are passed to the paresInt method

Слайд 18





Addition.html
(1 of 2)
Описание слайда:
Addition.html (1 of 2)

Слайд 19





Addition.html
(2 of 2)
Описание слайда:
Addition.html (2 of 2)

Слайд 20


Javascript: introduction to scripting, слайд №20
Описание слайда:

Слайд 21





Arithmetic Operators and order of evaluation
Описание слайда:
Arithmetic Operators and order of evaluation

Слайд 22





Relational (Inequality and Equality) Operators
Описание слайда:
Relational (Inequality and Equality) Operators

Слайд 23





welcome6.html
(1 of 3)
Описание слайда:
welcome6.html (1 of 3)

Слайд 24





welcome6.html
(2 of 3)
Описание слайда:
welcome6.html (2 of 3)

Слайд 25





welcome6.html
(3 of 3)
Описание слайда:
welcome6.html (3 of 3)

Слайд 26





Order of Precedence for the Basic Operators
Описание слайда:
Order of Precedence for the Basic Operators



Похожие презентации
Mypresentation.ru
Загрузить презентацию