SmyersM
11 Apr 2007, 3:44 PM
Hi.
I load a page dynamically with:
Controller.dynamicLoad = function (element, path){
var c = new Ext.ContentPanel(element);
c.setUrl(
{
url: path,
scripts: true,
text: "loading..."
});
c.refresh();
//c.destroy();
c = null;
},
I use it like so:
Controller.dynamicLoad('schedule', 'app/view/Controller.window.schedule.htm');
Inside the page I have this code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="app/view/Controller.window.schedule.css" />
<script type="text/javascript" src="app/view/Controller.window.schedule.js" ></script>
</head>
<body>
...
<body>
</html>
In firefox my style sheet loads and displays the HTML content on schedule.html correctly. But in IE7 the table loads without the new sheet.
Is there a work around? Or is my method flawed on principle?
I load a page dynamically with:
Controller.dynamicLoad = function (element, path){
var c = new Ext.ContentPanel(element);
c.setUrl(
{
url: path,
scripts: true,
text: "loading..."
});
c.refresh();
//c.destroy();
c = null;
},
I use it like so:
Controller.dynamicLoad('schedule', 'app/view/Controller.window.schedule.htm');
Inside the page I have this code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="app/view/Controller.window.schedule.css" />
<script type="text/javascript" src="app/view/Controller.window.schedule.js" ></script>
</head>
<body>
...
<body>
</html>
In firefox my style sheet loads and displays the HTML content on schedule.html correctly. But in IE7 the table loads without the new sheet.
Is there a work around? Or is my method flawed on principle?