473,407 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

DxImageTransform Fade Transitions - HEIGHT problem

Hello,

I have following html file

<html>
<head>
<script>
var flag = true;

function LoadNewImage()
{
mainDiv.filters[0].apply();

if (flag == true)
{
mainDiv.style.backgroundColor = "white";
flag = false;
}
else
{
mainDiv.style.backgroundColor = "black";
flag = true;
}

mainDiv.filters[0].play();
}
</script>
</head>
<body>
<div id="mainDiv"
style="FILTER:progid:DXImageTransform.Microsoft.Fa de(overlap=1.00);">&nbsp;
</div>
<input type="button" onclick="LoadNewImage()" id="id1" name="Fade
Start">
</body>
</html>

the transition 'fade' does not work here
but if i add "HEIGHT: 10px;" to the style of mainDiv, then the fade
effect works fine.

The browser i use is IE 6 on Win XP Pro.

Is this a bug or i am missing on something? Please comment.

Regards,
Harshal

Oct 31 '05 #1
2 2038
VK

Harshal wrote:
the transition 'fade' does not work here
but if i add "HEIGHT: 10px;" to the style of mainDiv, then the fade
effect works fine.

The browser i use is IE 6 on Win XP Pro.

Is this a bug or i am missing on something? Please comment.


You can apply Microsoft filters and transitions only to elements
*having layout*. As Microsoft defines it: "having layout" means to have
element's width and height specified. Usually they let you go with only
wigth or only height specified, but not without both of them. More
reading:
<http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/filters.asp>

Nov 1 '05 #2
Thanks.

Nov 3 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Susanna | last post by:
Hi all, I'm using the following slideshow script that I found on the web to display changing images with a crossfade effect. Eventually I will be adding many more images to the slideshow. The...
1
by: Robert Skidmore | last post by:
I am building an application that will fade one panel to another panel. Both panels will have picture boxes in them (thumbnails). This is what I have tried: private void...
0
by: RA | last post by:
Hi I use progid:DXImageTransform to set the style of a table row. From time to time vs editor changes this to: progid: DXImageTransform - it addes an extra space after the progid: - this cause...
3
by: tommy_razz | last post by:
is there a good method to fade image in a simple way in a server control without using flash or other proprietor software ?
4
by: Chris Lieb | last post by:
Hi, I am writing a class in JavaScript to cause a repeating fade effect. The fade class takes care of the fading and the rgb class takes care of manipulating rgb values: function rgb(red,...
1
by: Dan | last post by:
Hi, I was wondering if anyone could come up with a cross browser image transition that I could use... I have already made one that works in IE but i know it doesn't work in Mozilla Firefox. ...
1
by: Luciano A. Ferrer | last post by:
Hello! Im trying to do a few fade effects here http://relojurbano.com.ar/scalda/baseporque.php using fadomatic ( http://chimpen.com/fadomatic/ ) I dont know if fadomatic is a good solution...
1
by: John Smith | last post by:
I'm looking for javascript that will rotate 3-6 jpg images with a fade to white transition between images. I've got a script that will handle the rotation but not the fade. Maybe it can't be...
6
by: Jake Barnes | last post by:
Please go look at this page using FireFox: http://www.ralphkrubner.com/Commercial/ Click the "Next" button a few times. The images fade out and then fade in. It's a nice effect. Now do try...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.