Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
File size:
936 bytes
|
Line | |
---|
1 | <?php |
---|
2 | // If you call this file like multipleLayoutWidgets.php?id=foo then the id's of the created widgets |
---|
3 | // will be based on the string "foo" |
---|
4 | $id = htmlspecialchars($_GET['id']); |
---|
5 | ?> |
---|
6 | This file has some nested layout widgets, and when this file is loaded the TabContainer and |
---|
7 | BorderContainer below should get resize() called on them |
---|
8 | <div data-dojo-type="dijit.layout.TabContainer" id="<?php echo $id ?>TabContainer" data-dojo-props='style:"width: 300px; height: 300px;"'> |
---|
9 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='title:"Tab 1"'>doc4 tab1</div> |
---|
10 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='title:"Tab 2"'>doc4 tab2</div> |
---|
11 | </div> |
---|
12 | <div data-dojo-type="dijit.layout.BorderContainer" id="<?php echo $id ?>BorderContainer" data-dojo-props='style:"width: 300px; height: 300px;"'> |
---|
13 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props='region:"center"'>inner border container</div> |
---|
14 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.