In this quick start, you'll learn how to add the ListView widget to an HTML project using HTML markup and jQuery script.
Drop down and copy markup
Paste in your favorite text editor. |
Copy Code |
---|---|
<!DOCTYPE HTML> <HTML> <head> </head> <body> </body> </HTML> |
Drop down and copy references to paste inside the head tags
References |
Copy Code |
---|---|
<!--jQuery References--> <script src="http://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script> <script src="http://code.jquery.com/mobile/1.4.0/jquery.mobile-1.4.0.min.js" type="text/javascript"></script> <!--Theme--> <link href="http://cdn.wijmo.com/themes/1.4.0/moonlight-mobile/jquery-wijmo.css" rel="stylesheet" type="text/css" /> <!--Wijmo Widgets CSS--> <link href="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20183.140.min.css" rel="stylesheet" type="text/css" /> <!--Wijmo Widgets JavaScript--> <script src="http://cdn.wijmo.com/jquery.wijmo-open.all.3.20183.140.min.js" type="text/javascript"></script> <script src="http://cdn.wijmo.com/jquery.wijmo-pro.all.3.20183.140.min.js" type="text/javascript"></script> |
Drop down and copy markup to paste inside the body tags
Markup |
Copy Code |
---|---|
<div data-role="page"> <div data-role="content"> <ul data-role="listview" data-autodividers="true" data-theme="c"> <li><a href="http://wijmo.com/docs/wijmo/webframe.html#Accordion.html">Accordion</a> </li> <li><a href="http://wijmo.com/docs/wijmo/webframe.html#BarChart.html">Barchart</a> </li> <li><a href="http://wijmo.com/docs/wijmo/webframe.html#BubbleChart.html">Bubblechart</a></li> <li><a href="http://wijmo.com/docs/wijmo/webframe.html#Calendar.html">Calendar</a> </li> <li><a href="http://wijmo.com/docs/wijmo/webframe.html#Carousel.html">Carousel</a> </li> </ul> </div> </div> |
Drop down and copy markup to paste inside the head tags
Script |
Copy Code |
---|---|
Type your example code here. It will be automatically colorized when you switch to Preview or build the help system. |