473,568 Members | 2,882 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DxImageTransfor m 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.b ackgroundColor = "white";
flag = false;
}
else
{
mainDiv.style.b ackgroundColor = "black";
flag = true;
}

mainDiv.filters[0].play();
}
</script>
</head>
<body>
<div id="mainDiv"
style="FILTER:p rogid:DXImageTr ansform.Microso ft.Fade(overlap =1.00);">&nbsp;
</div>
<input type="button" onclick="LoadNe wImage()" 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 2063
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
3988
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 thing is, I ALSO have to make it so the images will load randomly. I have looked at a number of scripts for random-loading slideshows, but I have...
1
7264
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 fade(System.Windows.Forms.Panel fP){ for (int i = 255; i >= 0;i--){ System.Threading.Thread.Sleep(10); fP.BackColor = System.Drawing.Color.FromArgb(i, 255,255,255);...
0
898
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 the DXImageTransform not to work properly and I have to go and edit it to remove the space. Disabling vs HTML/XML automatic formating doesn't help....
3
1158
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
3521
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, green, blue) { // private variable initialization this.red = red; this.green = green;
1
3146
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. Below is the script I have made, there is only one error with it (besides compatabilty), the fact that you can make the images transition even when...
1
2120
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 for it but Im having problems with IE... If you look that page in IE, the upper fades do not work
1
1996
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 done with JS? Thanks!
6
2357
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 to do the same in IE (6.0). The images don't fade into each other. Instead, they hesitate, which is annoying, and then jump from one image to the...
1
7660
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7962
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5498
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
932
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.