OK, well, the below works.
Ish.
I don't know why I need an 'initialSize' for one the panes to make it show up,
and the first tab isn't the full width, but I can probably live with it.
<html>
<head>
<cfajaximport
tags="cflayout-border,cflayout-tab">
<script type="text/javascript">
ColdFusion.Event.registerOnLoad(
function(){
var layout = new Ext.BorderLayout('home',{
west: {
split: false
, autoScroll: true
}
, east: {
split: false
, autoScroll: true
, initialSize:300
, closeable: false
}
, center: {
split: false
, autoScroll: true
}
});
layout.add('west', new Ext.ContentPanel('left'));
layout.add('center', new Ext.ContentPanel('center'));
layout.add('east', new Ext.ContentPanel('right'));
var layout2 = new Ext.BorderLayout(document.body,{
north:{split:false,autoscroll:false},
center:{split:false,autoscroll:false,tabPosition:'top'}
});
layout2.add('north',new Ext.ContentPanel('header'));
layout2.add('center',new Ext.ContentPanel('home',{title: 'Home', closable:
true}));
layout2.add('center',new Ext.ContentPanel('foo',{title: 'Case Tracker',
closable: true}));
layout2.getRegion('center').showPanel('home');
}
)
</script>
</head>
<body>
<div id="header">
header gfx
</div>
<div id="home">
<div id="left">
hi i
</div>
<div id="center">
de e
</div>
<div id="right">
ho o
</div>
</div>
<div id="foo" >
bar
</div>
</body>
</html>
--
Tom Chiverton
Helping to autoschediastically optimize granular mission-critical technologies
as part of the IT team of the year, '09 and '08
****************************************************
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
of members is available for inspection at the registered office together with a
list of those non members who are referred to as partners. We use the word
partner to refer to a member of the LLP, or an employee or consultant with
equivalent standing and qualifications. Regulated by the Solicitors Regulation
Authority.
CONFIDENTIALITY
This email is intended only for the use of the addressee named above and may be
confidential or legally privileged. If you are not the addressee you must not
read it and must not use any information contained in nor copy it nor inform
any person other than Halliwells LLP or the addressee of its existence or
contents. If you have received this email in error please delete it and notify
Halliwells LLP IT Department on 0870 365 2500.
For more information about Halliwells LLP visit www.halliwells.c
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321042
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4