Debian Codegraph @

dojox/mobile/tests/test_domButtons16.html

raw symbols SCIP
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
5 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
6 <meta name="apple-mobile-web-app-capable" content="yes"/>
7 <title>domButtons16</title>
8
9 <link href="../themes/common/domButtons/DomButtonBlackRightArrow16.css" rel="stylesheet"/>
10 <link href="../themes/common/domButtons/DomButtonBlackDownArrow16.css" rel="stylesheet"/>
11 <link href="../themes/common/domButtons/DomButtonBlackLeftArrow16.css" rel="stylesheet"/>
12 <link href="../themes/common/domButtons/DomButtonBlackUpArrow16.css" rel="stylesheet"/>
13
14 <link href="../themes/common/domButtons/DomButtonWhiteRightArrow16.css" rel="stylesheet"/>
15 <link href="../themes/common/domButtons/DomButtonWhiteDownArrow16.css" rel="stylesheet"/>
16 <link href="../themes/common/domButtons/DomButtonWhiteLeftArrow16.css" rel="stylesheet"/>
17 <link href="../themes/common/domButtons/DomButtonWhiteUpArrow16.css" rel="stylesheet"/>
18
19 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>
20
21 <script type="text/javascript">
22 require([
23 "dojo/_base/window",
24 "dojo/ready",
25 "dojox/mobile/iconUtils",
26 "dojox/mobile/parser",
27 "dojox/mobile/compat"
28 ], function(win, ready, iconUtils){
29 ready(function(){
30 var nodes = win.doc.getElementsByTagName("div");
31 for(var i = 0; i < nodes.length; i++){
32 var div = nodes[i];
33 if(div.nodeType != 1 || div.className.indexOf("mblDomButton") == -1){ continue; }
34 div.style.border = "1px solid red";
35 iconUtils.createDomButton(div);
36 }
37 });
38 });
39 </script>
40 </head>
41 <body style="background-color:#C5CCD3;font-family:Helvetica;font-size:12px;">
42 <table style="border:none">
43 <tr><td><div class="mblDomButtonBlackRightArrow16"></div></td><td>mblDomButtonBlackRightArrow16</td></tr>
44 <tr><td><div class="mblDomButtonBlackDownArrow16"></div></td><td>mblDomButtonBlackDownArrow16</td></tr>
45 <tr><td><div class="mblDomButtonBlackLeftArrow16"></div></td><td>mblDomButtonBlackLeftArrow16</td></tr>
46 <tr><td><div class="mblDomButtonBlackUpArrow16"></div></td><td>mblDomButtonBlackUpArrow16</td></tr>
47
48 <tr><td><div class="mblDomButtonWhiteRightArrow16"></div></td><td>mblDomButtonWhiteRightArrow16</td></tr>
49 <tr><td><div class="mblDomButtonWhiteDownArrow16"></div></td><td>mblDomButtonWhiteDownArrow16</td></tr>
50 <tr><td><div class="mblDomButtonWhiteLeftArrow16"></div></td><td>mblDomButtonWhiteLeftArrow16</td></tr>
51 <tr><td><div class="mblDomButtonWhiteUpArrow16"></div></td><td>mblDomButtonWhiteUpArrow16</td></tr>
52 </table>
53 </body>
54 </html>