filmov
tv
jQuery UI Blind Effect - jQuery UI Tutorial 21

Показать описание
Notes for You:: jQuery UI Blind Effect - jQuery UI Tutorial 21
- hides or shows an HTML element by wrapping (blinding) it in a specified direction.
Options: settings
direction: (default: "up")
- indicates the direction in which the HTML element is wrapped (hidden) or unwrapped (shown)
- possible values: up, down, left, right, vertical, horizontal
mode: (default: "hide")
- indicates whether to show or hide the HTML element
- possible values: hide, show
1. Create a new HTML document with basic HTML document structure code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Blind Effect</title>
</head>
<body>
</body>
</html>
2. Link the necessary jQueryUI libray files to the HTML document
3. Create HTML element:
<p id="firstp">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using LoremIpsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use LoremIpsum as their default model text, and a search for 'loremipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
4. Select the HTML element using jQuery selector, call jQuery UI effect function on it
<script type="text/javascript">
$("#firstp").effect("blind", {direction:"horizontal"},400, function(){
$("#firstp").effect("blind", {direction:"horizontal",mode:"show"},400);
});
</script>
Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.
=========================================
Follow the link for next video:
jQueryUI Tutorial 22 - jQueryUI Bounce Animation Effect
Follow the link for previous video:
jQueryUI Tutorial 20 - jQueryUI Effect Method | jQueryUI Effect Function With Example
=========================================
- hides or shows an HTML element by wrapping (blinding) it in a specified direction.
Options: settings
direction: (default: "up")
- indicates the direction in which the HTML element is wrapped (hidden) or unwrapped (shown)
- possible values: up, down, left, right, vertical, horizontal
mode: (default: "hide")
- indicates whether to show or hide the HTML element
- possible values: hide, show
1. Create a new HTML document with basic HTML document structure code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Blind Effect</title>
</head>
<body>
</body>
</html>
2. Link the necessary jQueryUI libray files to the HTML document
3. Create HTML element:
<p id="firstp">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using LoremIpsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use LoremIpsum as their default model text, and a search for 'loremipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p>
4. Select the HTML element using jQuery selector, call jQuery UI effect function on it
<script type="text/javascript">
$("#firstp").effect("blind", {direction:"horizontal"},400, function(){
$("#firstp").effect("blind", {direction:"horizontal",mode:"show"},400);
});
</script>
Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.
=========================================
Follow the link for next video:
jQueryUI Tutorial 22 - jQueryUI Bounce Animation Effect
Follow the link for previous video:
jQueryUI Tutorial 20 - jQueryUI Effect Method | jQueryUI Effect Function With Example
=========================================