index.html 177 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
  6. <title>Mobiscroll</title>
  7. <!-- jQuery Include -->
  8. <script src="http://code.jquery.com/jquery-1.12.2.min.js"></script>
  9. <!-- Bootstrap Include -->
  10. <link href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  11. <!-- Mobiscroll JS and CSS Includes -->
  12. <link href="css/mobiscroll.custom-3.0.0-beta2.min.css" rel="stylesheet" type="text/css" />
  13. <script src="js/mobiscroll.custom-3.0.0-beta2.min.js" type="text/javascript"></script>
  14. <style type="text/css">
  15. /*****************************************************************/
  16. /* Demo Page styling, you can ignore this in your implementation */
  17. body {
  18. margin: 0;
  19. padding: 0;
  20. font-family: arial, verdana, sans-serif;
  21. -webkit-font-smoothing: antialiased;
  22. }
  23. input,
  24. select {
  25. width: 100%;
  26. margin: 0 0 10px 0;
  27. padding: 10px;
  28. border: 1px solid #ccc;
  29. border-radius: 0;
  30. background: #fff;
  31. font-family: arial, verdana, sans-serif;
  32. text-shadow: none;
  33. color: #000;
  34. font-size: 15px;
  35. -webkit-appearance: none;
  36. -webkit-box-sizing: border-box;
  37. -moz-box-sizing: border-box;
  38. box-sizing: border-box;
  39. }
  40. button {
  41. display: inline-block;
  42. text-decoration: none;
  43. padding: 0.8em 2.6em;
  44. margin: 20px 10px 0 0;
  45. outline: 0;
  46. border: 0;
  47. overflow: visible;
  48. cursor: pointer;
  49. color: #fff;
  50. background: #5185a8;
  51. font-family: arial, verdana, sans-serif;
  52. font-size: 14px;
  53. font-weight: 100;
  54. }
  55. button:hover {
  56. background: #34566d;
  57. }
  58. .header {
  59. padding: .625em;
  60. background: #5185a8;
  61. }
  62. .header h1 {
  63. margin: 0;
  64. padding: 0;
  65. color: #fff;
  66. text-align: center;
  67. font-size: 1.25em;
  68. font-weight: bold;
  69. text-shadow: 1px 1px 1px #000;
  70. text-overflow: ellipsis;
  71. overflow: hidden;
  72. white-space: nowrap;
  73. }
  74. .demo-main,
  75. .demo-wrapper {
  76. padding: 1em;
  77. }
  78. .demo-iframe {
  79. padding: 10px 10px 10px 10px;
  80. text-shadow: none;
  81. }
  82. /* Demo page styling END */
  83. /*************************/
  84. /* Basic usage demo styling */
  85. .demo-stars {
  86. padding: 0!important;
  87. }
  88. .demo-stars .md-products {
  89. list-style: none;
  90. margin: 0;
  91. padding: 0;
  92. -webkit-user-select: none;
  93. -moz-user-select: none;
  94. -ms-user-select: none;
  95. -ms-touch-action: none;
  96. }
  97. .demo-stars .md-products li {
  98. position: relative;
  99. list-style: none;
  100. margin: 0;
  101. padding: 0;
  102. background: #f0f0f0;
  103. border-bottom: 1px solid #b1b1b1;
  104. border-top: 1px solid #fff;
  105. }
  106. .demo-stars .md-products li h3 {
  107. margin: 5px 0;
  108. font-weight: normal;
  109. font-size: initial;
  110. }
  111. .demo-stars .md-products li p {
  112. margin: 5px 0;
  113. color: #717171;
  114. }
  115. .demo-stars .md-products li .md-product {
  116. height: 50px;
  117. padding: 5px 65px 5px 60px;
  118. color: #333;
  119. text-align: left;
  120. text-decoration: none;
  121. cursor: pointer;
  122. }
  123. .demo-stars .md-products li .md-active {
  124. background: #ddd;
  125. }
  126. .demo-stars .md-products li .md-rate {
  127. position: absolute;
  128. right: 0;
  129. top: 0;
  130. width: 60px;
  131. height: 60px;
  132. text-align: right;
  133. }
  134. .demo-stars .md-products li .md-rating {
  135. padding-right: 10px;
  136. font-size: 17px;
  137. line-height: 60px;
  138. }
  139. .demo-stars .md-products img {
  140. position: absolute;
  141. left: 0;
  142. top: 0;
  143. width: 60px;
  144. height: 60px;
  145. border: 0;
  146. }
  147. @media (max-width: 960px) {
  148. .demo-cont-c .demo-stars {
  149. padding: 0;
  150. }
  151. .demo-cont-c .demo-phone-c .demo-phone {
  152. margin: 0 -20px 40px;
  153. }
  154. }
  155. /* Image Only demo styling */
  156. .md-image-fruit .dw-ul .dw-li .mbsc-img-w {
  157. text-align: center;
  158. }
  159. .md-image-fruit .mbsc-sc-whl-sc .mbsc-sc-itm .mbsc-img-w {
  160. text-align: center;
  161. }
  162. /* Basic usage demo styling */
  163. .md-color {
  164. display: inline-block;
  165. width: 30px;
  166. height: 30px;
  167. line-height: 30px;
  168. text-indent: 40px;
  169. color: #000;
  170. border: 1px solid #000;
  171. background: #ff0000;
  172. margin: 5px 0;
  173. white-space: nowrap;
  174. }
  175. .demo-display-inline .md-color {
  176. display: block;
  177. width: auto;
  178. height: auto;
  179. text-indent: 0;
  180. margin: 0;
  181. border: 0;
  182. background: none !important;
  183. }
  184. .demo-display-inline .md-color .mbsc-fr-inline,
  185. .demo-display-inline .md-color .dw-inline {
  186. text-align: left;
  187. }
  188. /* Two inputs demo styling */
  189. .demo-display-inline .demo-twoinputs input,
  190. .demo-display-inline .demo-twoinputs label,
  191. .demo-display-inline .demo-twoinputs br {
  192. display: none;
  193. }
  194. /* Create, remove, update demo styling */
  195. .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
  196. .demo-comp-listview .demo-iframe { padding: 0; }
  197. .demo-comp-listview .demo-note { margin: 10px; }
  198. .md-demo-note {
  199. cursor: pointer;
  200. }
  201. .md-wo-list {
  202. line-height: 30px;
  203. text-shadow: none;
  204. }
  205. .md-wo-list li {
  206. line-height: normal;
  207. }
  208. .md-wo-status {
  209. font-size: 10px;
  210. -webkit-backface-visibility: hidden;
  211. }
  212. .md-wo-empty {
  213. padding: 10px;
  214. }
  215. /* Sort handle demo styling */
  216. .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
  217. .demo-comp-listview .demo-iframe { padding: 0; }
  218. .demo-comp-listview .demo-note { margin: 10px; }
  219. .demo-sorthandle ul {
  220. font-size: 16px;
  221. }
  222. /* Action menu demo styling */
  223. .demo-comp-listview .mbsc-lv-fixed-header-ctx { text-shadow: none; }
  224. .demo-comp-listview .demo-iframe { padding: 0; }
  225. .demo-comp-listview .demo-note { margin: 10px; }
  226. .demo-actionmenu ul {
  227. font-size: 18px;
  228. }
  229. .demo-notification {
  230. position: absolute;
  231. width: 100%;
  232. z-index: 100001;
  233. left: 0;
  234. bottom: 20px;
  235. text-align: center;
  236. opacity: 0;
  237. pointer-events: none;
  238. -webkit-transition: opacity 200ms;
  239. -moz-transition: opacity 200ms;
  240. transition: opacity 200ms;
  241. }
  242. .demo-notification-fixed {
  243. position: fixed;
  244. }
  245. .demo-notification-i {
  246. display: inline-block;
  247. background: #000;
  248. color: #fff;
  249. line-height: 20px;
  250. text-shadow: none;
  251. box-shadow: 0 0 3px rgba(0, 0, 0, .5);
  252. border-radius: 3px;
  253. padding: 5px;
  254. }
  255. .demo-notification-v {
  256. opacity: 1;
  257. }
  258. /* Currency demo styling */
  259. .demo-currency {
  260. padding: 0!important;
  261. }
  262. .md-stepper-np .md-demo {
  263. text-align: center;
  264. }
  265. .md-stepper-np .md-demo .mbsc-desc {
  266. font-size: 16px;
  267. padding-bottom: 16px;
  268. }
  269. .md-stepper-np .md-demo .mbsc-btn {
  270. margin-top: 36px;
  271. }
  272. .md-stepper-np .md-title {
  273. margin-top: 40px;
  274. }
  275. .md-stepper-np {
  276. display: inline-block;
  277. width: 100%;
  278. height: 100%;
  279. }
  280. .md-stepper-np .mbsc-segmented {
  281. left: 50%;
  282. margin-left: -122px;
  283. }
  284. .md-stepper-np.mbsc-form .mbsc-stepper .mbsc-segmented-item {
  285. width: 4.375em;
  286. }
  287. .md-stepper-np.mbsc-form .mbsc-stepper .mbsc-segmented-item:nth-child(3) {
  288. width: 6.25em;
  289. }
  290. .md-stepper-np.mbsc-form .mbsc-stepper input {
  291. left: 5em;
  292. width: 7.1428em;
  293. }
  294. /* Tab menu demo styling */
  295. .demo-comp-menustrip #demombscr { position: static; }
  296. .demo-comp-menustrip .demo-iframe { padding: 0; min-height: 300px; }
  297. .demo-comp-menustrip .demo-phone-np .demo-phone { margin: 0 -20px -20px -20px; }
  298. .md-tab-h {
  299. display: none;
  300. }
  301. .demo-tabs .md-tabs-sel {
  302. display: block;
  303. }
  304. .md-app-ic {
  305. position: absolute;
  306. top: 50%;
  307. left: 15px;
  308. margin-top: -12px;
  309. font-size: 20px;
  310. line-height: 24px;
  311. }
  312. .md-app-detail {
  313. display: block;
  314. overflow: hidden;
  315. }
  316. .md-app-size {
  317. font-size: 10px;
  318. display: block;
  319. opacity: .6;
  320. float: left;
  321. }
  322. .md-app-date {
  323. font-size: 10px;
  324. display: block;
  325. opacity: .6;
  326. float: right;
  327. }
  328. .md-apps-ul li.mbsc-lv-item {
  329. padding-left: 50px;
  330. }
  331. .demo-display-top .md-apps-ul {
  332. padding-top: 47px;
  333. }
  334. .demo-display-top .mbsc-lv-android .md-apps-ul {
  335. padding-top: 34px;
  336. }
  337. .demo-display-top .mbsc-lv-android-holo .md-apps-ul {
  338. padding-top: 45px;
  339. }
  340. .demo-display-top .mbsc-lv-bootstrap .md-apps-ul {
  341. padding-top: 36px;
  342. }
  343. .demo-display-top .mbsc-lv-ios .md-apps-ul {
  344. padding-top: 42px;
  345. }
  346. .demo-display-top .mbsc-lv-ios-classic .md-apps-ul {
  347. padding-top: 38px;
  348. }
  349. .demo-display-top .mbsc-lv-jqm .md-apps-ul {
  350. padding-top: 33px;
  351. }
  352. .demo-display-top .mbsc-lv-sense-ui .md-apps-ul {
  353. padding-top: 39px;
  354. }
  355. .demo-display-top .mbsc-lv-sense .md-apps-ul {
  356. padding-top: 39px;
  357. }
  358. .demo-display-top .mbsc-lv-wp .md-apps-ul {
  359. padding-top: 75px;
  360. }
  361. .demo-display-bottom .demo-tabs {
  362. padding-bottom: 75px;
  363. }
  364. /* Dialog demo styling */
  365. .md-text-center {
  366. text-align: center;
  367. }
  368. .md-dialog {
  369. width: 260px;
  370. margin: 0 auto;
  371. }
  372. /* Alert message demo styling */
  373. .md-body {
  374. max-width: 280px;
  375. margin: 0 auto;
  376. }
  377. /* Progress demo styling */
  378. .md-progress-demo .md-demo .mbsc-progress-cont {
  379. padding: 1em;
  380. -webkit-box-sizing: border-box;
  381. box-sizing: border-box;
  382. }
  383. .md-progress-demo .md-upload.mbsc-progress,
  384. .md-progress-demo .md-demo.mbsc-progress {
  385. overflow: hidden;
  386. }
  387. .md-progress-demo .md-demo .mbsc-progress-step-label {
  388. overflow: visible;
  389. }
  390. .md-progress-demo.mbsc-wp .mbsc-progress {
  391. min-height: 3.75em;
  392. }
  393. .md-progress-demo .md-upload .mbsc-progress-cont {
  394. padding-right: 1em;
  395. -webkit-box-sizing: border-box;
  396. box-sizing: border-box;
  397. }
  398. </style>
  399. <script>
  400. // -------------------------------------------------------------------
  401. // Demo page code START, you can ignore this in your implementation
  402. $(function () {
  403. var noDisplay = {
  404. listview: true,
  405. forms: true,
  406. menustrip: 'partial'
  407. };
  408. function init() {
  409. var demo = $('#demo').val(),
  410. component = demo.split(/(?=[A-Z])/)[0],
  411. demoContainer = $('.demo-wrapper-' + demo);
  412. // reset options
  413. resetOptions(component);
  414. // hide all demos
  415. $('.demo-wrapper').hide();
  416. // show current demo
  417. demoContainer.show();
  418. // reinitialize demo
  419. window[demo + 'Init']();
  420. demoContainer.trigger('mbsc-enhance');
  421. }
  422. function resetOptions(component) {
  423. var displayValue = $('#display').val();
  424. // reset display
  425. $('#display').parent().show();
  426. $('#display option').show();
  427. if (noDisplay[component] === 'partial') {
  428. if (displayValue == 'modal' || displayValue == 'bubble') {
  429. $('#display').val('inline');
  430. }
  431. $('#display option[value="modal"]').hide();
  432. $('#display option[value="bubble"]').hide();
  433. } else if (noDisplay[component] === true) {
  434. $('#display').parent().hide();
  435. }
  436. }
  437. $('#main').find('.settings').change(init);
  438. init();
  439. });
  440. // Demo page code END
  441. // -------------------------------------------------------------------
  442. /* Basic usage date demo script */
  443. function datetimeDateInit() {
  444. $(function () {
  445. // Mobiscroll Date & Time initialization
  446. $('#datetimeDate-demo').mobiscroll().date({
  447. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  448. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  449. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  450. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-mode
  451. });
  452. $('#datetimeDate-show').click(function () {
  453. $('#datetimeDate-demo').mobiscroll('show');
  454. return false;
  455. });
  456. $('#datetimeDate-clear').click(function () {
  457. $('#datetimeDate-demo').mobiscroll('clear');
  458. return false;
  459. });
  460. });
  461. }
  462. /* Datetime with invalids demo script */
  463. function datetimeInvalidInit() {
  464. $(function () {
  465. var now = new Date();
  466. // Mobiscroll Date & Time initialization
  467. $('#datetimeInvalid-demo').mobiscroll().datetime({
  468. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  469. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  470. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  471. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-mode
  472. min: new Date(now.getFullYear(), now.getMonth(), now.getDate()), // More info about min: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-min
  473. invalid: ['w0', 'w6', '5/1', '12/24', '12/25'], // More info about invalid: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-invalid
  474. dateOrder: 'Mddyy', // More info about dateOrder: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!localization-dateOrder
  475. timeWheels: 'HHii' // More info about timeWheels: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!localization-timeWheels
  476. });
  477. $('#datetimeInvalid-show').click(function () {
  478. $('#datetimeInvalid-demo').mobiscroll('show');
  479. return false;
  480. });
  481. $('#datetimeInvalid-clear').click(function () {
  482. $('#datetimeInvalid-demo').mobiscroll('clear');
  483. return false;
  484. });
  485. });
  486. }
  487. /* Basic usage time demo script */
  488. function datetimeTimeInit() {
  489. $(function () {
  490. // Mobiscroll Date & Time initialization
  491. $('#datetimeTime-demo').mobiscroll().time({
  492. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  493. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  494. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  495. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-mode
  496. headerText: false, // More info about headerText: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-headerText
  497. maxWidth: 90 // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-maxWidth
  498. });
  499. $('#datetimeTime-show').click(function () {
  500. $('#datetimeTime-demo').mobiscroll('show');
  501. return false;
  502. });
  503. $('#datetimeTime-clear').click(function () {
  504. $('#datetimeTime-demo').mobiscroll('clear');
  505. return false;
  506. });
  507. });
  508. }
  509. /* Basic usage demo script */
  510. function selectBasicInit() {
  511. $(function () {
  512. // Mobiscroll Select initialization
  513. $('#selectBasic-demo').mobiscroll().select({
  514. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  515. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  516. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  517. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-mode
  518. minWidth: 200 // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-minWidth
  519. });
  520. $('#selectBasic-show').click(function () {
  521. $('#selectBasic-demo').mobiscroll('show');
  522. return false;
  523. });
  524. $('#selectBasic-clear').click(function () {
  525. $('#selectBasic-demo').mobiscroll('clear');
  526. return false;
  527. });
  528. });
  529. }
  530. /* Group options demo script */
  531. function selectGroupselectInit() {
  532. $(function () {
  533. // Mobiscroll Select initialization
  534. $('#selectGroupselect-demo').mobiscroll().select({
  535. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  536. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  537. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  538. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-mode
  539. label: 'City', // More info about label: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-label
  540. group: true, // More info about group: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-group
  541. groupLabel: 'Country', // More info about groupLabel: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-groupLabel
  542. width: [100, 170] // More info about width: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-width
  543. });
  544. $('#selectGroupselect-show').click(function () {
  545. $('#selectGroupselect-demo').mobiscroll('show');
  546. return false;
  547. });
  548. $('#selectGroupselect-clear').click(function () {
  549. $('#selectGroupselect-demo').mobiscroll('clear');
  550. return false;
  551. });
  552. });
  553. }
  554. /* Basic usage demo script */
  555. function ratingStarsInit() {
  556. $(function () {
  557. // Mobiscroll Rating initialization
  558. $('.md-product').mobiscroll().rating({
  559. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  560. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  561. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  562. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-mode
  563. label: 'Rate Item', // More info about label: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-label
  564. onSet: function (event, inst) { // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta2/rating#!event-onSet
  565. $(this).closest('li').find('.md-rating').text(event.valueText + ' of 5');
  566. },
  567. onBeforeShow: function (event, inst) { // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta2/rating#!event-onBeforeShow
  568. inst.setVal($(this).closest('li').find('.md-rating').text()[0], true);
  569. }
  570. });
  571. });
  572. }
  573. /* Grades demo script */
  574. function ratingGradesInit() {
  575. $(function () {
  576. // Mobiscroll Rating initialization
  577. $('#ratingGrades-demo').mobiscroll().rating({
  578. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  579. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  580. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  581. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-mode
  582. style: 'grade', // More info about style: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-style
  583. label: 'Rating' // More info about label: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-label
  584. });
  585. $('#ratingGrades-show').click(function () {
  586. $('#ratingGrades-demo').mobiscroll('show');
  587. return false;
  588. });
  589. $('#ratingGrades-clear').click(function () {
  590. $('#ratingGrades-demo').mobiscroll('clear');
  591. return false;
  592. });
  593. });
  594. }
  595. /* Distance demo script */
  596. function measurementDistanceInit() {
  597. $(function () {
  598. // Mobiscroll Measurement initialization
  599. $('#measurementDistance-demo').mobiscroll().distance({
  600. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  601. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  602. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  603. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/measurement#!opt-mode
  604. });
  605. $('#measurementDistance-show').click(function () {
  606. $('#measurementDistance-demo').mobiscroll('show');
  607. return false;
  608. });
  609. $('#measurementDistance-clear').click(function () {
  610. $('#measurementDistance-demo').mobiscroll('clear');
  611. return false;
  612. });
  613. });
  614. }
  615. /* Speed demo script */
  616. function measurementSpeedInit() {
  617. $(function () {
  618. // Mobiscroll Measurement initialization
  619. $('#measurementSpeed-demo').mobiscroll().speed({
  620. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  621. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  622. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  623. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/measurement#!opt-mode
  624. });
  625. $('#measurementSpeed-show').click(function () {
  626. $('#measurementSpeed-demo').mobiscroll('show');
  627. return false;
  628. });
  629. $('#measurementSpeed-clear').click(function () {
  630. $('#measurementSpeed-demo').mobiscroll('clear');
  631. return false;
  632. });
  633. });
  634. }
  635. /* Temperature demo script */
  636. function measurementTemperatureInit() {
  637. $(function () {
  638. // Mobiscroll Measurement initialization
  639. $('#measurementTemperature-demo').mobiscroll().temperature({
  640. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  641. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  642. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  643. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/measurement#!opt-mode
  644. });
  645. $('#measurementTemperature-show').click(function () {
  646. $('#measurementTemperature-demo').mobiscroll('show');
  647. return false;
  648. });
  649. $('#measurementTemperature-clear').click(function () {
  650. $('#measurementTemperature-demo').mobiscroll('clear');
  651. return false;
  652. });
  653. });
  654. }
  655. /* Mass demo script */
  656. function measurementMassInit() {
  657. $(function () {
  658. // Mobiscroll Measurement initialization
  659. $('#measurementMass-demo').mobiscroll().mass({
  660. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  661. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  662. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  663. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/measurement#!opt-mode
  664. });
  665. $('#measurementMass-show').click(function () {
  666. $('#measurementMass-demo').mobiscroll('show');
  667. return false;
  668. });
  669. $('#measurementMass-clear').click(function () {
  670. $('#measurementMass-demo').mobiscroll('clear');
  671. return false;
  672. });
  673. });
  674. }
  675. /* Force demo script */
  676. function measurementForceInit() {
  677. $(function () {
  678. // Mobiscroll Measurement initialization
  679. $('#measurementForce-demo').mobiscroll().force({
  680. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  681. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  682. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  683. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/measurement#!opt-mode
  684. });
  685. $('#measurementForce-show').click(function () {
  686. $('#measurementForce-demo').mobiscroll('show');
  687. return false;
  688. });
  689. $('#measurementForce-clear').click(function () {
  690. $('#measurementForce-demo').mobiscroll('clear');
  691. return false;
  692. });
  693. });
  694. }
  695. /* Basic usage demo script */
  696. function listTreelistInit() {
  697. $(function () {
  698. // Mobiscroll Treelist initialization
  699. $('#listTreelist-demo').mobiscroll().treelist({
  700. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  701. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  702. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  703. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-mode
  704. width: [90, 160, 170], // More info about width: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-width
  705. placeholder: 'Please Select ...', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-placeholder
  706. labels: ['Region', 'Supervisor', 'Tech'] // More info about labels: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-labels
  707. });
  708. $('#listTreelist-show').click(function () {
  709. $('#listTreelist-demo').mobiscroll('show');
  710. return false;
  711. });
  712. $('#listTreelist-clear').click(function () {
  713. $('#listTreelist-demo').mobiscroll('clear');
  714. return false;
  715. });
  716. });
  717. }
  718. /* Image and Text demo script */
  719. function imageTextInit() {
  720. $(function () {
  721. // Mobiscroll Image initialization
  722. $('#imageText-demo').mobiscroll().image({
  723. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  724. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  725. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  726. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-mode
  727. placeholder: 'Please Select ...', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-placeholder
  728. labels: ['Make'], // More info about labels: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-labels
  729. enhance: true, // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-enhance
  730. defaultValue: ['Citroen'] // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-defaultValue
  731. });
  732. $('#imageText-show').click(function () {
  733. $('#imageText-demo').mobiscroll('show');
  734. return false;
  735. });
  736. $('#imageText-clear').click(function () {
  737. $('#imageText-demo' + '_dummy').val('');
  738. return false;
  739. });
  740. });
  741. }
  742. /* Image Only demo script */
  743. function imageBasicInit() {
  744. $(function () {
  745. // Mobiscroll Image initialization
  746. $('#imageBasic-demo').mobiscroll().image({
  747. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  748. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  749. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  750. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-mode
  751. cssClass: 'md-image-fruit',
  752. labels: ['Select Favorite Fruit'], // More info about labels: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-labels
  753. placeholder: 'Please Select ...', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-placeholder
  754. width: 200, // More info about width: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-width
  755. enhance: true // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-enhance
  756. });
  757. $('#imageBasic-show').click(function () {
  758. $('#imageBasic-demo').mobiscroll('show');
  759. return false;
  760. });
  761. $('#imageBasic-clear').click(function () {
  762. $('#imageBasic-demo' + '_dummy').val('');
  763. return false;
  764. });
  765. });
  766. }
  767. /* Unordered list demo script */
  768. function listUnorderedInit() {
  769. $(function () {
  770. // Mobiscroll Treelist initialization
  771. $('#listUnordered-demo').mobiscroll().treelist({
  772. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  773. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  774. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  775. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-mode
  776. labels: ['Ingredients'], // More info about labels: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-labels
  777. placeholder: 'Please Select ...', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-placeholder
  778. width: 200 // More info about width: https://docs.mobiscroll.com/3-0-0_beta2/list#!opt-width
  779. });
  780. $('#listUnordered-show').click(function () {
  781. $('#listUnordered-demo').mobiscroll('show');
  782. return false;
  783. });
  784. $('#listUnordered-clear').click(function () {
  785. $('#listUnordered-demo').mobiscroll('clear');
  786. return false;
  787. });
  788. });
  789. }
  790. /* With time scroller demo script */
  791. function calendarTimeInit() {
  792. $(function () {
  793. // Mobiscroll Calendar initialization
  794. $('#calendarTime-demo').mobiscroll().calendar({
  795. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  796. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  797. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  798. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-mode
  799. controls: ['calendar', 'time'], // More info about controls: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-controls
  800. showScrollArrows: true // More info about showScrollArrows: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-showScrollArrows
  801. });
  802. $('#calendarTime-show').click(function () {
  803. $('#calendarTime-demo').mobiscroll('show');
  804. return false;
  805. });
  806. $('#calendarTime-clear').click(function () {
  807. $('#calendarTime-demo').mobiscroll('clear');
  808. return false;
  809. });
  810. });
  811. }
  812. /* Basic usage demo script */
  813. function calendarBasicInit() {
  814. $(function () {
  815. // Mobiscroll Calendar initialization
  816. $('#calendarBasic-demo').mobiscroll().calendar({
  817. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  818. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  819. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  820. mode: $('#mode').val() // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-mode
  821. });
  822. $('#calendarBasic-show').click(function () {
  823. $('#calendarBasic-demo').mobiscroll('show');
  824. return false;
  825. });
  826. $('#calendarBasic-clear').click(function () {
  827. $('#calendarBasic-demo').mobiscroll('clear');
  828. return false;
  829. });
  830. });
  831. }
  832. /* Multi day select demo script */
  833. function calendarMultidayInit() {
  834. $(function () {
  835. var now = new Date(),
  836. year = now.getFullYear(),
  837. month = now.getMonth();
  838. // Mobiscroll Calendar initialization
  839. $('#calendarMultiday-demo').mobiscroll().calendar({
  840. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  841. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  842. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  843. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-mode
  844. counter: true, // More info about counter: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-counter
  845. select: 'multiple', // More info about select: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-select
  846. defaultValue: [new Date(year, month, 1), new Date(year, month, 2), new Date(year, month, 10)] // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta2/calendar#!opt-defaultValue
  847. });
  848. $('#calendarMultiday-show').click(function () {
  849. $('#calendarMultiday-demo').mobiscroll('show');
  850. return false;
  851. });
  852. $('#calendarMultiday-clear').click(function () {
  853. $('#calendarMultiday-demo').mobiscroll('clear');
  854. return false;
  855. });
  856. });
  857. }
  858. /* Multiple select demo script */
  859. function selectMultipleInit() {
  860. $(function () {
  861. // Mobiscroll Select initialization
  862. $('#selectMultiple-demo').mobiscroll().select({
  863. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  864. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  865. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  866. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-mode
  867. minWidth: 200 // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta2/select#!opt-minWidth
  868. });
  869. $('#selectMultiple-show').click(function () {
  870. $('#selectMultiple-demo').mobiscroll('show');
  871. return false;
  872. });
  873. $('#selectMultiple-clear').click(function () {
  874. $('#selectMultiple-demo').mobiscroll('clear');
  875. return false;
  876. });
  877. });
  878. }
  879. /* Basic usage demo script */
  880. function timespanBasicInit() {
  881. $(function () {
  882. // Mobiscroll Timespan initialization
  883. $('#timespanBasic-demo').mobiscroll().timespan({
  884. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  885. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  886. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  887. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/timespan#!opt-mode
  888. wheelOrder: 'iiss' // More info about wheelOrder: https://docs.mobiscroll.com/3-0-0_beta2/timespan#!opt-wheelOrder
  889. });
  890. $('#timespanBasic-show').click(function () {
  891. $('#timespanBasic-demo').mobiscroll('show');
  892. return false;
  893. });
  894. $('#timespanBasic-clear').click(function () {
  895. $('#timespanBasic-demo').mobiscroll('clear');
  896. return false;
  897. });
  898. });
  899. }
  900. /* Day/Hour/Minute span demo script */
  901. function timespanDhmInit() {
  902. $(function () {
  903. // Mobiscroll Timespan initialization
  904. $('#timespanDhm-demo').mobiscroll().timespan({
  905. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  906. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  907. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  908. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/timespan#!opt-mode
  909. wheelOrder: 'ddhhii' // More info about wheelOrder: https://docs.mobiscroll.com/3-0-0_beta2/timespan#!opt-wheelOrder
  910. });
  911. $('#timespanDhm-show').click(function () {
  912. $('#timespanDhm-demo').mobiscroll('show');
  913. return false;
  914. });
  915. $('#timespanDhm-clear').click(function () {
  916. $('#timespanDhm-demo').mobiscroll('clear');
  917. return false;
  918. });
  919. });
  920. }
  921. /* Countdown demo script */
  922. function timerCountdownInit() {
  923. $(function () {
  924. // Mobiscroll Timer initialization
  925. $('#timerCountdown-demo').mobiscroll().timer({
  926. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  927. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  928. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  929. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/timer#!opt-mode
  930. targetTime: 10, // More info about targetTime: https://docs.mobiscroll.com/3-0-0_beta2/timer#!opt-targetTime
  931. maxWheel: 'minutes', // More info about maxWheel: https://docs.mobiscroll.com/3-0-0_beta2/timer#!opt-maxWheel
  932. minWidth: 100, // More info about minWidth: https://docs.mobiscroll.com/3-0-0_beta2/timer#!opt-minWidth
  933. onFinish: function () { // More info about onFinish: https://docs.mobiscroll.com/3-0-0_beta2/timer#!event-onFinish
  934. alert('Countdown finished!');
  935. }
  936. });
  937. });
  938. }
  939. /* Basic usage demo script */
  940. function colorHxInit() {
  941. $(function () {
  942. // Mobiscroll Color initialization
  943. $('#colorHx-demo').mobiscroll().color({
  944. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  945. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  946. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  947. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/color#!opt-mode
  948. onBeforeShow: function (event, inst) { // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta2/color#!event-onBeforeShow
  949. if ($(this).text()) {
  950. inst.setVal($(event.target).text());
  951. } else {
  952. $(this).text('#colorHx-ff0000').css('background-color', 'red');
  953. }
  954. },
  955. onSet: function (event, inst) { // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta2/color#!event-onSet
  956. $(this).text(event.valueText).css('background-color', event.valueText);
  957. }
  958. });
  959. });
  960. }
  961. /* Basic usage demo script */
  962. function rangeBasicInit() {
  963. $(function () {
  964. // Mobiscroll Range initialization
  965. $('#rangeBasic-demo').mobiscroll().range({
  966. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  967. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  968. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  969. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-mode
  970. defaultValue: [new Date(2014, 3, 10), new Date(2014, 3, 17)] // More info about defaultValue: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-defaultValue
  971. });
  972. $('#rangeBasic-show').click(function () {
  973. $('#rangeBasic-demo').mobiscroll('show');
  974. return false;
  975. });
  976. $('#rangeBasic-clear').click(function () {
  977. $('#rangeBasic-demo').mobiscroll('clear');
  978. return false;
  979. });
  980. });
  981. }
  982. /* Time range demo script */
  983. function rangeTimeInit() {
  984. $(function () {
  985. // Mobiscroll Range initialization
  986. $('#rangeTime-demo').mobiscroll().range({
  987. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  988. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  989. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  990. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-mode
  991. controls: ['time'], // More info about controls: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-controls
  992. maxWidth: 100 // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-maxWidth
  993. });
  994. $('#rangeTime-show').click(function () {
  995. $('#rangeTime-demo').mobiscroll('show');
  996. return false;
  997. });
  998. $('#rangeTime-clear').click(function () {
  999. $('#rangeTime-demo').mobiscroll('clear');
  1000. return false;
  1001. });
  1002. });
  1003. }
  1004. /* Two inputs demo script */
  1005. function rangeTwoinputsInit() {
  1006. $(function () {
  1007. // Mobiscroll Range initialization
  1008. $('#rangeTwoinputs-demo').mobiscroll().range({
  1009. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1010. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1011. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1012. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-mode
  1013. startInput: '#rangeTwoinputs-startDate', // More info about startInput: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-startInput
  1014. endInput: '#rangeTwoinputs-endDate' // More info about endInput: https://docs.mobiscroll.com/3-0-0_beta2/range#!opt-endInput
  1015. });
  1016. });
  1017. }
  1018. /* Events demo script */
  1019. function eventcalendarEventInit() {
  1020. $(function () {
  1021. var now = new Date();
  1022. // Mobiscroll Event Calendar initialization
  1023. $('#eventcalendarEvent-demo').mobiscroll().eventcalendar({
  1024. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1025. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1026. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1027. mode: $('#mode').val(),
  1028. layout: 'liquid', // More info about layout: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-layout
  1029. firstDay: 1, // More info about firstDay: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!localization-firstDay
  1030. yearChange: true, // More info about yearChange: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-yearChange
  1031. calendarScroll: 'horizontal', // More info about calendarScroll: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-calendarScroll
  1032. showOuterDays: true, // More info about showOuterDays: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-showOuterDays
  1033. showEventCount: true, // More info about showEventCount: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-showEventCount
  1034. data: [{ // More info about data: https://docs.mobiscroll.com/3-0-0_beta2/eventcalendar#!opt-data
  1035. d: new Date(now.getFullYear(), now.getMonth(), 8, 8, 0),
  1036. text: 'Green box to post office',
  1037. color: '#eventcalendarEvent-6e7f29'
  1038. }, {
  1039. d: new Date(now.getFullYear(), now.getMonth(), 8, 8, 45),
  1040. text: 'Quick mtg. with Martin',
  1041. color: '#eventcalendarEvent-de3d83'
  1042. }, {
  1043. d: new Date(now.getFullYear(), now.getMonth(), 8, 9, 30),
  1044. text: 'Product team mtg.',
  1045. color: '#eventcalendarEvent-f67944'
  1046. }, {
  1047. d: new Date(now.getFullYear(), now.getMonth(), 8, 11, 0),
  1048. text: 'Stakeholder mtg.',
  1049. color: '#eventcalendarEvent-f67944'
  1050. }, {
  1051. d: new Date(now.getFullYear(), now.getMonth(), 8, 12, 30),
  1052. text: 'Lunch @ Butcher\'s',
  1053. color: '#eventcalendarEvent-00aabb'
  1054. }, {
  1055. d: new Date(now.getFullYear(), now.getMonth(), 8, 15, 0),
  1056. text: 'General orientation',
  1057. color: '#eventcalendarEvent-f67944'
  1058. }, {
  1059. d: (now.getMonth() + 1) + '/14',
  1060. text: 'Dexter BD',
  1061. color: '#eventcalendarEvent-37bbe4'
  1062. }, {
  1063. d: (now.getMonth() + 1) + '/5',
  1064. text: 'Luke BD',
  1065. color: '#eventcalendarEvent-37bbe4'
  1066. }, {
  1067. d: 'w3',
  1068. text: 'Employment (Semi-weekly)',
  1069. color: '#eventcalendarEvent-635045'
  1070. }, {
  1071. d: 'w5',
  1072. text: 'Employment (Semi-weekly)',
  1073. color: '#eventcalendarEvent-635045'
  1074. }, {
  1075. start: new Date(now.getFullYear(), now.getMonth(), 26),
  1076. end: new Date(now.getFullYear(), now.getMonth(), 31),
  1077. text: 'Dean OFF',
  1078. color: '#eventcalendarEvent-e7b300'
  1079. }, {
  1080. start: new Date(now.getFullYear(), (now.getMonth() + 1), 5),
  1081. end: new Date(now.getFullYear(), (now.getMonth() + 1), 14),
  1082. text: 'Mike OFF',
  1083. color: '#eventcalendarEvent-e7b300'
  1084. }, {
  1085. d: '11/2',
  1086. text: 'File Form 720 for the third quarter',
  1087. color: '#eventcalendarEvent-a63e14'
  1088. }, {
  1089. d: '11/2',
  1090. text: 'File Form 730 and pay tax on wagers accepted during September',
  1091. color: '#eventcalendarEvent-a63e14'
  1092. }, {
  1093. d: '11/2',
  1094. text: 'File Form 2290 and pay the tax for vehicles first used during September',
  1095. color: '#eventcalendarEvent-a63e14'
  1096. }, {
  1097. d: '11/2',
  1098. text: 'File Form 941 for the third quarter',
  1099. color: '#eventcalendarEvent-a63e14'
  1100. }, {
  1101. d: '11/2',
  1102. text: 'Deposit FUTA owed through Sep if more than $500',
  1103. color: '#eventcalendarEvent-a63e14'
  1104. }, {
  1105. d: '11/30',
  1106. text: 'Deposit payroll tax for payments on Nov 21-24 if the semiweekly deposit rule applies',
  1107. color: '#eventcalendarEvent-a63e14'
  1108. }, {
  1109. d: '11/30',
  1110. text: 'File Form 730 and pay tax on wagers accepted during October',
  1111. color: '#eventcalendarEvent-a63e14'
  1112. }, {
  1113. d: '11/30',
  1114. text: 'File Form 2290 and pay the tax for vehicles first used during October',
  1115. color: '#eventcalendarEvent-a63e14'
  1116. }]
  1117. });
  1118. $('#eventcalendarEvent-show').click(function () {
  1119. $('#eventcalendarEvent-demo').mobiscroll('show');
  1120. return false;
  1121. });
  1122. });
  1123. }
  1124. /* Create, remove, update demo script */
  1125. function listviewUpdateInit() {
  1126. $(function () {
  1127. var ids = 6;
  1128. // Mobiscroll Listview initialization
  1129. $('#listviewUpdate-demo').mobiscroll().listview({
  1130. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1131. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1132. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1133. mode: $('#mode').val(),
  1134. sortable: true, // More info about sortable: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-sortable
  1135. iconSlide: true, // More info about iconSlide: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-iconSlide
  1136. striped: true, // More info about striped: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-striped
  1137. stages: [{ // More info about stages: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-stages
  1138. percent: 25,
  1139. color: 'crimson',
  1140. icon: 'checkmark',
  1141. text: 'Complete',
  1142. action: function (event, inst) {
  1143. $('.md-wo-status', event.target).text('Completed');
  1144. }
  1145. }, {
  1146. percent: -50,
  1147. color: 'red',
  1148. icon: 'remove',
  1149. text: 'Delete',
  1150. confirm: true,
  1151. action: function (event, inst) {
  1152. inst.remove(event.target);
  1153. return false;
  1154. }
  1155. }, {
  1156. percent: 50,
  1157. color: 'green',
  1158. icon: 'plus',
  1159. text: 'Spawn',
  1160. undo: true, // More info about undo: https://docs.mobiscroll.com/3-0-0_beta2/listview#!methods-undo
  1161. action: function (event, inst) {
  1162. inst.add(++ids, 'Work order #listviewUpdate-000' + ids + ' created from WO #listviewUpdate-000' + $(event.target).attr('data-id') + '<div class="md-wo-status">Assigned</div>', event.index + 1);
  1163. }
  1164. }, {
  1165. percent: -25,
  1166. color: 'olive',
  1167. icon: 'clock',
  1168. text: 'Pending',
  1169. action: function (event, inst) {
  1170. $('.md-wo-status', event.target).text('Pending');
  1171. }
  1172. }],
  1173. onItemAdd: function () { // More info about onItemAdd: https://docs.mobiscroll.com/3-0-0_beta2/listview#!event-onItemAdd
  1174. $('#listviewUpdate-demo_note').hide();
  1175. },
  1176. onItemRemove: function () { // More info about onItemRemove: https://docs.mobiscroll.com/3-0-0_beta2/listview#!event-onItemRemove
  1177. if ($('li', this).length < 2) {
  1178. $('#listviewUpdate-demo_note').show();
  1179. }
  1180. }
  1181. });
  1182. $('#listviewUpdate-demo_note').click(function () {
  1183. window.location.reload();
  1184. });
  1185. });
  1186. }
  1187. /* Sort handle demo script */
  1188. function listviewSorthandleInit() {
  1189. $(function () {
  1190. // Mobiscroll Listview initialization
  1191. $('#listviewSorthandle-demo').mobiscroll().listview({
  1192. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1193. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1194. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1195. mode: $('#mode').val(),
  1196. swipe: false, // More info about swipe: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-swipe
  1197. sortable: { // More info about sortable: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-sortable
  1198. handle: 'right'
  1199. },
  1200. enhance: true // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-enhance
  1201. });
  1202. });
  1203. }
  1204. /* Action menu demo script */
  1205. function listviewActionmenuInit() {
  1206. $(function () {
  1207. // Mobiscroll Listview initialization
  1208. $('#listviewActionmenu-demo').mobiscroll().listview({
  1209. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1210. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1211. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1212. mode: $('#mode').val(),
  1213. enhance: true, // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-enhance
  1214. actions: [{ // More info about actions: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-actions
  1215. icon: 'link',
  1216. action: function (event, inst) {
  1217. notify('Linked');
  1218. }
  1219. }, {
  1220. icon: 'star3',
  1221. action: function (event, inst) {
  1222. notify('Starred');
  1223. }
  1224. }, {
  1225. icon: 'remove',
  1226. undo: true, // More info about undo: https://docs.mobiscroll.com/3-0-0_beta2/listview#!methods-undo
  1227. action: function (event, inst) {
  1228. inst.remove(li);
  1229. return false;
  1230. }
  1231. }, {
  1232. icon: 'download',
  1233. action: function (event, inst) {
  1234. notify('Downloaded');
  1235. }
  1236. }, ],
  1237. itemGroups: { // More info about itemGroups: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-itemGroups
  1238. folder: {
  1239. actions: [{ // More info about actions: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-actions
  1240. icon: 'link',
  1241. action: function (event, inst) {
  1242. notify('Linked');
  1243. }
  1244. }, {
  1245. icon: 'star3',
  1246. action: function (event, inst) {
  1247. notify('Starred');
  1248. }
  1249. }, {
  1250. icon: 'download',
  1251. action: function (event, inst) {
  1252. notify('Downloaded');
  1253. }
  1254. }, ]
  1255. },
  1256. music: {
  1257. actions: [{ // More info about actions: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-actions
  1258. icon: 'link',
  1259. action: function (event, inst) {
  1260. notify('Linked');
  1261. }
  1262. }, {
  1263. icon: 'star3',
  1264. action: function (event, inst) {
  1265. notify('Starred');
  1266. }
  1267. }, {
  1268. icon: 'download',
  1269. action: function (event, inst) {
  1270. notify('Downloaded');
  1271. }
  1272. }, {
  1273. icon: 'play',
  1274. action: function (event, inst) {
  1275. notify('Playing...');
  1276. }
  1277. }, {
  1278. icon: 'remove',
  1279. undo: true, // More info about undo: https://docs.mobiscroll.com/3-0-0_beta2/listview#!methods-undo
  1280. action: function (event, inst) {
  1281. inst.remove(event.target);
  1282. return false;
  1283. }
  1284. }]
  1285. },
  1286. movie: {
  1287. actions: [{ // More info about actions: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-actions
  1288. icon: 'link',
  1289. action: function (event, inst) {
  1290. notify('Linked');
  1291. }
  1292. }, {
  1293. icon: 'star3',
  1294. action: function (event, inst) {
  1295. notify('Starred');
  1296. }
  1297. }, {
  1298. icon: 'download',
  1299. action: function (event, inst) {
  1300. notify('Downloaded');
  1301. }
  1302. }, {
  1303. icon: 'play',
  1304. action: function (event, inst) {
  1305. notify('Playing...');
  1306. }
  1307. }, {
  1308. icon: 'remove',
  1309. undo: true, // More info about undo: https://docs.mobiscroll.com/3-0-0_beta2/listview#!methods-undo
  1310. action: function (event, inst) {
  1311. inst.remove(event.target);
  1312. return false;
  1313. }
  1314. }]
  1315. },
  1316. picture: {
  1317. actions: [{ // More info about actions: https://docs.mobiscroll.com/3-0-0_beta2/listview#!opt-actions
  1318. icon: 'link',
  1319. action: function (event, inst) {
  1320. notify('Linked');
  1321. }
  1322. }, {
  1323. icon: 'star3',
  1324. action: function (event, inst) {
  1325. notify('Starred');
  1326. }
  1327. }, {
  1328. icon: 'download',
  1329. action: function (event, inst) {
  1330. notify('Downloaded');
  1331. }
  1332. }, {
  1333. icon: 'print',
  1334. action: function (event, inst) {
  1335. notify('Printing...');
  1336. }
  1337. }, {
  1338. icon: 'remove',
  1339. undo: true, // More info about undo: https://docs.mobiscroll.com/3-0-0_beta2/listview#!methods-undo
  1340. action: function (event, inst) {
  1341. inst.remove(event.target);
  1342. return false;
  1343. }
  1344. }]
  1345. }
  1346. }
  1347. });
  1348. var notification = document.createElement('div'),
  1349. notificationTimer;
  1350. notification.innerHTML = '<div class="demo-notification"><div class="demo-notification-i"></div></div>';
  1351. notification = notification.firstChild;
  1352. document.body.appendChild(notification);
  1353. function notify(text) {
  1354. clearTimeout(notificationTimer);
  1355. notification.style.display = 'block';
  1356. notification.firstChild.innerHTML = text;
  1357. if (notification.classList.contains('demo-notification-v')) {
  1358. notification.classList.remove('demo-notification-v');
  1359. notificationTimer = setTimeout(function () {
  1360. notification.classList.add('demo-notification-v');
  1361. }, 200);
  1362. } else {
  1363. notification.classList.add('demo-notification-v');
  1364. }
  1365. notificationTimer = setTimeout(function () {
  1366. notification.classList.remove('demo-notification-v');
  1367. notificationTimer = setTimeout(function () {
  1368. notification.style.display = 'none';
  1369. }, 200);
  1370. }, 2000);
  1371. }
  1372. });
  1373. }
  1374. /* Custom Icons demo script */
  1375. function ratingIconsInit() {
  1376. $(function () {
  1377. // Mobiscroll Rating initialization
  1378. $('#ratingIcons-demo').mobiscroll().rating({
  1379. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1380. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1381. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1382. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-mode
  1383. label: 'Rating', // More info about label: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-label
  1384. icon: { // More info about icon: https://docs.mobiscroll.com/3-0-0_beta2/rating#!opt-icon
  1385. filled: 'heart'
  1386. }
  1387. });
  1388. $('#ratingIcons-show').click(function () {
  1389. $('#ratingIcons-demo').mobiscroll('show');
  1390. return false;
  1391. });
  1392. $('#ratingIcons-clear').click(function () {
  1393. $('#ratingIcons-demo').mobiscroll('clear');
  1394. return false;
  1395. });
  1396. });
  1397. }
  1398. /* Decimal demo script */
  1399. function numberDecimalInit() {
  1400. $(function () {
  1401. // Mobiscroll Number initialization
  1402. $('#numberDecimal-demo').mobiscroll().number({
  1403. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1404. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1405. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1406. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/number#!opt-mode
  1407. maxWidth: 100 // More info about maxWidth: https://docs.mobiscroll.com/3-0-0_beta2/number#!opt-maxWidth
  1408. });
  1409. $('#numberDecimal-show').click(function () {
  1410. $('#numberDecimal-demo').mobiscroll('show');
  1411. return false;
  1412. });
  1413. $('#numberDecimal-clear').click(function () {
  1414. $('#numberDecimal-demo').mobiscroll('clear');
  1415. return false;
  1416. });
  1417. });
  1418. }
  1419. /* Decimal demo script */
  1420. function numpadDecimalInit() {
  1421. $(function () {
  1422. // Mobiscroll Numpad initialization
  1423. $('#numpadDecimal-demo').mobiscroll().numpad({
  1424. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1425. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1426. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1427. mode: $('#mode').val(),
  1428. min: 1,
  1429. scale: 2,
  1430. preset: 'decimal' // More info about preset: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-preset
  1431. });
  1432. $('#numpadDecimal-show').click(function () {
  1433. $('#numpadDecimal-demo').mobiscroll('show');
  1434. return false;
  1435. });
  1436. $('#numpadDecimal-clear').click(function () {
  1437. $('#numpadDecimal-demo').mobiscroll('clear');
  1438. return false;
  1439. });
  1440. });
  1441. }
  1442. /* Currency demo script */
  1443. function numpadCurrencyInit() {
  1444. // Use the settings object to change the theme
  1445. mobiscroll.settings = {
  1446. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1447. };
  1448. $(function () {
  1449. var stepperPrice = $('.md-price'),
  1450. numpadCons = $('.md-numpad');
  1451. numpadCons.mobiscroll().numpad({
  1452. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1453. preset: 'decimal', // More info about preset: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-preset
  1454. anchor: '.md-price', // More info about anchor: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-anchor
  1455. min: 10,
  1456. max: 500,
  1457. prefix: '$',
  1458. onSet: function (event, inst) { // More info about onSet: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!event-onSet
  1459. stepperPrice.mobiscroll('setVal', event.valueText);
  1460. }
  1461. }).mobiscroll('setVal', stepperPrice.val());
  1462. numpadCons.mobiscroll('tap', stepperPrice, function () {
  1463. numpadCons.mobiscroll('show');
  1464. });
  1465. stepperPrice.change(function (ev) {
  1466. ev.target.value = '$' + ev.target.value
  1467. numpadCons.mobiscroll('setVal', ev.target.value);
  1468. });
  1469. stepperPrice.val('$' + stepperPrice.val());
  1470. });
  1471. }
  1472. /* Time demo script */
  1473. function numpadTimeInit() {
  1474. $(function () {
  1475. // Mobiscroll Numpad initialization
  1476. $('#numpadTime-demo').mobiscroll().numpad({
  1477. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1478. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1479. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1480. mode: $('#mode').val(),
  1481. preset: 'time', // More info about preset: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-preset
  1482. timeFormat: 'HH:ii A'
  1483. });
  1484. $('#numpadTime-show').click(function () {
  1485. $('#numpadTime-demo').mobiscroll('show');
  1486. return false;
  1487. });
  1488. $('#numpadTime-clear').click(function () {
  1489. $('#numpadTime-demo').mobiscroll('clear');
  1490. return false;
  1491. });
  1492. });
  1493. }
  1494. /* Masked Entry - PIN demo script */
  1495. function numpadPinInit() {
  1496. $(function () {
  1497. // Mobiscroll Numpad initialization
  1498. $('#numpadPin-demo').mobiscroll().numpad({
  1499. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1500. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1501. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1502. mode: $('#mode').val(),
  1503. template: 'dddd', // More info about template: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-template
  1504. allowLeadingZero: true, // More info about allowLeadingZero: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-allowLeadingZero
  1505. placeholder: '-', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-placeholder
  1506. mask: '*', // More info about mask: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!opt-mask
  1507. validate: function (event, inst) { // More info about validate: https://docs.mobiscroll.com/3-0-0_beta2/numpad#!event-validate
  1508. return {
  1509. invalid: event.values.length != 4
  1510. };
  1511. }
  1512. });
  1513. $('#numpadPin-show').click(function () {
  1514. $('#numpadPin-demo').mobiscroll('show');
  1515. return false;
  1516. });
  1517. $('#numpadPin-clear').click(function () {
  1518. $('#numpadPin-demo').mobiscroll('clear');
  1519. return false;
  1520. });
  1521. });
  1522. }
  1523. /* Date with min and max demo script */
  1524. function datetimeMinmaxInit() {
  1525. $(function () {
  1526. // Mobiscroll Date & Time initialization
  1527. $('#datetimeMinmax-demo').mobiscroll().date({
  1528. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1529. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1530. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1531. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-mode
  1532. min: new Date(2014, 8, 15), // More info about min: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-min
  1533. max: new Date(2024, 8, 14) // More info about max: https://docs.mobiscroll.com/3-0-0_beta2/datetime#!opt-max
  1534. });
  1535. $('#datetimeMinmax-show').click(function () {
  1536. $('#datetimeMinmax-demo').mobiscroll('show');
  1537. return false;
  1538. });
  1539. $('#datetimeMinmax-clear').click(function () {
  1540. $('#datetimeMinmax-demo').mobiscroll('clear');
  1541. return false;
  1542. });
  1543. });
  1544. }
  1545. /* Tab menu demo script */
  1546. function menustripTabsInit() {
  1547. $(function () {
  1548. // Mobiscroll Menustrip initialization
  1549. $('#menustripTabs-demo').mobiscroll().menustrip({
  1550. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1551. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1552. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1553. mode: $('#mode').val(),
  1554. type: 'tabs', // More info about type: https://docs.mobiscroll.com/3-0-0_beta2/menustrip#!opt-type
  1555. onItemTap: function (event, inst) { // More info about onItemTap: https://docs.mobiscroll.com/3-0-0_beta2/menustrip#!event-onItemTap
  1556. $('.md-tab-h').removeClass('md-tabs-sel');
  1557. $('#' + $(event.target).data('tab')).addClass('md-tabs-sel');
  1558. }
  1559. });
  1560. // Mobiscroll Menustrip initialization
  1561. $('.md-apps-ul').mobiscroll().listview({
  1562. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1563. swipe: false,
  1564. });
  1565. });
  1566. }
  1567. /* Icon and Text demo script */
  1568. function imageIconsInit() {
  1569. $(function () {
  1570. // Mobiscroll Image initialization
  1571. $('#imageIcons-demo').mobiscroll().image({
  1572. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1573. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1574. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1575. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-mode
  1576. placeholder: 'Please Select ...', // More info about placeholder: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-placeholder
  1577. showLabel: false, // More info about showLabel: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-showLabel
  1578. enhance: true // More info about enhance: https://docs.mobiscroll.com/3-0-0_beta2/image#!opt-enhance
  1579. });
  1580. $('#imageIcons-show').click(function () {
  1581. $('#imageIcons-demo').mobiscroll('show');
  1582. return false;
  1583. });
  1584. $('#imageIcons-clear').click(function () {
  1585. $('#imageIcons-demo').mobiscroll('clear');
  1586. return false;
  1587. });
  1588. });
  1589. }
  1590. /* Step demo script */
  1591. function numberStepInit() {
  1592. $(function () {
  1593. // Mobiscroll Number initialization
  1594. $('#numberStep-demo').mobiscroll().number({
  1595. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1596. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1597. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1598. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/number#!opt-mode
  1599. layout: 'fixed', // More info about layout: https://docs.mobiscroll.com/3-0-0_beta2/number#!opt-layout
  1600. step: 5 // More info about step: https://docs.mobiscroll.com/3-0-0_beta2/number#!opt-step
  1601. });
  1602. $('#numberStep-show').click(function () {
  1603. $('#numberStep-demo').mobiscroll('show');
  1604. return false;
  1605. });
  1606. $('#numberStep-clear').click(function () {
  1607. $('#numberStep-demo').mobiscroll('clear');
  1608. return false;
  1609. });
  1610. });
  1611. }
  1612. /* Dialog demo script */
  1613. function widgetDialogInit() {
  1614. $(function () {
  1615. // Mobiscroll Widget initialization
  1616. $('#widgetDialog-demo').mobiscroll().widget({
  1617. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1618. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1619. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1620. mode: $('#mode').val(),
  1621. anchor: $('#widgetDialog-show'), // More info about anchor: https://docs.mobiscroll.com/3-0-0_beta2/widget#!opt-anchor
  1622. buttons: [{ // More info about buttons: https://docs.mobiscroll.com/3-0-0_beta2/widget#!opt-buttons
  1623. text: 'Great',
  1624. handler: 'set'
  1625. }, {
  1626. text: 'I’ve been better',
  1627. handler: 'cancel'
  1628. }],
  1629. onBeforeShow: function (event, inst) { // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta2/widget#!event-onBeforeShow
  1630. var s = inst.settings;
  1631. if (s.theme == 'wp' || s.baseTheme == 'wp') {
  1632. s.buttons[0].icon = 'checkmark';
  1633. s.buttons[1].icon = 'close';
  1634. }
  1635. }
  1636. });
  1637. $('#widgetDialog-show').click(function () {
  1638. $('#widgetDialog-demo').mobiscroll('show');
  1639. return false;
  1640. });
  1641. });
  1642. }
  1643. /* Alert message demo script */
  1644. function widgetMessageInit() {
  1645. $(function () {
  1646. // Mobiscroll Widget initialization
  1647. $('#widgetMessage-demo').mobiscroll().widget({
  1648. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1649. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1650. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1651. mode: $('#mode').val(),
  1652. anchor: $('#widgetMessage-show'), // More info about anchor: https://docs.mobiscroll.com/3-0-0_beta2/widget#!opt-anchor
  1653. buttons: [{ // More info about buttons: https://docs.mobiscroll.com/3-0-0_beta2/widget#!opt-buttons
  1654. text: 'Agree',
  1655. handler: 'set'
  1656. }, {
  1657. text: 'Disagree',
  1658. handler: 'cancel'
  1659. }],
  1660. onBeforeShow: function (event, inst) { // More info about onBeforeShow: https://docs.mobiscroll.com/3-0-0_beta2/widget#!event-onBeforeShow
  1661. var s = inst.settings;
  1662. if (s.theme == 'wp' || s.baseTheme == 'wp') {
  1663. s.buttons[0].icon = 'checkmark';
  1664. s.buttons[1].icon = 'close';
  1665. }
  1666. }
  1667. });
  1668. $('#widgetMessage-show').click(function () {
  1669. $('#widgetMessage-demo').mobiscroll('show');
  1670. return false;
  1671. });
  1672. });
  1673. }
  1674. /* Custom Units demo script */
  1675. function scrollerCustomunitsInit() {
  1676. $(function () {
  1677. var units = ['oz', 'g', 'serving'],
  1678. prevUnit = 'oz',
  1679. wheel = [
  1680. [{
  1681. circular: false, // More info about circular: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-circular
  1682. data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
  1683. }, {
  1684. circular: false, // More info about circular: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-circular
  1685. data: ['-', '1/4', '1/2', '3/4']
  1686. }, {
  1687. circular: false, // More info about circular: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-circular
  1688. data: units
  1689. }]
  1690. ];
  1691. // Mobiscroll Scroller initialization
  1692. $('#scrollerCustomunits-demo').mobiscroll().scroller({
  1693. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1694. lang: $('#language').val(), // Specify language like: lang: 'pl' or omit setting to use default
  1695. display: $('#display').val(), // Specify display mode like: display: 'bottom' or omit setting to use default
  1696. mode: $('#mode').val(), // More info about mode: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-mode
  1697. wheels: wheel, // More info about wheels: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-wheels
  1698. validate: function (event, inst) { // More info about validate: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!event-validate
  1699. var i,
  1700. mult = 1,
  1701. index = event.index,
  1702. currUnit = event.values[2],
  1703. disabled = [];
  1704. if (currUnit == 'g' && (prevUnit == 'oz' || prevUnit == 'serving')) {
  1705. mult = 28;
  1706. } else if ((currUnit != 'oz' || currUnit != 'serving') && prevUnit == 'g') {
  1707. mult = 1 / 28;
  1708. }
  1709. if (currUnit != 'serving') {
  1710. disabled.push('1/4', '1/2', '3/4');
  1711. }
  1712. if (index == 2 && currUnit != prevUnit) {
  1713. for (i = 0; i < wheel[0][0].data.length; ++i) {
  1714. wheel[0][0].data[i] = Math.round(wheel[0][0].data[i] * mult);
  1715. }
  1716. inst.settings.wheels = wheel;
  1717. inst._tempWheelArray[0] = inst._tempWheelArray[0] * mult;
  1718. inst.changeWheel({
  1719. 0: wheel[0][0]
  1720. });
  1721. prevUnit = currUnit;
  1722. }
  1723. return {
  1724. disabled: [ // More info about disabled: https://docs.mobiscroll.com/3-0-0_beta2/scroller#!opt-disabled
  1725. [], disabled, []
  1726. ]
  1727. }
  1728. },
  1729. parseValue: function (val) {
  1730. var hasUnit;
  1731. if (val) {
  1732. val = val.toString().split(' ');
  1733. hasUnit = units.indexOf(val[1]) !== -1;
  1734. return [val[0], (hasUnit ? '' : val[1].replace('-', '')), (hasUnit ? val[1] : val[2])];
  1735. }
  1736. return [0, '-', 'oz'];
  1737. },
  1738. formatValue: function (data) {
  1739. return (data[2] == 'serving' && data[0] == 0 && data[1] ? '' : data[0]) + (data[1] ? ' ' + data[1].replace('-', '') : '') + ' ' + data[2];
  1740. }
  1741. });
  1742. $('#scrollerCustomunits-show').click(function () {
  1743. $('#scrollerCustomunits-demo').mobiscroll('show');
  1744. return false;
  1745. });
  1746. $('#scrollerCustomunits-clear').click(function () {
  1747. $('#scrollerCustomunits-demo').mobiscroll('clear');
  1748. return false;
  1749. });
  1750. });
  1751. }
  1752. /* Text Fields demo script */
  1753. function formsTextfieldsInit() {
  1754. // Use the settings object to change the theme
  1755. mobiscroll.settings = {
  1756. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1757. };
  1758. }
  1759. /* Select demo script */
  1760. function formsSelectInit() {
  1761. // Use the settings object to change the theme
  1762. mobiscroll.settings = {
  1763. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1764. };
  1765. }
  1766. /* Checkbox demo script */
  1767. function formsCheckboxInit() {
  1768. // Use the settings object to change the theme
  1769. mobiscroll.settings = {
  1770. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1771. };
  1772. }
  1773. /* Switch demo script */
  1774. function formsSwitchInit() {
  1775. // Use the settings object to change the theme
  1776. mobiscroll.settings = {
  1777. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1778. };
  1779. }
  1780. /* Radio buttons demo script */
  1781. function formsRadiobtnInit() {
  1782. // Use the settings object to change the theme
  1783. mobiscroll.settings = {
  1784. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1785. };
  1786. }
  1787. /* Buttons demo script */
  1788. function formsButtonsInit() {
  1789. // Use the settings object to change the theme
  1790. mobiscroll.settings = {
  1791. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1792. };
  1793. }
  1794. /* Typography demo script */
  1795. function formsTypographyInit() {
  1796. // Use the settings object to change the theme
  1797. mobiscroll.settings = {
  1798. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1799. };
  1800. }
  1801. /* Slider demo script */
  1802. function formsSliderInit() {
  1803. // Use the settings object to change the theme
  1804. mobiscroll.settings = {
  1805. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1806. };
  1807. }
  1808. /* Stepper demo script */
  1809. function formsStepperInit() {
  1810. // Use the settings object to change the theme
  1811. mobiscroll.settings = {
  1812. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1813. };
  1814. $(function () {
  1815. var cbAllow = $('.md-allow'),
  1816. stepperLuggage = $('.md-luggage'),
  1817. stepperCons = $('.md-consumption'),
  1818. numpadCons = $('.md-numpad');
  1819. cbAllow.change(function () {
  1820. stepperLuggage.prop('disabled', !this.checked);
  1821. });
  1822. numpadCons.mobiscroll().numpad({
  1823. theme: $('#theme').val(), // Specify theme like: theme: 'ios' or omit setting to use default
  1824. preset: 'decimal',
  1825. min: 5,
  1826. max: 120,
  1827. onSet: function (event, inst) {
  1828. stepperCons.mobiscroll('setVal', event.valueText);
  1829. }
  1830. }).mobiscroll('setVal', stepperCons.val());
  1831. numpadCons.mobiscroll('tap', stepperCons, function () {
  1832. numpadCons.mobiscroll('show');
  1833. });
  1834. stepperCons.change(function () {
  1835. numpadCons.mobiscroll('setVal', stepperCons.val());
  1836. });
  1837. });
  1838. }
  1839. /* Progress demo script */
  1840. function formsProgressInit() {
  1841. // Use the settings object to change the theme
  1842. mobiscroll.settings = {
  1843. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1844. };
  1845. $(function () {
  1846. var downloadInst = $('#formsProgress-download').mobiscroll('getInst'),
  1847. interval,
  1848. i;
  1849. function startDownload() {
  1850. i = 0;
  1851. clearInterval(interval);
  1852. interval = setInterval(function () {
  1853. if (i == 100) {
  1854. clearInterval(interval);
  1855. }
  1856. downloadInst.setVal(i += 5);
  1857. }, 600);
  1858. }
  1859. $('.md-restart').click(function () {
  1860. startDownload();
  1861. });
  1862. startDownload();
  1863. var inst = $('#formsProgress-progress').mobiscroll('getInst'),
  1864. val;
  1865. $('.md-update').click(function () {
  1866. if (inst.getVal() >= 100) {
  1867. inst.setVal(0);
  1868. } else {
  1869. inst.setVal(inst.getVal() + 25);
  1870. }
  1871. });
  1872. var upInterval,
  1873. uploadList = ['1MB', '5MB', '10MB', '50MB'],
  1874. uploadInst = $('#formsProgress-uploadProg').mobiscroll('getInst');
  1875. function restartUpload() {
  1876. uploadInst.setVal(0);
  1877. clearInterval(upInterval);
  1878. upInterval = setInterval(function () {
  1879. if (uploadInst.getVal() >= 100) {
  1880. clearInterval(upInterval);
  1881. }
  1882. uploadInst.setVal(uploadInst.getVal() + 17);
  1883. }, 1000);
  1884. }
  1885. $('.md-upload .mbsc-progress-step-label').each(function (i, v) {
  1886. $(v).text(uploadList[i]);
  1887. });
  1888. $('.md-restart-up').click(function () {
  1889. restartUpload();
  1890. });
  1891. restartUpload();
  1892. var labelList = ['Cart', 'Signup', 'Checkout', 'Success'],
  1893. cartInst = $('#formsProgress-cartProg').mobiscroll('getInst');
  1894. $('.md-demo .mbsc-progress-step-label').each(function (i, v) {
  1895. $(v).text(labelList[i]);
  1896. });
  1897. $('.md-next-step').click(function () {
  1898. if (cartInst.getVal() >= 100) {
  1899. cartInst.setVal(0);
  1900. } else {
  1901. cartInst.setVal(cartInst.getVal() + 33.34);
  1902. }
  1903. });
  1904. });
  1905. }
  1906. /* Segmented demo script */
  1907. function formsSegmentedInit() {
  1908. // Use the settings object to change the theme
  1909. mobiscroll.settings = {
  1910. theme: $('#theme').val() // Specify theme like: theme: 'ios' or omit setting to use default
  1911. };
  1912. }
  1913. </script>
  1914. </head>
  1915. <body>
  1916. <!-- ------------------------------------------------------------------ -->
  1917. <!-- Demo configurator markup START, ignore this in your implementation -->
  1918. <div class="header">
  1919. <h1>Mobiscroll</h1>
  1920. </div>
  1921. <div id="main" class="demo-main">
  1922. <div>
  1923. <label for="theme">Theme</label>
  1924. <select name="theme" id="theme" class="settings">
  1925. <option value="">Default / Auto</option>
  1926. <option value="mobiscroll">Mobiscroll</option>
  1927. <option value="android-holo">Android Holo</option>
  1928. <option value="wp">Windows Phone</option>
  1929. <option value="ios">iOS</option>
  1930. <option value="bootstrap">Bootstrap</option>
  1931. <option value="android-holo-light">Android Holo Light</option>
  1932. <option value="wp-light">Windows Phone Light</option>
  1933. <option value="mobiscroll-dark">Mobiscroll Dark</option>
  1934. <option value="material">Material</option>
  1935. <option value="material-dark">Material Dark</option>
  1936. </select>
  1937. </div>
  1938. <div>
  1939. <label for="display">Display</label>
  1940. <select name="display" id="display" class="settings">
  1941. <option value="center">Center</option>
  1942. <option value="inline">Inline</option>
  1943. <option value="bubble">Bubble</option>
  1944. <option value="top">Top</option>
  1945. <option value="bottom">Bottom</option>
  1946. </select>
  1947. </div>
  1948. <div>
  1949. <label for="language">Language</label>
  1950. <select name="language" id="language" class="settings">
  1951. <option value="">English</option>
  1952. <option value="zh">Chinese</option>
  1953. </select>
  1954. </div>
  1955. <div>
  1956. <label for="demo">Demo</label>
  1957. <select name="demo" id="demo" class="settings">
  1958. <optgroup label="Datetime">
  1959. <option value="datetimeDate" selected>Basic usage date</option>
  1960. <option value="datetimeInvalid" >Datetime with invalids</option>
  1961. <option value="datetimeTime" >Basic usage time</option>
  1962. <option value="datetimeMinmax" >Date with min and max</option>
  1963. </optgroup>
  1964. <optgroup label="Select">
  1965. <option value="selectBasic" >Basic usage</option>
  1966. <option value="selectGroupselect" >Group options</option>
  1967. <option value="selectMultiple" >Multiple select</option>
  1968. </optgroup>
  1969. <optgroup label="Rating">
  1970. <option value="ratingStars" >Basic usage</option>
  1971. <option value="ratingGrades" >Grades</option>
  1972. <option value="ratingIcons" >Custom Icons</option>
  1973. </optgroup>
  1974. <optgroup label="Measurement">
  1975. <option value="measurementDistance" >Distance</option>
  1976. <option value="measurementSpeed" >Speed</option>
  1977. <option value="measurementTemperature" >Temperature</option>
  1978. <option value="measurementMass" >Mass</option>
  1979. <option value="measurementForce" >Force</option>
  1980. </optgroup>
  1981. <optgroup label="List">
  1982. <option value="listTreelist" >Basic usage</option>
  1983. <option value="listUnordered" >Unordered list</option>
  1984. </optgroup>
  1985. <optgroup label="Image">
  1986. <option value="imageText" >Image and Text</option>
  1987. <option value="imageBasic" >Image Only</option>
  1988. <option value="imageIcons" >Icon and Text</option>
  1989. </optgroup>
  1990. <optgroup label="Calendar">
  1991. <option value="calendarTime" >With time scroller</option>
  1992. <option value="calendarBasic" >Basic usage</option>
  1993. <option value="calendarMultiday" >Multi day select</option>
  1994. </optgroup>
  1995. <optgroup label="Timespan">
  1996. <option value="timespanBasic" >Basic usage</option>
  1997. <option value="timespanDhm" >Day/Hour/Minute span</option>
  1998. </optgroup>
  1999. <optgroup label="Timer">
  2000. <option value="timerCountdown" >Countdown</option>
  2001. </optgroup>
  2002. <optgroup label="Color">
  2003. <option value="colorHx" >Basic usage</option>
  2004. </optgroup>
  2005. <optgroup label="Range">
  2006. <option value="rangeBasic" >Basic usage</option>
  2007. <option value="rangeTime" >Time range</option>
  2008. <option value="rangeTwoinputs" >Two inputs</option>
  2009. </optgroup>
  2010. <optgroup label="Eventcalendar">
  2011. <option value="eventcalendarEvent" >Events</option>
  2012. </optgroup>
  2013. <optgroup label="Listview">
  2014. <option value="listviewUpdate" >Create, remove, update</option>
  2015. <option value="listviewSorthandle" >Sort handle</option>
  2016. <option value="listviewActionmenu" >Action menu</option>
  2017. </optgroup>
  2018. <optgroup label="Number">
  2019. <option value="numberDecimal" >Decimal</option>
  2020. <option value="numberStep" >Step</option>
  2021. </optgroup>
  2022. <optgroup label="Numpad">
  2023. <option value="numpadDecimal" > Decimal</option>
  2024. <option value="numpadCurrency" >Currency</option>
  2025. <option value="numpadTime" >Time</option>
  2026. <option value="numpadPin" >Masked Entry - PIN</option>
  2027. </optgroup>
  2028. <optgroup label="Menustrip">
  2029. <option value="menustripTabs" >Tab menu</option>
  2030. </optgroup>
  2031. <optgroup label="Widget">
  2032. <option value="widgetDialog" >Dialog</option>
  2033. <option value="widgetMessage" >Alert message</option>
  2034. </optgroup>
  2035. <optgroup label="Scroller">
  2036. <option value="scrollerCustomunits" >Custom Units</option>
  2037. </optgroup>
  2038. <optgroup label="Forms">
  2039. <option value="formsTextfields" >Text Fields</option>
  2040. <option value="formsSelect" >Select</option>
  2041. <option value="formsCheckbox" >Checkbox</option>
  2042. <option value="formsSwitch" >Switch</option>
  2043. <option value="formsRadiobtn" >Radio buttons</option>
  2044. <option value="formsButtons" >Buttons</option>
  2045. <option value="formsTypography" >Typography</option>
  2046. <option value="formsSlider" >Slider</option>
  2047. <option value="formsStepper" >Stepper</option>
  2048. <option value="formsProgress" >Progress</option>
  2049. <option value="formsSegmented" >Segmented</option>
  2050. </optgroup>
  2051. </select>
  2052. </div>
  2053. </div>
  2054. <!-- Demo configurator markup END -->
  2055. <!-- ------------------------------------------------------------------ -->
  2056. <!-- ------------------------------------------------------------------------------- -->
  2057. <!-- Basic usage date START -->
  2058. <div class="demo-wrapper demo-wrapper-datetimeDate">
  2059. <input id="datetimeDate-demo" placeholder="Please Select..." />
  2060. <button id="datetimeDate-clear">Clear</button>
  2061. <button id="datetimeDate-show">Show</button>
  2062. </div>
  2063. <!-- Basic usage date END -->
  2064. <!-- ------------------------------------------------------------------------------- -->
  2065. <!-- ------------------------------------------------------------------------------- -->
  2066. <!-- Datetime with invalids START -->
  2067. <div class="demo-wrapper demo-wrapper-datetimeInvalid">
  2068. <input id="datetimeInvalid-demo" placeholder="Please Select..." />
  2069. <button id="datetimeInvalid-clear">Clear</button>
  2070. <button id="datetimeInvalid-show">
  2071. Show</button>
  2072. </div>
  2073. <!-- Datetime with invalids END -->
  2074. <!-- ------------------------------------------------------------------------------- -->
  2075. <!-- ------------------------------------------------------------------------------- -->
  2076. <!-- Basic usage time START -->
  2077. <div class="demo-wrapper demo-wrapper-datetimeTime">
  2078. <input id="datetimeTime-demo" placeholder="Please Select..." />
  2079. <button id="datetimeTime-clear">Clear</button>
  2080. <button id="datetimeTime-show">Show</button>
  2081. </div>
  2082. <!-- Basic usage time END -->
  2083. <!-- ------------------------------------------------------------------------------- -->
  2084. <!-- ------------------------------------------------------------------------------- -->
  2085. <!-- Basic usage START -->
  2086. <div class="demo-wrapper demo-wrapper-selectBasic">
  2087. <select name="City" id="selectBasic-demo">
  2088. <option value="1">Atlanta</option>
  2089. <option value="2">Berlin</option>
  2090. <option value="3">Boston</option>
  2091. <option value="4">Chicago</option>
  2092. <option value="5">London</option>
  2093. <option value="6">Los Angeles</option>
  2094. <option value="7">New York</option>
  2095. <option value="8">Paris</option>
  2096. <option value="9">San Francisco</option>
  2097. </select>
  2098. <button id="selectBasic-clear">Clear</button>
  2099. <button id="selectBasic-show">Show</button>
  2100. </div>
  2101. <!-- Basic usage END -->
  2102. <!-- ------------------------------------------------------------------------------- -->
  2103. <!-- ------------------------------------------------------------------------------- -->
  2104. <!-- Group options START -->
  2105. <div class="demo-wrapper demo-wrapper-selectGroupselect">
  2106. <select id="selectGroupselect-demo">
  2107. <optgroup label="USA">
  2108. <option value="1">Atlanta</option>
  2109. <option value="2">Boston</option>
  2110. <option value="3">Chicago</option>
  2111. <option value="4">Los Angeles</option>
  2112. <option value="5">New York</option>
  2113. <option value="6">San Francisco</option>
  2114. </optgroup>
  2115. <optgroup label="UK">
  2116. <option value="7">Bath</option>
  2117. <option value="8">Bristol</option>
  2118. <option value="9">Cambridge</option>
  2119. <option value="10">London</option>
  2120. <option value="11">Leeds</option>
  2121. <option value="12">Manchester</option>
  2122. <option value="13">Newcastle</option>
  2123. <option value="14">Oxford</option>
  2124. </optgroup>
  2125. <optgroup label="China">
  2126. <option value="15">Beijing</option>
  2127. <option value="16">Chongqing</option>
  2128. <option value="17">Shanghai</option>
  2129. <option value="18">Shenzhen</option>
  2130. <option value="19">Tianjin</option>
  2131. </optgroup>
  2132. </select>
  2133. <button id="selectGroupselect-clear">Clear</button>
  2134. <button id="selectGroupselect-show">Show</button>
  2135. </div>
  2136. <!-- Group options END -->
  2137. <!-- ------------------------------------------------------------------------------- -->
  2138. <!-- ------------------------------------------------------------------------------- -->
  2139. <!-- Basic usage START -->
  2140. <div class="demo-wrapper demo-wrapper-ratingStars">
  2141. <ul class="md-products">
  2142. <li>
  2143. <div class="md-product">
  2144. <img src="images/product1.png" />
  2145. <h3>Chocolate sticks</h3>
  2146. <p>Crunchy on the inside</p>
  2147. <span class="md-rate">
  2148. <span class="md-rating">4 of 5</span>
  2149. </span>
  2150. </div>
  2151. </li>
  2152. <li>
  2153. <div class="md-product">
  2154. <img src="images/product2.png" />
  2155. <h3>Hershey's Kisses</h3>
  2156. <p>Bite-sized piece of heaven</p>
  2157. <span class="md-rate">
  2158. <span class="md-rating">4 of 5</span>
  2159. </span>
  2160. </div>
  2161. </li>
  2162. <li>
  2163. <div class="md-product">
  2164. <img src="images/product3.png" />
  2165. <h3>Milk chocolate</h3>
  2166. <p>The all-time favorite</p>
  2167. <span class="md-rate">
  2168. <span class="md-rating">3 of 5</span>
  2169. </span>
  2170. </div>
  2171. </li>
  2172. <li>
  2173. <div class="md-product">
  2174. <img src="images/product4.png" />
  2175. <h3>Chocolate cupcake</h3>
  2176. <p>Sweet temptation with chocolate chips</p>
  2177. <span class="md-rate">
  2178. <span class="md-rating">5 of 5</span>
  2179. </span>
  2180. </div>
  2181. </li>
  2182. <li>
  2183. <div class="md-product">
  2184. <img src="images/product5.png" />
  2185. <h3>Aerated chocolate</h3>
  2186. <p>Light as air</p>
  2187. <span class="md-rate">
  2188. <span class="md-rating">5 of 5</span>
  2189. </span>
  2190. </div>
  2191. </li>
  2192. <li>
  2193. <div class="md-product">
  2194. <img src="images/product6.png" />
  2195. <h3>Chocolate truffles</h3>
  2196. <p>Chocolate ganache and heavenly cocoa</p>
  2197. <span class="md-rate">
  2198. <span class="md-rating">5 of 5</span>
  2199. </span>
  2200. </div>
  2201. </li>
  2202. </ul>
  2203. </div>
  2204. <!-- Basic usage END -->
  2205. <!-- ------------------------------------------------------------------------------- -->
  2206. <!-- ------------------------------------------------------------------------------- -->
  2207. <!-- Grades START -->
  2208. <div class="demo-wrapper demo-wrapper-ratingGrades">
  2209. <input id="ratingGrades-demo" placeholder="Please Select ..." />
  2210. <button id="ratingGrades-clear">Clear</button>
  2211. <button id="ratingGrades-show">Show</button>
  2212. </div>
  2213. <!-- Grades END -->
  2214. <!-- ------------------------------------------------------------------------------- -->
  2215. <!-- ------------------------------------------------------------------------------- -->
  2216. <!-- Distance START -->
  2217. <div class="demo-wrapper demo-wrapper-measurementDistance">
  2218. <input id="measurementDistance-demo" placeholder="Please Select ..." />
  2219. <button id="measurementDistance-clear">Clear</button>
  2220. <button id="measurementDistance-show">Show</button>
  2221. </div>
  2222. <!-- Distance END -->
  2223. <!-- ------------------------------------------------------------------------------- -->
  2224. <!-- ------------------------------------------------------------------------------- -->
  2225. <!-- Speed START -->
  2226. <div class="demo-wrapper demo-wrapper-measurementSpeed">
  2227. <input id="measurementSpeed-demo" placeholder="Please Select ..." />
  2228. <button id="measurementSpeed-clear">Clear</button>
  2229. <button id="measurementSpeed-show">Show</button>
  2230. </div>
  2231. <!-- Speed END -->
  2232. <!-- ------------------------------------------------------------------------------- -->
  2233. <!-- ------------------------------------------------------------------------------- -->
  2234. <!-- Temperature START -->
  2235. <div class="demo-wrapper demo-wrapper-measurementTemperature">
  2236. <input id="measurementTemperature-demo" placeholder="Please Select ..." />
  2237. <button id="measurementTemperature-clear">Clear</button>
  2238. <button id="measurementTemperature-show">Show</button>
  2239. </div>
  2240. <!-- Temperature END -->
  2241. <!-- ------------------------------------------------------------------------------- -->
  2242. <!-- ------------------------------------------------------------------------------- -->
  2243. <!-- Mass START -->
  2244. <div class="demo-wrapper demo-wrapper-measurementMass">
  2245. <input id="measurementMass-demo" placeholder="Please Select ..." />
  2246. <button id="measurementMass-clear">Clear</button>
  2247. <button id="measurementMass-show">Show</button>
  2248. </div>
  2249. <!-- Mass END -->
  2250. <!-- ------------------------------------------------------------------------------- -->
  2251. <!-- ------------------------------------------------------------------------------- -->
  2252. <!-- Force START -->
  2253. <div class="demo-wrapper demo-wrapper-measurementForce">
  2254. <input id="measurementForce-demo" placeholder="Please Select ..." />
  2255. <button id="measurementForce-clear">Clear</button>
  2256. <button id="measurementForce-show">Show</button>
  2257. </div>
  2258. <!-- Force END -->
  2259. <!-- ------------------------------------------------------------------------------- -->
  2260. <!-- ------------------------------------------------------------------------------- -->
  2261. <!-- Basic usage START -->
  2262. <div class="demo-wrapper demo-wrapper-listTreelist">
  2263. <ul id="listTreelist-demo" style="display:none">
  2264. <li data-val="Eastern Division">East
  2265. <ul>
  2266. <li data-val="Marketing">Marketing
  2267. <ul>
  2268. <li data-val="Eden E">Eden E</li>
  2269. <li data-val="Milda J">Milda J</li>
  2270. <li data-val="Porfirio R">Porfirio R</li>
  2271. </ul>
  2272. </li>
  2273. <li data-val="Research & Development">R&D
  2274. <ul>
  2275. <li data-val="Frances P">Frances P</li>
  2276. <li data-val="Frank D">Frank D</li>
  2277. <li data-val="Gianny P">Gianny P</li>
  2278. <li data-val="Ivan F">Ivan F</li>
  2279. <li data-val="John M">John M</li>
  2280. <li data-val="Mildred S">Mildred S</li>
  2281. <li data-val="Sam P">Sam P</li>
  2282. </ul>
  2283. </li>
  2284. <li data-val="Sales">Sales
  2285. <ul>
  2286. <li data-val="Edelmira R">Edelmira R</li>
  2287. <li data-val="Francie S">Francie S</li>
  2288. <li data-val="Lean F">Lean F</li>
  2289. <li data-val="Kirby C">Kirby C</li>
  2290. </ul>
  2291. </li>
  2292. </ul>
  2293. </li>
  2294. <li data-val="Western Division">West
  2295. <ul>
  2296. <li data-val="Marketing">Marketing
  2297. <ul>
  2298. <li data-val="Cliff B">Cliff B</li>
  2299. <li data-val="Helen D">Helen D</li>
  2300. <li data-val="Stephan V">Stephan V</li>
  2301. </ul>
  2302. </li>
  2303. <li data-val="Research & Development">R&D
  2304. <ul>
  2305. <li data-val="Andy G">Andy G</li>
  2306. <li data-val="Danny A">Danny A</li>
  2307. <li data-val="Ennio M">Ennio M</li>
  2308. <li data-val="Emil E">Emil E</li>
  2309. <li data-val="Frank S">Frank S</li>
  2310. <li data-val="Gonzo G">Gonzo G</li>
  2311. <li data-val="Hal A">Hal A</li>
  2312. <li data-val="Jack G">Jack G</li>
  2313. <li data-val="John A">John A</li>
  2314. <li data-val="Simon D">Simon D</li>
  2315. <li data-val="Victor S">Victor S</li>
  2316. </ul>
  2317. </li>
  2318. <li data-val="Sales">Sales
  2319. <ul>
  2320. <li data-val="Dana A">Dana A</li>
  2321. <li data-val="Frank D">Frank D</li>
  2322. <li data-val="Leanna S">Leanna S</li>
  2323. <li data-val="Michael D">Michael D</li>
  2324. </ul>
  2325. </li>
  2326. </ul>
  2327. </li>
  2328. </ul>
  2329. <button id="listTreelist-clear">Clear</button>
  2330. <button id="listTreelist-show">Show</button>
  2331. </div>
  2332. <!-- Basic usage END -->
  2333. <!-- ------------------------------------------------------------------------------- -->
  2334. <!-- ------------------------------------------------------------------------------- -->
  2335. <!-- Image and Text START -->
  2336. <div class="demo-wrapper demo-wrapper-imageText">
  2337. <ul id="imageText-demo" style="display:none">
  2338. <li data-val="Audi">
  2339. <img src="/Content/img/demos/Audi_logo.png" />
  2340. <p>Audi</p>
  2341. </li>
  2342. <li data-val="BMW">
  2343. <img src="images/BMW_logo.png" />
  2344. <p>BMW</p>
  2345. </li>
  2346. <li data-val="Chevrolet">
  2347. <img src="/Content/img/demos/Chevrolet_logo.png" />
  2348. <p>Chevrolet</p>
  2349. </li>
  2350. <li data-val="Citroen">
  2351. <img src="/Content/img/demos/Citroen_logo.png" />
  2352. <p>Citroen</p>
  2353. </li>
  2354. <li data-val="Dacia">
  2355. <img src="images/Dacia_logo.png" />
  2356. <p>Dacia</p>
  2357. </li>
  2358. <li data-val="Ferrari">
  2359. <img src="images/ferrari_logo.png" />
  2360. <p>Ferrari</p>
  2361. </li>
  2362. <li data-val="Ford">
  2363. <img src="/Content/img/demos/Ford_logo.png" />
  2364. <p>Ford</p>
  2365. </li>
  2366. <li data-val="Jaguar">
  2367. <img src="/Content/img/demos/Jaguar_logo.png" />
  2368. <p>Jaguar</p>
  2369. </li>
  2370. <li data-val="Lotus">
  2371. <img src="/Content/img/demos/lotus_logo.png" />
  2372. <p>Lotus</p>
  2373. </li>
  2374. <li data-val="Mercedes">
  2375. <img src="images/mercedes_logo.png" />
  2376. <p>Mercedes</p>
  2377. </li>
  2378. <li data-val="Opel">
  2379. <img src="images/opel_logo.png" />
  2380. <p>Opel</p>
  2381. </li>
  2382. <li data-val="Porsche">
  2383. <img src="/Content/img/demos/Porsche_logo.png" />
  2384. <p>Porsche</p>
  2385. </li>
  2386. <li data-val="Renault">
  2387. <img src="images/renault_logo.png" />
  2388. <p>Renault</p>
  2389. </li>
  2390. <li data-val="Seat">
  2391. <img src="/Content/img/demos/Seat_logo.png" />
  2392. <p>Seat</p>
  2393. </li>
  2394. <li data-val="Volkswagen">
  2395. <img src="images/volkswagen_logo.png" />
  2396. <p>Volkswagen</p>
  2397. </li>
  2398. </ul>
  2399. <button id="imageText-clear">Clear</button>
  2400. <button id="imageText-show">Show</button>
  2401. </div>
  2402. <!-- Image and Text END -->
  2403. <!-- ------------------------------------------------------------------------------- -->
  2404. <!-- ------------------------------------------------------------------------------- -->
  2405. <!-- Image Only START -->
  2406. <div class="demo-wrapper demo-wrapper-imageBasic">
  2407. <ul id="imageBasic-demo" style="display:none">
  2408. <li data-val="1">
  2409. <img src="/content/img/fruit-1.png" />
  2410. </li>
  2411. <li data-val="2">
  2412. <img src="/content/img/fruit-2.png" />
  2413. </li>
  2414. <li data-val="3">
  2415. <img src="/content/img/fruit-3.png" />
  2416. </li>
  2417. <li data-val="4">
  2418. <img src="/content/img/fruit-4.png" />
  2419. </li>
  2420. <li data-val="5">
  2421. <img src="/content/img/fruit-5.png" />
  2422. </li>
  2423. <li data-val="6">
  2424. <img src="/content/img/fruit-1.png" />
  2425. </li>
  2426. <li data-val="7">
  2427. <img src="/content/img/fruit-2.png" />
  2428. </li>
  2429. <li data-val="8">
  2430. <img src="/content/img/fruit-3.png" />
  2431. </li>
  2432. <li data-val="9">
  2433. <img src="/content/img/fruit-4.png" />
  2434. </li>
  2435. <li data-val="10">
  2436. <img src="/content/img/fruit-5.png" />
  2437. </li>
  2438. <li data-val="11">
  2439. <img src="/content/img/fruit-1.png" />
  2440. </li>
  2441. <li data-val="12">
  2442. <img src="/content/img/fruit-2.png" />
  2443. </li>
  2444. <li data-val="13">
  2445. <img src="/content/img/fruit-3.png" />
  2446. </li>
  2447. <li data-val="14">
  2448. <img src="/content/img/fruit-4.png" />
  2449. </li>
  2450. <li data-val="15">
  2451. <img src="/content/img/fruit-5.png" />
  2452. </li>
  2453. <li data-val="16">
  2454. <img src="/content/img/fruit-1.png" />
  2455. </li>
  2456. <li data-val="17">
  2457. <img src="/content/img/fruit-2.png" />
  2458. </li>
  2459. <li data-val="18">
  2460. <img src="/content/img/fruit-3.png" />
  2461. </li>
  2462. <li data-val="19">
  2463. <img src="/content/img/fruit-4.png" />
  2464. </li>
  2465. <li data-val="20">
  2466. <img src="/content/img/fruit-5.png" />
  2467. </li>
  2468. </ul>
  2469. <button id="imageBasic-clear">Clear</button>
  2470. <button id="imageBasic-show">Show</button>
  2471. </div>
  2472. <!-- Image Only END -->
  2473. <!-- ------------------------------------------------------------------------------- -->
  2474. <!-- ------------------------------------------------------------------------------- -->
  2475. <!-- Unordered list START -->
  2476. <div class="demo-wrapper demo-wrapper-listUnordered">
  2477. <ul id="listUnordered-demo" style="display:none">
  2478. <li>Sugar</li>
  2479. <li>Salt</li>
  2480. <li>Butter</li>
  2481. <li>Flour</li>
  2482. <li>Chocolate</li>
  2483. </ul>
  2484. <button id="listUnordered-clear">Clear</button>
  2485. <button id="listUnordered-show">Show</button>
  2486. </div>
  2487. <!-- Unordered list END -->
  2488. <!-- ------------------------------------------------------------------------------- -->
  2489. <!-- ------------------------------------------------------------------------------- -->
  2490. <!-- With time scroller START -->
  2491. <div class="demo-wrapper demo-wrapper-calendarTime">
  2492. <input id="calendarTime-demo" placeholder="Please Select..." />
  2493. <button id="calendarTime-clear">Clear</button>
  2494. <button id="calendarTime-show">Show</button>
  2495. </div>
  2496. <!-- With time scroller END -->
  2497. <!-- ------------------------------------------------------------------------------- -->
  2498. <!-- ------------------------------------------------------------------------------- -->
  2499. <!-- Basic usage START -->
  2500. <div class="demo-wrapper demo-wrapper-calendarBasic">
  2501. <input id="calendarBasic-demo" placeholder="Please Select..." />
  2502. <button id="calendarBasic-clear">Clear</button>
  2503. <button id="calendarBasic-show">Show</button>
  2504. </div>
  2505. <!-- Basic usage END -->
  2506. <!-- ------------------------------------------------------------------------------- -->
  2507. <!-- ------------------------------------------------------------------------------- -->
  2508. <!-- Multi day select START -->
  2509. <div class="demo-wrapper demo-wrapper-calendarMultiday">
  2510. <input id="calendarMultiday-demo" placeholder="Please Select..." />
  2511. <button id="calendarMultiday-clear">Clear</button>
  2512. <button id="calendarMultiday-show">Show</button>
  2513. </div>
  2514. <!-- Multi day select END -->
  2515. <!-- ------------------------------------------------------------------------------- -->
  2516. <!-- ------------------------------------------------------------------------------- -->
  2517. <!-- Multiple select START -->
  2518. <div class="demo-wrapper demo-wrapper-selectMultiple">
  2519. <select name="Category" id="selectMultiple-demo" multiple>
  2520. <option value="1">Books</option>
  2521. <option value="2">Movies, Music & Games</option>
  2522. <option value="3" selected>Electronics & Computers</option>
  2523. <option value="4" selected>Home, Garden & Tools</option>
  2524. <option value="5">Health & Beauty</option>
  2525. <option value="6">Toys, Kids & Baby</option>
  2526. <option value="7">Clothing & Jewelry</option>
  2527. <option value="8">Sports & Outdoors</option>
  2528. <option value="9">Automotive & Industrial</option>
  2529. </select>
  2530. <button id="selectMultiple-clear">Clear</button>
  2531. <button id="selectMultiple-show">Show</button>
  2532. </div>
  2533. <!-- Multiple select END -->
  2534. <!-- ------------------------------------------------------------------------------- -->
  2535. <!-- ------------------------------------------------------------------------------- -->
  2536. <!-- Basic usage START -->
  2537. <div class="demo-wrapper demo-wrapper-timespanBasic">
  2538. <input id="timespanBasic-demo" placeholder="Please Select ..." />
  2539. <button id="timespanBasic-clear">Clear</button>
  2540. <button id="timespanBasic-show">Show</button>
  2541. </div>
  2542. <!-- Basic usage END -->
  2543. <!-- ------------------------------------------------------------------------------- -->
  2544. <!-- ------------------------------------------------------------------------------- -->
  2545. <!-- Day/Hour/Minute span START -->
  2546. <div class="demo-wrapper demo-wrapper-timespanDhm">
  2547. <input id="timespanDhm-demo" placeholder="Please Select ..." />
  2548. <button id="timespanDhm-clear">Clear</button>
  2549. <button id="timespanDhm-show">Show</button>
  2550. </div>
  2551. <!-- Day/Hour/Minute span END -->
  2552. <!-- ------------------------------------------------------------------------------- -->
  2553. <!-- ------------------------------------------------------------------------------- -->
  2554. <!-- Countdown START -->
  2555. <div class="demo-wrapper demo-wrapper-timerCountdown">
  2556. <input id="timerCountdown-demo" placeholder="Please Select ..." />
  2557. </div>
  2558. <!-- Countdown END -->
  2559. <!-- ------------------------------------------------------------------------------- -->
  2560. <!-- ------------------------------------------------------------------------------- -->
  2561. <!-- Basic usage START -->
  2562. <div class="demo-wrapper demo-wrapper-colorHx">
  2563. <b>Please choose color</b><br/>
  2564. <div id="colorHx-demo" class="md-color">#ff0000</div>
  2565. </div>
  2566. <!-- Basic usage END -->
  2567. <!-- ------------------------------------------------------------------------------- -->
  2568. <!-- ------------------------------------------------------------------------------- -->
  2569. <!-- Basic usage START -->
  2570. <div class="demo-wrapper demo-wrapper-rangeBasic">
  2571. <input id="rangeBasic-demo" placeholder="Please Select ..." />
  2572. <button id="rangeBasic-clear">Clear</button>
  2573. <button id="rangeBasic-show">Show</button>
  2574. </div>
  2575. <!-- Basic usage END -->
  2576. <!-- ------------------------------------------------------------------------------- -->
  2577. <!-- ------------------------------------------------------------------------------- -->
  2578. <!-- Time range START -->
  2579. <div class="demo-wrapper demo-wrapper-rangeTime">
  2580. <input id="rangeTime-demo" placeholder="Please Select ..." />
  2581. <button id="rangeTime-clear">Clear</button>
  2582. <button id="rangeTime-show">Show</button>
  2583. </div>
  2584. <!-- Time range END -->
  2585. <!-- ------------------------------------------------------------------------------- -->
  2586. <!-- ------------------------------------------------------------------------------- -->
  2587. <!-- Two inputs START -->
  2588. <div class="demo-wrapper demo-wrapper-rangeTwoinputs">
  2589. <label for="rangeTwoinputs-startDate">Start</label><br/>
  2590. <input id="rangeTwoinputs-startDate" placeholder="Please Select ..." readonly/>
  2591. <label for="rangeTwoinputs-endDate">End</label><br/>
  2592. <input id="rangeTwoinputs-endDate" placeholder="Please Select ..." readonly/>
  2593. <div id="rangeTwoinputs-demo"></div>
  2594. </div>
  2595. <!-- Two inputs END -->
  2596. <!-- ------------------------------------------------------------------------------- -->
  2597. <!-- ------------------------------------------------------------------------------- -->
  2598. <!-- Events START -->
  2599. <div class="demo-wrapper demo-wrapper-eventcalendarEvent">
  2600. <div id="eventcalendarEvent-demo"></div>
  2601. <button id="eventcalendarEvent-show">Show calendar</button>
  2602. </div>
  2603. <!-- Events END -->
  2604. <!-- ------------------------------------------------------------------------------- -->
  2605. <!-- ------------------------------------------------------------------------------- -->
  2606. <!-- Create, remove, update START -->
  2607. <div class="demo-wrapper demo-wrapper-listviewUpdate">
  2608. <div id="listviewUpdate-demo_note" class="md-demo-note demo-note" style="display:none;">
  2609. Whooa, list is empty. Tap here to refresh! &nbsp;
  2610. <span class="mbsc-ic mbsc-ic-loop2"></span>
  2611. </div>
  2612. <ul id="listviewUpdate-demo" class="md-wo-list" style="display:none">
  2613. <li data-id="listviewUpdate-1">Work order #0001
  2614. <div class="md-wo-status">Assigned</div>
  2615. </li>
  2616. <li data-id="listviewUpdate-2">Work order #0002
  2617. <div class="md-wo-status">Assigned</div>
  2618. </li>
  2619. <li data-id="listviewUpdate-3">Work order #0003
  2620. <div class="md-wo-status">Assigned</div>
  2621. </li>
  2622. <li data-id="listviewUpdate-4">Work order #0004
  2623. <div class="md-wo-status">Assigned</div>
  2624. </li>
  2625. <li data-id="listviewUpdate-5">Work order #0005
  2626. <div class="md-wo-status">Assigned</div>
  2627. </li>
  2628. <li data-id="listviewUpdate-6">Work order #0006
  2629. <div class="md-wo-status">Assigned</div>
  2630. </li>
  2631. </ul>
  2632. </div>
  2633. <!-- Create, remove, update END -->
  2634. <!-- ------------------------------------------------------------------------------- -->
  2635. <!-- ------------------------------------------------------------------------------- -->
  2636. <!-- Sort handle START -->
  2637. <div class="demo-wrapper demo-wrapper-listviewSorthandle">
  2638. <ul id="listviewSorthandle-demo" style="display:none">
  2639. <li><img src="images/m1.png" />
  2640. <h3>Barry Lyon</h3>
  2641. <p>(202) 555-0193</p>
  2642. </li>
  2643. <li><img src="images/f1.png" />
  2644. <h3>Hortense Tinker</h3>
  2645. <p>(202) 555-0127</p>
  2646. </li>
  2647. <li><img src="images/m2.png" />
  2648. <h3>Carl Hambledon</h3>
  2649. <p>(202) 555-0147</p>
  2650. </li>
  2651. <li><img src="images/f2.png" />
  2652. <h3>Arlene Sharman</h3>
  2653. <p>(202) 555-0190</p>
  2654. </li>
  2655. <li><img src="images/m3.png" />
  2656. <h3>Noble Blythe</h3>
  2657. <p>(202) 555-0176</p>
  2658. </li>
  2659. <li><img src="images/f3.png" />
  2660. <h3>Angelica Geary</h3>
  2661. <p>(202) 555-0107</p>
  2662. </li>
  2663. <li><img src="images/m4.png" />
  2664. <h3>Lowell Christophers</h3>
  2665. <p>(202) 555-0120</p>
  2666. </li>
  2667. <li><img src="images/f4.png" />
  2668. <h3>Leilah Gregory</h3>
  2669. <p>(202) 555-0189</p>
  2670. </li>
  2671. </ul>
  2672. </div>
  2673. <!-- Sort handle END -->
  2674. <!-- ------------------------------------------------------------------------------- -->
  2675. <!-- ------------------------------------------------------------------------------- -->
  2676. <!-- Action menu START -->
  2677. <div class="demo-wrapper demo-wrapper-listviewActionmenu">
  2678. <ul id="listviewActionmenu-demo" style="display:none">
  2679. <li data-type="folder" data-icon="folder">Music
  2680. <ul>
  2681. <li data-type="music" data-icon="music">Track 1</li>
  2682. <li data-type="music" data-icon="music">Track 2</li>
  2683. <li data-type="music" data-icon="music">Track 3</li>
  2684. </ul>
  2685. </li>
  2686. <li data-type="folder" data-icon="folder">Photos
  2687. <ul>
  2688. <li data-type="picture" data-icon="image2">Image 1</li>
  2689. <li data-type="picture" data-icon="image2">Image 2</li>
  2690. <li data-type="picture" data-icon="image2">Image 3</li>
  2691. </ul>
  2692. </li>
  2693. <li data-type="folder" data-icon="folder">Videos
  2694. <ul>
  2695. <li data-type="movie" data-icon="play">Movie 1</li>
  2696. <li data-type="movie" data-icon="play">Movie 2</li>
  2697. <li data-type="movie" data-icon="play">Movie 3</li>
  2698. </ul>
  2699. </li>
  2700. <li data-type="picture" data-icon="image2">Image 1</li>
  2701. <li data-type="picture" data-icon="image2">Image 2</li>
  2702. <li data-type="picture" data-icon="image2">Image 3</li>
  2703. <li data-type="picture" data-icon="image2">Image 4</li>
  2704. <li data-type="picture" data-icon="image2">Image 5</li>
  2705. <li data-type="picture" data-icon="file4">File 1</li>
  2706. <li data-type="picture" data-icon="file4">File 2</li>
  2707. </ul>
  2708. </div>
  2709. <!-- Action menu END -->
  2710. <!-- ------------------------------------------------------------------------------- -->
  2711. <!-- ------------------------------------------------------------------------------- -->
  2712. <!-- Custom Icons START -->
  2713. <div class="demo-wrapper demo-wrapper-ratingIcons">
  2714. <input id="ratingIcons-demo" placeholder="Please Select ..." />
  2715. <button id="ratingIcons-clear">Clear</button>
  2716. <button id="ratingIcons-show">Show</button>
  2717. </div>
  2718. <!-- Custom Icons END -->
  2719. <!-- ------------------------------------------------------------------------------- -->
  2720. <!-- ------------------------------------------------------------------------------- -->
  2721. <!-- Decimal START -->
  2722. <div class="demo-wrapper demo-wrapper-numberDecimal">
  2723. <input id="numberDecimal-demo" placeholder="Please Select ..." />
  2724. <button id="numberDecimal-clear">Clear</button>
  2725. <button id="numberDecimal-show">Show</button>
  2726. </div>
  2727. <!-- Decimal END -->
  2728. <!-- ------------------------------------------------------------------------------- -->
  2729. <!-- ------------------------------------------------------------------------------- -->
  2730. <!-- Decimal START -->
  2731. <div class="demo-wrapper demo-wrapper-numpadDecimal">
  2732. <input id="numpadDecimal-demo" placeholder="Please Select ..." />
  2733. <button id="numpadDecimal-clear">Clear</button>
  2734. <button id="numpadDecimal-show">Show</button>
  2735. </div>
  2736. <!-- Decimal END -->
  2737. <!-- ------------------------------------------------------------------------------- -->
  2738. <!-- ------------------------------------------------------------------------------- -->
  2739. <!-- Currency START -->
  2740. <div class="demo-wrapper demo-wrapper-numpadCurrency">
  2741. <div class="md-stepper-np" style="display:none" mbsc-enhance>
  2742. <div class="mbsc-padding md-demo">
  2743. <h4 class="md-title">Automatically top up account</h4>
  2744. <div class="mbsc-desc ">Top up from credit card if account falls bellow $10</div>
  2745. <div>
  2746. <div>
  2747. <input id="numpadCurrency-md-price" class="md-price" data-role="stepper" min="10" max="500" step="10" value="20" readonly />
  2748. <div id="numpadCurrency-demo" class="md-numpad"></div>
  2749. </div>
  2750. </div>
  2751. <button class="mbsc-btn-block">Save Settings</button>
  2752. </div>
  2753. </div>
  2754. </div>
  2755. <!-- Currency END -->
  2756. <!-- ------------------------------------------------------------------------------- -->
  2757. <!-- ------------------------------------------------------------------------------- -->
  2758. <!-- Time START -->
  2759. <div class="demo-wrapper demo-wrapper-numpadTime">
  2760. <input id="numpadTime-demo" placeholder="Please Select ..." />
  2761. <button id="numpadTime-clear">Clear</button>
  2762. <button id="numpadTime-show">Show</button>
  2763. </div>
  2764. <!-- Time END -->
  2765. <!-- ------------------------------------------------------------------------------- -->
  2766. <!-- ------------------------------------------------------------------------------- -->
  2767. <!-- Masked Entry - PIN START -->
  2768. <div class="demo-wrapper demo-wrapper-numpadPin">
  2769. <input id="numpadPin-demo" placeholder="Please Select ..." />
  2770. <button id="numpadPin-clear">Clear</button>
  2771. <button id="numpadPin-show">Show</button>
  2772. </div>
  2773. <!-- Masked Entry - PIN END -->
  2774. <!-- ------------------------------------------------------------------------------- -->
  2775. <!-- ------------------------------------------------------------------------------- -->
  2776. <!-- Date with min and max START -->
  2777. <div class="demo-wrapper demo-wrapper-datetimeMinmax">
  2778. <input id="datetimeMinmax-demo" placeholder="Please Select..." />
  2779. <button id="datetimeMinmax-clear">Clear</button>
  2780. <button id="datetimeMinmax-show">Show</button>
  2781. </div>
  2782. <!-- Date with min and max END -->
  2783. <!-- ------------------------------------------------------------------------------- -->
  2784. <!-- ------------------------------------------------------------------------------- -->
  2785. <!-- Tab menu START -->
  2786. <div class="demo-wrapper demo-wrapper-menustripTabs">
  2787. <ul id="menustripTabs-demo" style="display:none;">
  2788. <li data-tab="tab-downloaded" data-selected="true">Downloaded</li>
  2789. <li data-tab="tab-all">All</li>
  2790. <li data-tab="tab-external">External storage</li>
  2791. <li data-tab="tab-running">Running</li>
  2792. <li data-tab="tab-disabled">Disabled</li>
  2793. </ul>
  2794. <div id="menustripTabs-tab-downloaded" class="md-tab-h md-tabs-sel">
  2795. <ul class="md-apps-ul" style="display:none;">
  2796. <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">19/11/2014</span></span>
  2797. </li>
  2798. <li><span class="md-app-ic mbsc-ic mbsc-ic-camera"></span>Camera<span class="md-app-detail"><span class="md-app-size">43.11MB</span><span class="md-app-date">10/11/2014</span></span>
  2799. </li>
  2800. <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">9/11/2014</span></span>
  2801. </li>
  2802. <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">21/10/2014</span></span>
  2803. </li>
  2804. <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">20/11/2014</span></span>
  2805. </li>
  2806. <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">18/10/2014</span></span>
  2807. </li>
  2808. </ul>
  2809. </div>
  2810. <div id="menustripTabs-tab-external" class="md-tab-h">
  2811. <ul class="md-apps-ul" style="display:none;">
  2812. <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">09/09/2014</span></span>
  2813. </li>
  2814. <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">19/08/2014</span></span>
  2815. </li>
  2816. <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">17/11/2014</span></span>
  2817. </li>
  2818. <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">16/11/2014</span></span>
  2819. </li>
  2820. </ul>
  2821. </div>
  2822. <div id="menustripTabs-tab-running" class="md-tab-h">
  2823. <ul class="md-apps-ul" style="display:none;">
  2824. <li><span class="md-app-ic mbsc-ic mbsc-ic-clock"></span>Clock<span class="md-app-detail"><span class="md-app-size">1.52MB</span><span class="md-app-date">16/10/2014</span></span>
  2825. </li>
  2826. <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">10/11/2014</span></span>
  2827. </li>
  2828. <li><span class="md-app-ic mbsc-ic mbsc-ic-bubble"></span>Messages<span class="md-app-detail"><span class="md-app-size">25.57MB</span><span class="md-app-date">09/11/2014</span></span>
  2829. </li>
  2830. <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">08/11/2014</span></span>
  2831. </li>
  2832. </ul>
  2833. </div>
  2834. <div id="menustripTabs-tab-all" class="md-tab-h">
  2835. <ul class="md-apps-ul" style="display:none;">
  2836. <li><span class="md-app-ic mbsc-ic mbsc-ic-globe"></span>Browser<span class="md-app-detail"><span class="md-app-size">74.68MB</span><span class="md-app-date">18/11/2014</span></span>
  2837. </li>
  2838. <li><span class="md-app-ic mbsc-ic mbsc-ic-calendar"></span>Calendar<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">17/11/2014</span></span>
  2839. </li>
  2840. <li><span class="md-app-ic mbsc-ic mbsc-ic-camera"></span>Camera<span class="md-app-detail"><span class="md-app-size">43.11MB</span><span class="md-app-date">19/10/2014</span></span>
  2841. </li>
  2842. <li><span class="md-app-ic mbsc-ic mbsc-ic-clock"></span>Clock<span class="md-app-detail"><span class="md-app-size">1.52MB</span><span class="md-app-date">10/10/2014</span></span>
  2843. </li>
  2844. <li><span class="md-app-ic mbsc-ic mbsc-ic-user4"></span>Contacts<span class="md-app-detail"><span class="md-app-size">5.43MB</span><span class="md-app-date">11/08/2014</span></span>
  2845. </li>
  2846. <li><span class="md-app-ic mbsc-ic mbsc-ic-copy3"></span>Docs<span class="md-app-detail"><span class="md-app-size">32.41MB</span><span class="md-app-date">19/11/2014</span></span>
  2847. </li>
  2848. <li><span class="md-app-ic mbsc-ic mbsc-ic-folder"></span>File Manager<span class="md-app-detail"><span class="md-app-size">12.66MB</span><span class="md-app-date">18/11/2014</span></span>
  2849. </li>
  2850. <li><span class="md-app-ic mbsc-ic mbsc-ic-image2"></span>Gallery<span class="md-app-detail"><span class="md-app-size">1.68MB</span><span class="md-app-date">17/11/2014</span></span>
  2851. </li>
  2852. <li><span class="md-app-ic mbsc-ic mbsc-ic-earth"></span>Maps<span class="md-app-detail"><span class="md-app-size">46.21MB</span><span class="md-app-date">18/11/2014</span></span>
  2853. </li>
  2854. <li><span class="md-app-ic mbsc-ic mbsc-ic-phone"></span>Phone<span class="md-app-detail"><span class="md-app-size">1.28MB</span><span class="md-app-date">19/11/2014</span></span>
  2855. </li>
  2856. <li><span class="md-app-ic mbsc-ic mbsc-ic-foundation-mail"></span>Email<span class="md-app-detail"><span class="md-app-size">6.65MB</span><span class="md-app-date">05/07/2014</span></span>
  2857. </li>
  2858. <li><span class="md-app-ic mbsc-ic mbsc-ic-bubble"></span>Messages<span class="md-app-detail"><span class="md-app-size">25.57MB</span><span class="md-app-date">06/06/2014</span></span>
  2859. </li>
  2860. <li><span class="md-app-ic mbsc-ic mbsc-ic-newspaper"></span>News<span class="md-app-detail"><span class="md-app-size">24.00MB</span><span class="md-app-date">20/10/2014</span></span>
  2861. </li>
  2862. <li><span class="md-app-ic mbsc-ic mbsc-ic-play"></span>Youtube<span class="md-app-detail"><span class="md-app-size">26.47MB</span><span class="md-app-date">18/11/2014</span></span>
  2863. </li>
  2864. </ul>
  2865. </div>
  2866. <div id="menustripTabs-tab-disabled" class="md-tab-h">
  2867. <ul class="md-apps-ul" style="display:none;">
  2868. <li><span class="md-app-ic mbsc-ic mbsc-ic-user4"></span>Contacts<span class="md-app-detail"><span class="md-app-size">26.71MB</span><span class="md-app-date">17/11/2014</span></span>
  2869. </li>
  2870. </ul>
  2871. </div>
  2872. </div>
  2873. <!-- Tab menu END -->
  2874. <!-- ------------------------------------------------------------------------------- -->
  2875. <!-- ------------------------------------------------------------------------------- -->
  2876. <!-- Icon and Text START -->
  2877. <div class="demo-wrapper demo-wrapper-imageIcons">
  2878. <ul id="imageIcons-demo" style="display:none">
  2879. <li data-val="Share" data-icon="share">
  2880. <p>Share</p>
  2881. </li>
  2882. <li data-val="Bookmark" data-icon="star">
  2883. <p>Bookmark</p>
  2884. </li>
  2885. <li data-val="Flag" data-icon="flag">
  2886. <p>Flag</p>
  2887. </li>
  2888. <li data-val="Tag" data-icon="tag">
  2889. <p>Tag</p>
  2890. </li>
  2891. <li data-val="Download" data-icon="download">
  2892. <p>Download</p>
  2893. </li>
  2894. <li data-val="Delete" data-icon="remove">
  2895. <p>Delete</p>
  2896. </li>
  2897. </ul>
  2898. <button id="imageIcons-clear">Clear</button>
  2899. <button id="imageIcons-show">Show</button>
  2900. </div>
  2901. <!-- Icon and Text END -->
  2902. <!-- ------------------------------------------------------------------------------- -->
  2903. <!-- ------------------------------------------------------------------------------- -->
  2904. <!-- Step START -->
  2905. <div class="demo-wrapper demo-wrapper-numberStep">
  2906. <input id="numberStep-demo" placeholder="Please Select ..." />
  2907. <button id="numberStep-clear">Clear</button>
  2908. <button id="numberStep-show">Show</button>
  2909. </div>
  2910. <!-- Step END -->
  2911. <!-- ------------------------------------------------------------------------------- -->
  2912. <!-- ------------------------------------------------------------------------------- -->
  2913. <!-- Dialog START -->
  2914. <div class="demo-wrapper demo-wrapper-widgetDialog">
  2915. <div id="widgetDialog-demo" style="display: none;">
  2916. <div class="md-dialog">
  2917. <h3 class="md-text-center">Hi Molly</h3>
  2918. <p class="md-text-center">How are you feeling today?</p>
  2919. </div>
  2920. </div>
  2921. <button id="widgetDialog-show">How are you feeling?</button>
  2922. </div>
  2923. <!-- Dialog END -->
  2924. <!-- ------------------------------------------------------------------------------- -->
  2925. <!-- ------------------------------------------------------------------------------- -->
  2926. <!-- Alert message START -->
  2927. <div class="demo-wrapper demo-wrapper-widgetMessage">
  2928. <div id="widgetMessage-demo" style="display: none;">
  2929. <div class="md-body">
  2930. <h3>Use Google's location service?</h3>
  2931. <p>Let Google help apps determine location. This meas sending anonymus location data to Google, even when no apps are running.</p>
  2932. </div>
  2933. </div>
  2934. <button id="widgetMessage-show">Use Location Services?</button>
  2935. </div>
  2936. <!-- Alert message END -->
  2937. <!-- ------------------------------------------------------------------------------- -->
  2938. <!-- ------------------------------------------------------------------------------- -->
  2939. <!-- Custom Units START -->
  2940. <div class="demo-wrapper demo-wrapper-scrollerCustomunits">
  2941. <input id="scrollerCustomunits-demo" placeholder="Please Select ..." />
  2942. <button id="scrollerCustomunits-clear">Clear</button>
  2943. <button id="scrollerCustomunits-show">Show</button>
  2944. </div>
  2945. <!-- Custom Units END -->
  2946. <!-- ------------------------------------------------------------------------------- -->
  2947. <!-- ------------------------------------------------------------------------------- -->
  2948. <!-- Text Fields START -->
  2949. <div class="demo-wrapper demo-wrapper-formsTextfields">
  2950. <div id="formsTextfields-demo" style="display:none" mbsc-enhance>
  2951. <div class="mbsc-divider">Single-line text</div>
  2952. <div>
  2953. <label for="formsTextfields-name">Label</label>
  2954. <input id="formsTextfields-name" type="text" placeholder="Text field label" />
  2955. </div>
  2956. <label>
  2957. Password
  2958. <input type="password" placeholder="Text field with icon" data-icon="lock2" />
  2959. </label>
  2960. <label>
  2961. Password Toggle
  2962. <input type="password" placeholder="Text field with icon" data-icon="lock2" data-password-toggle="true" />
  2963. </label>
  2964. <label>
  2965. <input type="text" placeholder="Text field with right icon" data-icon="pencil" data-icon-align="right" />
  2966. </label>
  2967. <label>
  2968. <input type="text" placeholder="Text field disabled" disabled/>
  2969. </label>
  2970. <label class="mbsc-err">
  2971. <input type="text" placeholder="Text field with error style" />
  2972. </label>
  2973. <label class="mbsc-err">
  2974. <input type="text" placeholder="Text field with error style and message" />
  2975. <span class="mbsc-err-msg">Error message!</span>
  2976. </label>
  2977. <div class="mbsc-divider">Multi-line text</div>
  2978. <label>
  2979. Label
  2980. <textarea></textarea>
  2981. </label>
  2982. <label>
  2983. <textarea data-icon="pencil" data-icon-align="right"></textarea>
  2984. </label>
  2985. <label>
  2986. Label
  2987. <textarea data-icon="bubble" data-icon-align="left"></textarea>
  2988. </label>
  2989. <label>
  2990. <textarea placeholder="disabled" disabled></textarea>
  2991. </label>
  2992. <label class="mbsc-err">
  2993. <textarea></textarea>
  2994. <span class="mbsc-err-msg">Error message!</span>
  2995. </label>
  2996. </div>
  2997. </div>
  2998. <!-- Text Fields END -->
  2999. <!-- ------------------------------------------------------------------------------- -->
  3000. <!-- ------------------------------------------------------------------------------- -->
  3001. <!-- Select START -->
  3002. <div class="demo-wrapper demo-wrapper-formsSelect">
  3003. <div id="formsSelect-demo" style="display:none" mbsc-enhance>
  3004. <div class="mbsc-divider">Select</div>
  3005. <label>
  3006. Label
  3007. <select class="md-select">
  3008. <option>Select</option>
  3009. <option value="volvo">Volvo</option>
  3010. <option value="saab">Saab</option>
  3011. <option value="mercedes">Mercedes</option>
  3012. <option value="audi">Audi</option>
  3013. </select>
  3014. </label>
  3015. <label>
  3016. <select class="md-select" data-icon="plus" data-icon-align="right">
  3017. <option>Select with icon</option>
  3018. <option value="opel">Opel</option>
  3019. <option value="renault">Renault</option>
  3020. <option value="Citroen">Citroen</option>
  3021. <option value="Lotus">Lotus</option>
  3022. </select>
  3023. </label>
  3024. <label>
  3025. <select class="md-select" data-icon="plus" data-icon-align="left">
  3026. <option>Select with right icon</option>
  3027. <option value="Peugeot">Peugeot</option>
  3028. <option value="Porsche">Porsche</option>
  3029. <option value="Fiat">Fiat</option>
  3030. <option value="Volkswagen">Volkswagen</option>
  3031. </select>
  3032. </label>
  3033. <label class="mbsc-err">
  3034. <select class="md-select">
  3035. <option>Select error</option>
  3036. <option value="Ferrari">Ferrari</option>
  3037. <option value="Honda">Honda</option>
  3038. <option value="Suzuki">Suzuki</option>
  3039. <option value="Lamborghini">Lamborghini</option>
  3040. </select>
  3041. </label>
  3042. <label>
  3043. <select disabled>
  3044. <option>Select disabled</option>
  3045. <option value="Bentley">Bentley</option>
  3046. <option value="Morgan">Morgan</option>
  3047. <option value="Chevrolet">Chevrolet</option>
  3048. <option value="Dodge">Dodge</option>
  3049. </select>
  3050. </label>
  3051. </div>
  3052. </div>
  3053. <!-- Select END -->
  3054. <!-- ------------------------------------------------------------------------------- -->
  3055. <!-- ------------------------------------------------------------------------------- -->
  3056. <!-- Checkbox START -->
  3057. <div class="demo-wrapper demo-wrapper-formsCheckbox">
  3058. <div id="formsCheckbox-demo" style="display:none" mbsc-enhance>
  3059. <div class="mbsc-divider">Checkbox</div>
  3060. <label>
  3061. <input type="checkbox" checked>
  3062. Option 1
  3063. <span class="mbsc-desc">Checked checkbox</span>
  3064. </label>
  3065. <label>
  3066. <input type="checkbox">
  3067. Option 2
  3068. <span class="mbsc-desc">Empty checkbox</span>
  3069. </label>
  3070. <label>
  3071. <input type="checkbox" disabled>
  3072. Option 3
  3073. <span class="mbsc-desc">Disabled checkbox</span>
  3074. </label>
  3075. <label>
  3076. <input type="checkbox" checked disabled>
  3077. Option 4
  3078. <span class="mbsc-desc">Disabled and checked checkbox</span>
  3079. </label>
  3080. </div>
  3081. </div>
  3082. <!-- Checkbox END -->
  3083. <!-- ------------------------------------------------------------------------------- -->
  3084. <!-- ------------------------------------------------------------------------------- -->
  3085. <!-- Switch START -->
  3086. <div class="demo-wrapper demo-wrapper-formsSwitch">
  3087. <div id="formsSwitch-demo" style="display:none" mbsc-enhance>
  3088. <div class="mbsc-divider">Switch</div>
  3089. <label>
  3090. <input data-role="switch" type="checkbox"> Switch Off
  3091. <span class="mbsc-desc">This is description for Switch</span>
  3092. </label>
  3093. <label>
  3094. <input data-role="switch" type="checkbox" checked> Switch On
  3095. <span class="mbsc-desc">This is description for Switch 2</span>
  3096. </label>
  3097. <label>
  3098. <input data-role="switch" type="checkbox" disabled> Disabled Switch Off
  3099. </label>
  3100. <label>
  3101. <input data-role="switch" type="checkbox" disabled checked> Disabled Switch On
  3102. </label>
  3103. </div>
  3104. </div>
  3105. <!-- Switch END -->
  3106. <!-- ------------------------------------------------------------------------------- -->
  3107. <!-- ------------------------------------------------------------------------------- -->
  3108. <!-- Radio buttons START -->
  3109. <div class="demo-wrapper demo-wrapper-formsRadiobtn">
  3110. <div id="formsRadiobtn-demo" style="display:none" mbsc-enhance>
  3111. <div class="mbsc-divider">Radio buttons</div>
  3112. <label>
  3113. <input type="radio" name="group" checked> Radio Option 1
  3114. <span class="mbsc-desc">This is description for radio 1</span>
  3115. </label>
  3116. <label>
  3117. <input type="radio" name="group"> Radio Option 2
  3118. <span class="mbsc-desc">This is description for radio 2</span>
  3119. </label>
  3120. <label>
  3121. <input type="radio" name="group"> Radio Option 3
  3122. </label>
  3123. <label>
  3124. <input type="radio" name="group" disabled> Disabled
  3125. </label>
  3126. </div>
  3127. </div>
  3128. <!-- Radio buttons END -->
  3129. <!-- ------------------------------------------------------------------------------- -->
  3130. <!-- ------------------------------------------------------------------------------- -->
  3131. <!-- Buttons START -->
  3132. <div class="demo-wrapper demo-wrapper-formsButtons">
  3133. <div id="formsButtons-demo" style="display:none" mbsc-enhance>
  3134. <div class="mbsc-divider">Buttons</div>
  3135. <div class="mbsc-btn-group">
  3136. <button>Button</button>
  3137. <button disabled>Disabled</button>
  3138. </div>
  3139. <div class="mbsc-padding">
  3140. <button class="mbsc-btn-block">Full width button</button>
  3141. <button class="mbsc-btn-block" disabled>Disabled full width</button>
  3142. </div>
  3143. <div class="mbsc-divider">Icons</div>
  3144. <div class="mbsc-btn-group">
  3145. <button data-icon="tag"></button>
  3146. <button data-icon="heart"></button>
  3147. <button data-icon="flag" disabled></button>
  3148. </div>
  3149. <div class="mbsc-btn-group">
  3150. <button data-icon="tag">Tag</button>
  3151. <button data-icon="heart">Favorite</button>
  3152. <button data-icon="flag" disabled>Flag</button>
  3153. </div>
  3154. <div class="mbsc-divider">Flat Buttons</div>
  3155. <div class="mbsc-btn-group">
  3156. <button class="mbsc-btn-flat">Flat</button>
  3157. <button class="mbsc-btn-flat" data-icon="arrow-left5">Flat & Icon</button>
  3158. <button class="mbsc-btn-flat" data-icon="arrow-left5"></button>
  3159. <button class="mbsc-btn-flat" data-icon="key2" disabled></button>
  3160. <button class="mbsc-btn-flat" disabled>Flat disabled</button>
  3161. </div>
  3162. </div>
  3163. </div>
  3164. <!-- Buttons END -->
  3165. <!-- ------------------------------------------------------------------------------- -->
  3166. <!-- ------------------------------------------------------------------------------- -->
  3167. <!-- Typography START -->
  3168. <div class="demo-wrapper demo-wrapper-formsTypography">
  3169. <div id="formsTypography-demo" style="font-family: inherit;" mbsc-enhance>
  3170. <div class="mbsc-padding">
  3171. <h1>Heading 1</h1>
  3172. <h2>Heading 2</h2>
  3173. <h3>Heading 3</h3>
  3174. <h4>Heading 4</h4>
  3175. <h5>Heading 5</h5>
  3176. <h6>Heading 6</h6>
  3177. <p class="mbsc-bold"> Bold paragraph with a <a href="#">link</a> inside.</p>
  3178. <p class="mbsc-medium"> Medium paragraph with a <a href="#">link</a> inside.</p>
  3179. <p class="mbsc-thin"> Thin paragraph with a <a href="#">link</a> inside.</p>
  3180. <p class="mbsc-italic"> Italic paragraph with a <a href="#">link</a> inside.</p>
  3181. </div>
  3182. </div>
  3183. </div>
  3184. <!-- Typography END -->
  3185. <!-- ------------------------------------------------------------------------------- -->
  3186. <!-- ------------------------------------------------------------------------------- -->
  3187. <!-- Slider START -->
  3188. <div class="demo-wrapper demo-wrapper-formsSlider">
  3189. <div id="formsSlider-demo" style="display:none" mbsc-enhance>
  3190. <div class="mbsc-divider">Sound settings</div>
  3191. <label>
  3192. <input type="range" value="30" data-icon='{ "left": "volume-mute2", "right": "volume-high" }' />
  3193. </label>
  3194. <label>
  3195. <input type="range" value="50" data-icon="alarm2" disabled />
  3196. </label>
  3197. <label>
  3198. Weight
  3199. <input type="range" value="130" min="80" max="300" data-val="left" data-template="{value} lbs" data-highlight="false" />
  3200. </label>
  3201. <label>
  3202. Price
  3203. <input type="range" value="100" min="0" max="500" step="25" data-tooltip="true" data-step-labels="[0, 100, 200, 300, 400, 500]">
  3204. <input type="range" value="400" min="0" max="500" step="25" />
  3205. </label>
  3206. <label>
  3207. Steps
  3208. <input type="range" value="50" min="0" max="100" step="25" data-step-labels="[0, 25, 50, 75, 100]">
  3209. </label>
  3210. <label>
  3211. Multiple
  3212. <input type="range" value="100" min="0" max="3000" data-tooltip="true" data-step-labels="[0, 500, 1000, 1500, 2000, 2500, 3000]">
  3213. <input type="range" value="500" min="0" max="3000" />
  3214. <input type="range" value="2000" min="0" max="3000" />
  3215. <input type="range" value="2800" min="0" max="3000" />
  3216. </label>
  3217. </div>
  3218. </div>
  3219. <!-- Slider END -->
  3220. <!-- ------------------------------------------------------------------------------- -->
  3221. <!-- ------------------------------------------------------------------------------- -->
  3222. <!-- Stepper START -->
  3223. <div class="demo-wrapper demo-wrapper-formsStepper">
  3224. <div id="formsStepper-demo" style="display:none" mbsc-enhance>
  3225. <div class="mbsc-divider">Passengers</div>
  3226. <div>
  3227. <label for="formsStepper-md-adults">Adults</label>
  3228. <span class="mbsc-desc">From 14 years</span>
  3229. <input id="formsStepper-md-adults" type="number" data-role="stepper" min="1" value="1" max="15" />
  3230. </div>
  3231. <div>
  3232. <label for="formsStepper-md-children">Children</label>
  3233. <span class="mbsc-desc">2-14 years</span>
  3234. <input id="formsStepper-md-children" type="number" data-role="stepper" max="15" data-val="left" />
  3235. </div>
  3236. <div>
  3237. <label for="formsStepper-md-infant">Infant</label>
  3238. <span class="mbsc-desc">0-2 years</span>
  3239. <input id="formsStepper-md-infant" type="number" data-role="stepper" data-val="left" max="10" />
  3240. </div>
  3241. <div class="mbsc-divider">Luggage</div>
  3242. <label>
  3243. Allow overweight luggage
  3244. <input class="md-allow" type="checkbox" />
  3245. </label>
  3246. <div>
  3247. <label for="formsStepper-md-luggage">Weight</label>
  3248. <span class="mbsc-desc">(kg)</span>
  3249. <input id="formsStepper-md-luggage" type="number" class="md-luggage" data-role="stepper" data-val="left" min="30" max="80" step="5" value="30" disabled />
  3250. </div>
  3251. <div class="mbsc-divider">Stepper with Numpad</div>
  3252. <div>
  3253. <label for="formsStepper-md-luggage">Consumption</label>
  3254. <div class="mbsc-desc">(mpg)</div>
  3255. <input id="formsStepper-md-consumption" class="md-consumption" type="number" data-role="stepper" data-val="left" min="5" max="120" step=".5" value="30" readonly />
  3256. <div class="md-numpad"></div>
  3257. </div>
  3258. </div>
  3259. </div>
  3260. <!-- Stepper END -->
  3261. <!-- ------------------------------------------------------------------------------- -->
  3262. <!-- ------------------------------------------------------------------------------- -->
  3263. <!-- Progress START -->
  3264. <div class="demo-wrapper demo-wrapper-formsProgress">
  3265. <div id="formsProgress-demo" class="md-progress-demo" style="display:none" mbsc-enhance>
  3266. <div class="mbsc-divider">Downloading file</div>
  3267. <label>
  3268. <progress id="formsProgress-download" value="0" max="100" data-icon='{ "left": "cloud-download" }' data-val="right"></progress>
  3269. </label>
  3270. <div class="mbsc-btn-group">
  3271. <button class="mbsc-btn md-restart">Restart download</button>
  3272. </div>
  3273. <label>
  3274. <progress id="formsProgress-progress" value="0" max="100" data-step-labels="[0, 25, 50, 75, 100]"></progress>
  3275. </label>
  3276. <div class="mbsc-btn-group">
  3277. <button class="mbsc-btn md-update">Update progress</button>
  3278. </div>
  3279. <div class="mbsc-divider">Cloud upload</div>
  3280. <label class="md-upload">
  3281. <progress value="0" id="formsProgress-uploadProg" max="100" data-step-labels="[0, 33, 66, 100]" data-icon='{ "left": "cloud-upload" }'></progress>
  3282. </label>
  3283. <div class="mbsc-btn-group">
  3284. <button class="mbsc-btn md-restart-up">Restart upload</button>
  3285. </div>
  3286. <div class="mbsc-divider">Checkout process</div>
  3287. <label class="md-demo">
  3288. <progress id="formsProgress-cartProg" value="0" max="100" data-step-labels="[0, 33, 66, 100]"></progress>
  3289. </label>
  3290. <div class="mbsc-btn-group">
  3291. <button class="mbsc-btn md-next-step">Next step</button>
  3292. </div>
  3293. </div>
  3294. </div>
  3295. <!-- Progress END -->
  3296. <!-- ------------------------------------------------------------------------------- -->
  3297. <!-- ------------------------------------------------------------------------------- -->
  3298. <!-- Segmented START -->
  3299. <div class="demo-wrapper demo-wrapper-formsSegmented">
  3300. <div id="formsSegmented-demo" style="display:none" mbsc-enhance>
  3301. <div class="mbsc-divider">Single select</div>
  3302. <label>
  3303. Day
  3304. <input type="radio" data-role="segmented" name="range">
  3305. </label>
  3306. <label>
  3307. Week
  3308. <input type="radio" data-role="segmented" name="range" checked>
  3309. </label>
  3310. <label>
  3311. Month
  3312. <input type="radio" data-role="segmented" name="range">
  3313. </label>
  3314. <label>
  3315. Year
  3316. <input type="radio" data-role="segmented" name="range" checked>
  3317. </label>
  3318. <div class="mbsc-divider">Multiple select</div>
  3319. <label>
  3320. S
  3321. <input type="checkbox" data-role="segmented" name="week" disabled>
  3322. </label>
  3323. <label>
  3324. M
  3325. <input type="checkbox" data-role="segmented" name="week" checked>
  3326. </label>
  3327. <label>
  3328. T
  3329. <input type="checkbox" data-role="segmented" name="week" >
  3330. </label>
  3331. <label>
  3332. W
  3333. <input type="checkbox" data-role="segmented" name="week" >
  3334. </label>
  3335. <label>
  3336. T
  3337. <input type="checkbox" data-role="segmented" name="week" checked>
  3338. </label>
  3339. <label>
  3340. F
  3341. <input type="checkbox" data-role="segmented" name="week" >
  3342. </label>
  3343. <label>
  3344. S
  3345. <input type="checkbox" data-role="segmented" name="week" disabled>
  3346. </label>
  3347. <div class="mbsc-divider">Text and Icon</div>
  3348. <label>
  3349. Featured
  3350. <input type="radio" data-role="segmented" data-icon="material-star" name="app" checked>
  3351. </label>
  3352. <label>
  3353. Explore
  3354. <input type="radio" data-role="segmented" data-icon="material-explore" name="app">
  3355. </label>
  3356. <label>
  3357. Updates
  3358. <input type="radio" data-role="segmented" data-icon="material-system-update" name="app">
  3359. </label>
  3360. <div class="mbsc-divider">Icon</div>
  3361. <label>
  3362. <input type="radio" data-role="segmented" data-icon="fa-mail-reply" name="settings">
  3363. </label>
  3364. <label>
  3365. <input type="radio" data-role="segmented" data-icon="fa-retweet" name="settings">
  3366. </label>
  3367. <label>
  3368. <input type="radio" data-role="segmented" data-icon="star3" name="settings" checked>
  3369. </label>
  3370. <label>
  3371. <input type="radio" data-role="segmented" data-icon="cogs" name="settings">
  3372. </label>
  3373. <div class="mbsc-divider">Disabled</div>
  3374. <label>
  3375. Idividual
  3376. <input type="radio" data-role="segmented" name="org" disabled checked>
  3377. </label>
  3378. <label>
  3379. Team
  3380. <input type="radio" data-role="segmented" name="org" disabled>
  3381. </label>
  3382. <label>
  3383. Company
  3384. <input type="radio" data-role="segmented" name="org" disabled>
  3385. </label>
  3386. </div>
  3387. </div>
  3388. <!-- Segmented END -->
  3389. <!-- ------------------------------------------------------------------------------- -->
  3390. </body>
  3391. </html>