🗊Презентация JQuery. Converting Numbers to Strings

Нажмите для полного просмотра!
JQuery. Converting Numbers to Strings, слайд №1JQuery. Converting Numbers to Strings, слайд №2JQuery. Converting Numbers to Strings, слайд №3JQuery. Converting Numbers to Strings, слайд №4JQuery. Converting Numbers to Strings, слайд №5JQuery. Converting Numbers to Strings, слайд №6JQuery. Converting Numbers to Strings, слайд №7JQuery. Converting Numbers to Strings, слайд №8JQuery. Converting Numbers to Strings, слайд №9JQuery. Converting Numbers to Strings, слайд №10JQuery. Converting Numbers to Strings, слайд №11JQuery. Converting Numbers to Strings, слайд №12JQuery. Converting Numbers to Strings, слайд №13JQuery. Converting Numbers to Strings, слайд №14JQuery. Converting Numbers to Strings, слайд №15JQuery. Converting Numbers to Strings, слайд №16JQuery. Converting Numbers to Strings, слайд №17JQuery. Converting Numbers to Strings, слайд №18JQuery. Converting Numbers to Strings, слайд №19JQuery. Converting Numbers to Strings, слайд №20JQuery. Converting Numbers to Strings, слайд №21JQuery. Converting Numbers to Strings, слайд №22JQuery. Converting Numbers to Strings, слайд №23JQuery. Converting Numbers to Strings, слайд №24JQuery. Converting Numbers to Strings, слайд №25JQuery. Converting Numbers to Strings, слайд №26JQuery. Converting Numbers to Strings, слайд №27JQuery. Converting Numbers to Strings, слайд №28JQuery. Converting Numbers to Strings, слайд №29JQuery. Converting Numbers to Strings, слайд №30JQuery. Converting Numbers to Strings, слайд №31JQuery. Converting Numbers to Strings, слайд №32JQuery. Converting Numbers to Strings, слайд №33JQuery. Converting Numbers to Strings, слайд №34JQuery. Converting Numbers to Strings, слайд №35JQuery. Converting Numbers to Strings, слайд №36

Вы можете ознакомиться и скачать презентацию на тему JQuery. Converting Numbers to Strings. Доклад-сообщение содержит 36 слайдов. Презентации для любого класса можно скачать бесплатно. Если материал и наш сайт презентаций Mypresentation Вам понравились – поделитесь им с друзьями с помощью социальных кнопок и добавьте в закладки в своем браузере.

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


Слайд 1





Lecture 9
JQuery
Senior-lecturer: Sarsenova Zh.N.
Описание слайда:
Lecture 9 JQuery Senior-lecturer: Sarsenova Zh.N.

Слайд 2





Converting Numbers to Strings
The global method String() can convert numbers to strings.
It can be used on any type of numbers, literals, variables, or expressions:
Описание слайда:
Converting Numbers to Strings The global method String() can convert numbers to strings. It can be used on any type of numbers, literals, variables, or expressions:

Слайд 3






The Number method toString() does the same.
Описание слайда:
The Number method toString() does the same.

Слайд 4





jQuery 
jQuery is a JavaScript Library.
jQuery greatly simplifies JavaScript programming
The purpose of jQuery is to make it much easier to use JavaScript on your website.
Описание слайда:
jQuery  jQuery is a JavaScript Library. jQuery greatly simplifies JavaScript programming The purpose of jQuery is to make it much easier to use JavaScript on your website.

Слайд 5





JQuery
The jQuery library contains the following features:
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
	Many of the biggest companies on the Web use jQuery, such as:
Google
Microsoft
IBM
Netflix
Описание слайда:
JQuery The jQuery library contains the following features: HTML/DOM manipulation CSS manipulation HTML event methods Effects and animations AJAX Utilities Many of the biggest companies on the Web use jQuery, such as: Google Microsoft IBM Netflix

Слайд 6





Adding jQuery to Your Web Pages
There are several ways to start using jQuery on your web site. You can:
Download the jQuery library from jQuery.com
Include jQuery from a CDN, like Google
Place the downloaded file in the same directory as the pages where you wish to use it.
Описание слайда:
Adding jQuery to Your Web Pages There are several ways to start using jQuery on your web site. You can: Download the jQuery library from jQuery.com Include jQuery from a CDN, like Google Place the downloaded file in the same directory as the pages where you wish to use it.

