Page 1 of 1

paneSplitterContentModel

PostPosted: Fri Dec 03, 2010 1:32 pm
by stephan.seidel (Restore)
Hi,
first to say is i am new to javascript and DHTML. What i've done is to modify demo-pane-splitter.html adding demo-info-pane-1.html to the 'west' area. Having no problems that far. The below contentUrl will be loaded properly.

<a href="#"
onclick='
paneSplitter.addContent("center",new DHTMLSuite.paneSplitterContentModel({
id:"paneCustomer",
htmlElementId:"centerCustomer",
contentUrl:"customer/list.php",
title:"Customer",
tabTitle:"Customer - List",
closable:true,
scrollable:true
}));
paneSplitter.showContent("paneCustomer")'
>
Customer
</a>

Now what i want is to split that area into two or three horizontal areas. Something like that:

<frameset rows="50%,50%" border="0" frameborder="0" framespacing="0">
<frame name="top" src="list.php" scrolling="yes" noresize border="0" frameborder="0" framespacing="0">
<frame name="bot" src="detail_view.php" scrolling="no" noresize border="0" frameborder="0" framespacing="0">
</frameset>

I want to show on top the list of all customers in a scrollable area and on the bottom the details of the customer selected from the list on top. So i changed contentUrl: from "customer/list.php" to "customer/viewer.html" (with the above shown content of frameset), but frameset is not working within DHTML. My question is now, how can this be handled? Any ideas?

Thanks.