473,908 Members | 6,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IE 5.5 opacity

Hi,

I've been trying to get opacity reporting working in IE 5.5 but the
Microsoft documentation does seem to work as I interpret it even though
this documentation page seems have been written for IE 5.5

<URL: http://msdn.microsoft. com/workshop/author/filter/filters.asp>

In the html page listed below I see an error "Library not registered"
in IE 5.5. In IE 6 I see an alert that says "50" as expected.

Some of microsoft's demos on the above page also show the "Library not
registered" error in IE 5.5 but work in IE 6.

Has anyone else experienced these problems with filters? Any idea why
IE 5.5 doesn't work as advertised?

Thank you,
Peter

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>opacity5 5</title>

<script type="text/javascript">
window.onload = function() {
var blue = document.getEle mentById('blue' );
blue.style.filt er =
"progid:DXImage Transform.Micro soft.Alpha(opac ity=50)";

alert(blue.filt ers.item("DXIma geTransform.Mic rosoft.Alpha"). opacity);
};
</script>

</head>
<body>

<div style="width:10 0px;height:100p x;background:bl ue;"
id="blue"></div>

</body>
</html>

Jan 14 '07 #1
2 1719
Peter Michaux wrote:
Hi,

I've been trying to get opacity reporting working in IE 5.5 but the
Microsoft documentation does seem to work as I interpret it even though
this documentation page seems have been written for IE 5.5

<URL: http://msdn.microsoft. com/workshop/author/filter/filters.asp>

In the html page listed below I see an error "Library not registered"
in IE 5.5. In IE 6 I see an alert that says "50" as expected.
Also strangely the IE 4 opacity API only works in IE 6. In the example
below I get the same "Library not registered" error.

I have multiple versions of IE running on the same machine and wonder
if that is part of the problem. Does anyone have a Windows machine
running with only IE 5.5 installed that could check the two examples?

Thank you,
Peter
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">

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

<script type="text/javascript">
window.onload = function() {
var blue = document.all['blue'];
blue.style.filt er = "alpha(opacity= 50)";
alert(blue.filt ers.item("alpha ").opacity) ;
};
</script>

</head>
<body>

<div style="width:10 0px;height:100p x;background:bl ue;"
id="blue"></div>

</body>
</html>

Jan 14 '07 #2
VK

Peter Michaux wrote:
I have multiple versions of IE running on the same machine and wonder
if that is part of the problem.
Yes, it is. You cannot have multiple versions of IE above 3.0 on the
same Windows installation. I mean technically you can master it, but it
has low practical value for testing purposes: because you never can be
sure in the reson of some error: because of a particular version bug or
because of .dll klinch like in this case. You have then to create
several bootable drives on your harddrive, install Windows on each and
then needed IE version separately on each Windows.

Actually did you install IE6 as the last in the series? Seems like -
and in this case you may have even bigger surprise. On your IE5.5
execute this:

<script type="text/jscript">
var ver = ScriptEngineMaj orVersion() + '.'+
ScriptEngineMin orVersion();
alert(ver);
</script>

What number do you see?

Jan 15 '07 #3

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

Similar topics

1
4787
by: Dean Edwards | last post by:
I am attempting to change the opacity of an image. I can modify opacity ok: function flip(pic, opacity){ pic.style.filter = 'alpha(opacity='+opacity+')'; } But I'm not familiar with javascript. How can I read the existing opacity value?
0
3922
by: kaeli | last post by:
All, The following is an example of what I'm trying to do: I have a box set to be partially transparent. I want the text in the box to NOT be partially transparent. This works in IE, but NN7 has the text still at 75% opacity. Can anyone tell me what I'm doing wrong? TIA. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
3
10237
by: Marek Mänd | last post by:
This posting will express my concern about the future of css3 forthcoming recommendation. I think for long time now, that the current implementation of CSS attribute opacity is less than usable in practical real life situations. The soon forthcoming CSS3 recommendation does not serve the public interests in this area not at all. The problem relies in the definition what opacity is, how it is to applied to page elements. In past 5...
6
3724
by: Robert A. Boudra | last post by:
As you will probably guess, I'm just starting out with VB.net although I'm a long time VB developer. I was playing around with the Opacity property of a form and have found that I can set the property at design time or in code just fine, but as soon as I move the form to a new location on the screen, it becomes completely opaque. If I then try to set the opacity property again, I get an error message. Any idea what's going wrong? Bob
1
2646
by: mhoeneveld | last post by:
I am writing a small script to fade the opacity of an image/object. The script itself works fine only I do have some unwanted behaviour. I do use a tablecell object and the mouseover/mouseout to activate the script. In the same cell are some links listed and when you move the cursor over the links the image starts to flicker. This is because of the getElementById that identifies each link as an object. Anyone knows how I can solve...
2
2352
by: reidarT | last post by:
I want a windows form to act like the one in Outlook when you get a new message and it is visible for about a couple of seconds and then the opacity decreases and the form dissapears in the end I have tried with Dim p As Integer Dim Vent As Integer For p = 100 To 0 Step -1 Me.Opacity = p For Vent = 1 To 100000
16
2985
by: Darko | last post by:
Hi, I'm trying to get and set an element's opacity, but I'm stuck with, what a hell of surprise, Internet Explorer. As for getting the element's opacity, I have the following (not working) lines of code: if ( targetObject.filters && targetObject.filters.length 0 ) opacity = targetObject.filters.item("DXImageTransform.Microsoft.Alpha").Opacity;
15
3751
by: Sunny | last post by:
Hi, I can change the lement opacity in IE using. abc.style.filter = 'alpha(opacity=' + 10 + ')'; But this dont work in firefox, In firefox it throws error. How I can change the opacity of an element in Firefox.
0
10031
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11337
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10913
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11042
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
9721
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8094
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7246
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4770
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
2
4336
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.