PDA

View Full Version : Trouble with ManagedIFrame



alessandro
25 Aug 2009, 6:22 AM
I'm having trouble with managediframe.

My code is as follow:


<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=APP_FULLNAME?></title>

<link rel="stylesheet" type="text/css" href="/extjs/resources/css/ext-all.css?<?=time()?>"" />
<link rel="stylesheet" type="text/css" href="/mycss.css?<?=time()?>"">

<script type="text/javascript" src="/extjs/adapter/ext/ext-base.js?<?=time()?>""></script>
<script type="text/javascript" src="/extjs/ext-all.js?<?=time()?>""></script>
<script type="text/javascript" src="/extjs/ux/ux-all-nofocus.js?<?=time()?>""></script>

<script type="text/javascript" src="/extjs/ux/ManagedIFrame/miframe.js?<?=time()?>""></script>
<script type="text/javascript" src="/js/contextual_menu/contextualmenu.js?<?=time()?>"></script>
<script type="text/javascript" src="/mycode.js?<?=time()?>""></script>
</head>






var MIF = new Ext.ux.ManagedIFrame('frame1',{src:'http://www.extjs.com', loadMask:true });

wizard = new Ext.Window({
id: 'id-winWizard',
layout:'fit',
width:500,
height:300,
closeAction:'close',
plain: true,
title: title,
closable:true,
width:600,
hight:350,
minHeight: 350,
modal: true,
resizable: false,
items: new Ext.Panel({
region: 'center',
id: 'tabs',
autoDestroy: true,
deferredRender: true,
border: false,
items: MIF
})
});

wizard.show(this);


but I'm receving this error: "Ext.ux.ManagedIFrame is not a constructor" at line with "var MIF ="