Слайд 7





jQuery CDN
Both Google and Microsoft host jQuery.
To use jQuery from Google or Microsoft, use one of the following:
Google CDN:
Microsoft CDN:
Описание слайда:
jQuery CDN Both Google and Microsoft host jQuery. To use jQuery from Google or Microsoft, use one of the following: Google CDN: Microsoft CDN:

Слайд 8





jQuery Syntax
The jQuery syntax is tailor-made for selecting HTML elements and performing some action on the element(s).
A $ sign to define/access jQuery
A (selector) to "query (or find)" HTML elements
A jQuery action() to be performed on the element(s)
Описание слайда:
jQuery Syntax The jQuery syntax is tailor-made for selecting HTML elements and performing some action on the element(s). A $ sign to define/access jQuery A (selector) to "query (or find)" HTML elements A jQuery action() to be performed on the element(s)

Слайд 9





Example
$(this).hide() - hides the current element.
$("p").hide() - hides all <p> elements.
$(".test").hide() - hides all elements with class="test".
$("#test").hide() - hides the element with id="test".
Описание слайда:
Example $(this).hide() - hides the current element. $("p").hide() - hides all <p> elements. $(".test").hide() - hides all elements with class="test". $("#test").hide() - hides the element with id="test".

Слайд 10





The Document Ready Event
This is to prevent any jQuery code from running before the document is finished loading (is ready).
It is good practice to wait for the document to be fully loaded and ready before working with it. This also allows you to have your JavaScript code before the body of your document, in the head section.
Описание слайда:
The Document Ready Event This is to prevent any jQuery code from running before the document is finished loading (is ready). It is good practice to wait for the document to be fully loaded and ready before working with it. This also allows you to have your JavaScript code before the body of your document, in the head section.

Слайд 11





The shorter method
Описание слайда:
The shorter method

Слайд 12





jQuery Selectors
jQuery selectors are used to "find" (or select) HTML elements based on their name, id, classes, types, attributes, values of attributes and much more.
Описание слайда:
jQuery Selectors jQuery selectors are used to "find" (or select) HTML elements based on their name, id, classes, types, attributes, values of attributes and much more.

Слайд 13





The element Selector
The jQuery element selector selects elements based on the element name.
You can select all <p> elements on a page like this:
Описание слайда:
The element Selector The jQuery element selector selects elements based on the element name. You can select all <p> elements on a page like this:

Слайд 14





Example
Описание слайда:
Example

Слайд 15





The #id Selector
The jQuery #id selector uses the id attribute of an HTML tag to find the specific element.
Описание слайда:
The #id Selector The jQuery #id selector uses the id attribute of an HTML tag to find the specific element.

Слайд 16





The .class Selector
The jQuery class selector finds elements with a specific class.
Описание слайда:
The .class Selector The jQuery class selector finds elements with a specific class.

Слайд 17





More Examples of Jquery Selector
Описание слайда:
More Examples of Jquery Selector

Слайд 18





jQuery Event Methods
All the different visitor's actions that a web page can respond to are called events.
Описание слайда:
jQuery Event Methods All the different visitor's actions that a web page can respond to are called events.

Слайд 19





jQuery Syntax For Event Methods
Описание слайда:
jQuery Syntax For Event Methods

Слайд 20





Example
Описание слайда:
Example

Слайд 21





Events
mouseenter()- The function is executed when the mouse pointer enters the HTML element:
mouseleave() - The function is executed when the mouse pointer leaves the HTML element:
mousedown()- The function is executed, when the left, middle or right mouse button is pressed down, while the mouse is over the HTML element:
mouseup()- The function is executed, when the left, middle or right mouse button is released, while the mouse is over the HTML element:
hover() - The hover() method takes two functions and is a combination of the mouseenter() and mouseleave() methods.
focus()- The function is executed when the form field gets focus:
blur() - The blur() method attaches an event handler function to an HTML form field.
The function is executed when the form field loses focus:
Описание слайда:
Events mouseenter()- The function is executed when the mouse pointer enters the HTML element: mouseleave() - The function is executed when the mouse pointer leaves the HTML element: mousedown()- The function is executed, when the left, middle or right mouse button is pressed down, while the mouse is over the HTML element: mouseup()- The function is executed, when the left, middle or right mouse button is released, while the mouse is over the HTML element: hover() - The hover() method takes two functions and is a combination of the mouseenter() and mouseleave() methods. focus()- The function is executed when the form field gets focus: blur() - The blur() method attaches an event handler function to an HTML form field. The function is executed when the form field loses focus:

