You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
<!DOCTYPE html> |
|
<html> |
|
<head> |
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8"/> |
|
<title>FixedSplitter Test</title> |
|
|
|
<link href="../themes/iphone/FixedSplitter.css" rel="stylesheet"/> |
|
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script> |
|
|
|
<script type="text/javascript"> |
|
require([ |
|
"dojox/mobile/parser", |
|
"dojox/mobile/FixedSplitter", |
|
"dojox/mobile/Pane" |
|
]); |
|
</script> |
|
|
|
<style type="text/css"> |
|
html, body{ |
|
width: 100%; |
|
height: 100%; |
|
padding: 0px; |
|
margin: 0px; |
|
overflow: hidden; |
|
} |
|
</style> |
|
</head> |
|
<body> |
|
<div data-dojo-type="dojox.mobile.FixedSplitter" style="width:100%;height:100%;" data-dojo-props='orientation:"V"'> |
|
<div data-dojo-type="dojox.mobile.Pane" style="background-color:yellow;height:20%"> |
|
pane #1 |
|
</div> |
|
|
|
<div data-dojo-type="dojox.mobile.FixedSplitter" style="width:100%;height:100%;" data-dojo-props='orientation:"H"'> |
|
<div data-dojo-type="dojox.mobile.Pane" style="background-color:pink;width:20%;"> |
|
pane #2 |
|
</div> |
|
<div data-dojo-type="dojox.mobile.Pane" style="background-color:cyan;"> |
|
pane #3 |
|
</div> |
|
</div> |
|
</div> |
|
</body> |
|
</html>
|
|
|