Forum Moderators: open
Does anyone know where I can find any (technical) references on how to use/manipulate filters (shadows, opacity, faders, etc) under Javascript? What about the compatibility issues between IE, Netscape (and others . . .)? For what I have seen so far, the way filters work and are accessed differ substantially from browser to browser.
The reason I am posting is that, unfortunately I have not seen any sites making references to this issue with the technic content I need.
Thanks a lot, :)
d#Nimrod
whilst in IE you manipulate it in this way:
object.style.filter = "alpha(opacity=100)";
object.filters.alpha.opacity = 50; // set object's opacity to 50% in Netscape you would do something like,
object.style.MozOpacity = (50 + '%'); // change object's opacity to 50%
[OR]
object.style.MozOpacity = 0.50; // it works the same way . . . .
:
.
(for instance, one of my questions has to do with the fact I do not know how to initialize the filter in Netscape)
Therefore I would like to know if someone knows of a site where I can find some information about how filters work in Netscape.
Thanks,
d#Nimrod
Explorer:
filter: alpha(opacity=50);
Mozilla (not Netscape?!?):
-moz-opacity: .5;
Safari:
-khtml-opacity: .5;
The Explorer implementation has some limitations in that you have to define a width and height for the transparent object.
The reason I don't use any of them is that they're likely to disappear in the next browser releases and be replaced by whatever standard W3C decide on.
The reason I don't use any of them is that they're likely to disappear in the next browser releases and be replaced by whatever standard W3C decide on.
I had no idea this was going to happen. Are they going to start developing more standard browsers? Do you know where I can learn more about the next release(s)?
Thanks for the input dcrombie
d#Nimrod
Netscape is dead - R.I.P.
Explorer is in limbo pending the result of various court cases - incl. the DoJ and E.U.
Mozilla and related browsers (Firebird, Camino, ...) - see mozilla.org/
Opera - see opera.com/
Safari - see weblogs.mozillazine.org/hyatt/
[Edit: Web standards - see w3.org/]
This is AFAIK:
Netscape is dead - R.I.P.
Explorer is in limbo pending the result of various court cases - incl. the DoJ and E.U.
Mozilla and related browsers (Firebird, Camino, ...) - see mozilla.org/
Opera - see opera.com/
Safari - see weblogs.mozillazine.org/hyatt/
How do you mean Netscape is dead? I have not heard about it before...
And Explorer? I know it is waiting the result of several court cases, but I had no idea it was so serious... :o
Can you develop a bit about it? I would love to know more on the subject... :)