I’m using 5.02 pro version and would like to add additional information above the layout object when using offsets. I’m having trouble with the supplied sample. My sample is currently using the fullscreen_inner.html file in you samples. I’ve attached my version and any help would be appreciated.
/******************************************/
Fullscreen init html, body { width: 100%; height: 100%; margin: 0px; padding: 0px; background-color: #ebebeb; overflow: hidden; } var myLayout, myToolbar; function doOnLoad() { myLayout = new dhtmlXLayoutObject({ parent: document.body, pattern: "1C" }); myLayout.cells("a").hideHeader();
myLayout.attachHeader("my_header");
myLayout.attachFooter("my_footer");
myToolbar = myLayout.attachToolbar({
icons_path: "../../../dhtmlxToolbar/common/imgs/",
xml: "../../../dhtmlxToolbar/common/dhxtoolbar_button.xml"
});
myPageLayout = myLayout.cells("a").attachLayout({
parent: "page_layout",
pattern: "1C",
offsets: {
top: 100,
right: 0,
bottom: 0,
left: 0
},
cells: [
{id: "a", text: "a", header:true}
]
});
}
</script>
This is my header
This is my footer
This is my header above the myPageLayout