<HTML>
<HEAD>
<LINK href="/ActiveWidgets/runtime/styles/aqua/aw.css" rel="stylesheet"></LINK>
<SCRIPT src="/ActiveWidgets/runtime/lib/aw.js"></SCRIPT>
<STYLE>
.aw-system-control {position: absolute}
#box { left: 0px; top: 0px; width: 800px; height: 400px; border: 1px solid #999; background: #ece9d8; position: absolute;}
#frame { left: 10px; top: 90px; width: 780px; height: 300px; border: 1px solid #999; background: #f9f8f4; position: absolute;}
#tabs { left: 780px; top: 70px; height: 20px; position: absolute; }
</STYLE>
</HEAD>
<BODY>
<SCRIPT>
var box = new AW.HTML.DIV;
box.setId("box");
document.write(box);
var frame = new AW.HTML.DIV;
frame.setId("frame");
document.write(frame);
var tab_names = [
"Tab1",
"Tab2",
"Tab3",
"Tab4",
"Tab5",
"Tab6",
"Tab7",
];
var tabs = new AW.UI.Tabs;
tabs.setId("tabs");
tabs.setItemText(tab_names);
tabs.setItemCount(7);
tabs.setSelectedItems([1]);
document.write(tabs);
</SCRIPT>
</BODY>
</HTML>
.aw-system-control {position: absolute}
#box { left: 0px; top: 0px; width: 800px; height: 400px; border: 1px solid #999; background: #ece9d8; position: absolute;}
#frame { left: 10px; top: 90px; width: 780px; height: 300px; border: 1px solid #999; background: #f9f8f4; position: absolute;}
#tabs { left: 10px; top: 70px; width: 780px; height: 20px; position: absolute; }
/* align tabs to the right */
#tabs .aw-list-template {
position: absolute;
right: 0px;
padding-right: 4px;
text-align: right;
}
#tabs .aw-item-template {
float: none;
}
This topic is archived.