I'm trying to use the ExtJS parts of CF8 to create a pair of tabs, and three
columns with in the first tab.
The below works in FireFox, but not IE.
Est is meant to work in IE6, so what am I doing wrong ? IE isn't showing any
errors (and I have the debugger enabled).
Code:
<html>
<head>
<cfajaximport
tags="cflayout-border,cflayout-tab">
<script type="text/javascript">
ColdFusion.Event.registerOnLoad(
function(){
//http://extjs.com/deploy/ext-1.1.1/docs/
var layout = new Ext.BorderLayout('home',{hideOnLayout: true
, west: {
split: false
, autoScroll: true
, hideWhenEmpty: true
}
, east: {
split: false
, autoScroll: true
, hideWhenEmpty: true
}
, center: {
split: false
, autoScroll: true
, hideWhenEmpty: true
}
});
layout.add('west', new Ext.ContentPanel('left'));
layout.add('east', new Ext.ContentPanel('right'));
layout.add('center', new Ext.ContentPanel('center'));
var tabs = new Ext.TabPanel('tabs1');
tabs.addTab('home', "Home");
tabs.addTab('foo', "Case Tracker");
tabs.activate('home');
}
)
</script>
</head>
<body>
<div id="tabs1">
<div id="home">
<div id="left">
hi
</div>
<div id="right">
ho
</div>
<div id="center">
de
</div>
</div>
<div id="foo" >
bar
</div>
</div>
</body>
</html>
--
Tom Chiverton
Helping to revolutionarily network exceptional initiatives 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.com.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:321040
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4