filmov
tv
jQuery UI Progress Bar Tutorial | Progress Bar Widget in jQuery UI - jQuery UI Tutorial 09

Показать описание
Notes for You:: Progress bar Widget.
- indicates progress bar.
Creating Progress bar Widget:
1. Create a new HTML document with basic HTML document structure code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Progress bar Demo</title>
</head>
<body>
</body>
</html>
2. Link the necessary jQueryUI libray files to the HTML document
3. Code the structure of the widget (i.e. HTML or markup):
To create a progressbar widget; we need to create a an empty div element
<div id="progressbar"> </div>
4. Select the element using jQuery and call the respective jQuery UI function on it
Select the element using jQuery selector, call progressbar jQuery UI function on it, and pass the value in percentage.
<script type="text/javascript">
$("#progressbar").progressbar({value:50});
</script>
Complete Code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Progress bar Demo</title>
</head>
<body>
<div id="container">
<div id="htmlHeading">HTML</div>
<div id="htmlProgressbar"></div>
<div id="cssHeading">CSS</div>
<div id="cssProgressbar"></div>
<div id="jsHeading">JS</div>
<div id="jsProgressbar"></div>
</div>
<script type="text/javascript">
$("#container").css({"backgroundColor":"lightblue","padding":"5%"});
$("#htmlProgressbar").progressbar({value:90});
$("#cssProgressbar").progressbar({value:80});
$("#jsProgressbar").progressbar({value:70});
</script>
</body>
</html>
Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.
=========================================
Follow the link for next video:
jQuery UI Tutorial 10 - jQuery UI Slider Tutorial
Follow the link for previous video:
jQuery UI Tutorial 08 - jQuery UI Datepicker Tutorial
=========================================
jQuery UI Tutorials Playlist:-
=========================================
Watch My Other Useful Tutorials:-
Bootstrap Tutorials Playlist:-
Dreamweaver Tutorials Playlist:-
PHP Tutorials Playlist:-
=========================================
► Subscribe to our YouTube channel:
► Visit our Website:
=========================================
Hash Tags:-
#ChidresTechTutorials #jQueryUI #jQueryUITutorial
- indicates progress bar.
Creating Progress bar Widget:
1. Create a new HTML document with basic HTML document structure code
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Progress bar Demo</title>
</head>
<body>
</body>
</html>
2. Link the necessary jQueryUI libray files to the HTML document
3. Code the structure of the widget (i.e. HTML or markup):
To create a progressbar widget; we need to create a an empty div element
<div id="progressbar"> </div>
4. Select the element using jQuery and call the respective jQuery UI function on it
Select the element using jQuery selector, call progressbar jQuery UI function on it, and pass the value in percentage.
<script type="text/javascript">
$("#progressbar").progressbar({value:50});
</script>
Complete Code:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title> Progress bar Demo</title>
</head>
<body>
<div id="container">
<div id="htmlHeading">HTML</div>
<div id="htmlProgressbar"></div>
<div id="cssHeading">CSS</div>
<div id="cssProgressbar"></div>
<div id="jsHeading">JS</div>
<div id="jsProgressbar"></div>
</div>
<script type="text/javascript">
$("#container").css({"backgroundColor":"lightblue","padding":"5%"});
$("#htmlProgressbar").progressbar({value:90});
$("#cssProgressbar").progressbar({value:80});
$("#jsProgressbar").progressbar({value:70});
</script>
</body>
</html>
Note:
- replace < with less-than symbol.
- replace > with greater-than symbol.
=========================================
Follow the link for next video:
jQuery UI Tutorial 10 - jQuery UI Slider Tutorial
Follow the link for previous video:
jQuery UI Tutorial 08 - jQuery UI Datepicker Tutorial
=========================================
jQuery UI Tutorials Playlist:-
=========================================
Watch My Other Useful Tutorials:-
Bootstrap Tutorials Playlist:-
Dreamweaver Tutorials Playlist:-
PHP Tutorials Playlist:-
=========================================
► Subscribe to our YouTube channel:
► Visit our Website:
=========================================
Hash Tags:-
#ChidresTechTutorials #jQueryUI #jQueryUITutorial
Комментарии