Aver
22 Jun 2007, 8:21 AM
Hello,
Just started working on implementing some effects into my code. I decided to update to the Ext 1.1 Beta 1. I also decided to user Ext as the base for my scripting.
The problem is that fadeIn does not want to work in Internet Explorer (7 or 6) when using Ext as the base. Everything works fine in Firefox. FadeOut works in InternetExplorer just not fade in. If I change the base class to the YUI class everything works fine. This leads me to beleive that it is something with the Ext base calss.
Here is the code:
Include Lines:
<script type="text/javascript" language="javascript" src="Scripts/adapter/ext/ext-base.js"></script>
<script type="text/javascript" language="javascript" src="Scripts/ext-core.js"></script>
(Flipping from ext-core.js to ext-all.js did not make any difference.)
Javascript
Ext.onReady(
function()
{
var image1 = Ext.get('Image1');
image1.fadeIn({startOpacity: 0,endOpacity: 1, duration: 3});
}
);
HTML
<div id="Image1">
<img src="Images/temp1.jpg" />
</div>
Just started working on implementing some effects into my code. I decided to update to the Ext 1.1 Beta 1. I also decided to user Ext as the base for my scripting.
The problem is that fadeIn does not want to work in Internet Explorer (7 or 6) when using Ext as the base. Everything works fine in Firefox. FadeOut works in InternetExplorer just not fade in. If I change the base class to the YUI class everything works fine. This leads me to beleive that it is something with the Ext base calss.
Here is the code:
Include Lines:
<script type="text/javascript" language="javascript" src="Scripts/adapter/ext/ext-base.js"></script>
<script type="text/javascript" language="javascript" src="Scripts/ext-core.js"></script>
(Flipping from ext-core.js to ext-all.js did not make any difference.)
Javascript
Ext.onReady(
function()
{
var image1 = Ext.get('Image1');
image1.fadeIn({startOpacity: 0,endOpacity: 1, duration: 3});
}
);
HTML
<div id="Image1">
<img src="Images/temp1.jpg" />
</div>