UNPKG

jqwidgets-scripts-custom

Version:

jQWidgets is an advanced jQuery, Angular 7, Vue, React, ASP .NET MVC, Custom Elements and HTML5 UI framework.

39 lines (37 loc) 2 kB
<!DOCTYPE html> <html lang="en"> <head> <title id='Description'>ScrollView Custom Element</title> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1 minimum-scale=1" /> <link rel="stylesheet" href="../../../jqwidgets/styles/jqx.base.css" type="text/css" /> <link rel="stylesheet" href="../../../styles/demos.css" type="text/css" /> <script type="text/javascript" src="../../../scripts/webcomponents-lite.min.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxcore.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxcore.elements.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxbuttons.js"></script> <script type="text/javascript" src="../../../jqwidgets/jqxscrollview.js"></script> <script type="text/javascript" src="../../../scripts/demos.js"></script> <style type="text/css"> .photo { width: 600px; height: 450px; background-color: #000; background-position: center; background-repeat: no-repeat; } </style> </head> <body> <div class="example-description"> This demo illustrates the basic functionality of the Scroll View custom element. </div> <jqx-scroll-view> <div><div class="photo" style="background-image: url(../../../images/imageNature1.jpg)"></div></div> <div><div class="photo" style="background-image: url(../../../images/imageNature2.jpg)"></div></div> <div><div class="photo" style="background-image: url(../../../images/imageNature3.jpg)"></div></div> <div><div class="photo" style="background-image: url(../../../images/imageNature4.jpg)"></div></div> <div><div class="photo" style="background-image: url(../../../images/imageNature5.jpg)"></div></div> </jqx-scroll-view> </body> </html>