Слайд 22





The on() Method
The on() method attaches one or more event handlers for the selected elements.
Attach a click event to a <p> element:
Описание слайда:
The on() Method The on() method attaches one or more event handlers for the selected elements. Attach a click event to a <p> element:

Слайд 23





Example
Описание слайда:
Example

Слайд 24





jQuery Effects - Hide and Show
With jQuery, you can hide and show HTML elements with the hide() and show() methods:
Syntax:
Описание слайда:
jQuery Effects - Hide and Show With jQuery, you can hide and show HTML elements with the hide() and show() methods: Syntax:

Слайд 25





Example
Описание слайда:
Example

Слайд 26





 Hide and Show with speed
The optional speed parameter specifies the speed of the hiding/showing, and can take the following values: "slow", "fast", or milliseconds.
Описание слайда:
 Hide and Show with speed The optional speed parameter specifies the speed of the hiding/showing, and can take the following values: "slow", "fast", or milliseconds.

Слайд 27





jQuery toggle()
With jQuery, you can toggle between the hide() and show() methods with the toggle() method.
Shown elements are hidden and hidden elements are shown:
Syntax:
$(selector).toggle(speed,callback);
Описание слайда:
jQuery toggle() With jQuery, you can toggle between the hide() and show() methods with the toggle() method. Shown elements are hidden and hidden elements are shown: Syntax: $(selector).toggle(speed,callback);

Слайд 28





jQuery Effects - Fading
With jQuery you can fade an element in and out of visibility.
jQuery has the following fade methods:
fadeIn() - is used to fade in a hidden element.
fadeOut() - is used to fade out a visible element.
fadeToggle() - toggles between the fadeIn() and fadeOut() methods.
fadeTo() -  allows fading to a given opacity (value between 0 and 1).
Описание слайда:
jQuery Effects - Fading With jQuery you can fade an element in and out of visibility. jQuery has the following fade methods: fadeIn() - is used to fade in a hidden element. fadeOut() - is used to fade out a visible element. fadeToggle() - toggles between the fadeIn() and fadeOut() methods. fadeTo() -  allows fading to a given opacity (value between 0 and 1).

Слайд 29





Example of Fading
Описание слайда:
Example of Fading

Слайд 30





jQuery Effects - Sliding
The jQuery slide methods slide elements up and down.
With jQuery you can create a sliding effect on elements.
jQuery has the following slide methods:
slideDown()
slideUp()
slideToggle()
Syntax:
$(selector).slideDown(speed,callback);
Описание слайда:
jQuery Effects - Sliding The jQuery slide methods slide elements up and down. With jQuery you can create a sliding effect on elements. jQuery has the following slide methods: slideDown() slideUp() slideToggle() Syntax: $(selector).slideDown(speed,callback);

Слайд 31





Example of Sliding
Описание слайда:
Example of Sliding

Слайд 32





jQuery Animations - The animate() Method
The jQuery animate() method is used to create custom animations.
Syntax: $(selector).animate({params},speed,callback);
Описание слайда:
jQuery Animations - The animate() Method The jQuery animate() method is used to create custom animations. Syntax: $(selector).animate({params},speed,callback);

Слайд 33





Example of animate() method
Описание слайда:
Example of animate() method

Слайд 34





scrollTop()
Description: sets or returns the vertical scrollbar position for the selected elements.
When the scrollbar is on the top, the position is 0.
When used to return the position:
This method returns the vertical position of the scrollbar for the FIRST matched element.
$(selector).scrollTop()  - Return vertical scrollbar position:
$(selector).scrollTop(position) - Set vertical scrollbar position:
Описание слайда:
scrollTop() Description: sets or returns the vertical scrollbar position for the selected elements. When the scrollbar is on the top, the position is 0. When used to return the position: This method returns the vertical position of the scrollbar for the FIRST matched element. $(selector).scrollTop() - Return vertical scrollbar position: $(selector).scrollTop(position) - Set vertical scrollbar position:

Слайд 35





Example of scrollTop() method
Описание слайда:
Example of scrollTop() method

Слайд 36





From w3schools.com
read about JQuery
Описание слайда:
From w3schools.com read about JQuery



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