473,394 Members | 1,845 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,394 software developers and data experts.

dynamic style-chg not workin in IE..

I'm trying to chg opacity for some divs on a pg, IE is ignoring it..
(works fine in FF..) why is this..

html, css, JS code is here..
http://www.francesdelrio.com/opacity.html

this is for something specific I need to do, have put simplified example
in above url.. (need to do it for relatively-positioned divs AND link
that triggers function is also in its own relatively-positioned div,
this is why example is like this..)

again, this works fine in FF, in IE it's not working at all..

would appreciate suggestions.. thank you very much..

Aug 26 '06 #1
3 1359
*** maya escribió/wrote (Sat, 26 Aug 2006 19:09:17 -0400):
I'm trying to chg opacity for some divs on a pg, IE is ignoring it..
(works fine in FF..) why is this..
alpha(opacity: 40)

Does this work statically? I can't test it now but I believe the correct
syntax was:

alpha(opacity=40)

--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--
Aug 27 '06 #2
Alvaro G. Vicario wrote:
*** maya escribió/wrote (Sat, 26 Aug 2006 19:09:17 -0400):
>I'm trying to chg opacity for some divs on a pg, IE is ignoring it..
(works fine in FF..) why is this..

alpha(opacity: 40)

Does this work statically? I can't test it now but I believe the correct
syntax was:

alpha(opacity=40)
gracias Alvaro... :)

of course what you point out is the correct syntax, I saw your post and
thought great -- this is solution, but.. it's still not working in
IE... this is so weird.. now I set one div to filter:alpha(opacity=40)
statically, but IE still refuses to cooperate....

http://www.francesdelrio.com/opacity.html

again.. muchas gracias.............

Aug 27 '06 #3
maya wrote:
Alvaro G. Vicario wrote:
>*** maya escribió/wrote (Sat, 26 Aug 2006 19:09:17 -0400):
>>I'm trying to chg opacity for some divs on a pg, IE is ignoring it..
(works fine in FF..) why is this..

alpha(opacity: 40)

Does this work statically? I can't test it now but I believe the correct
syntax was:

alpha(opacity=40)

gracias Alvaro... :)

of course what you point out is the correct syntax, I saw your post and
thought great -- this is solution, but.. it's still not working in
IE... this is so weird.. now I set one div to filter:alpha(opacity=40)
statically, but IE still refuses to cooperate....

http://www.francesdelrio.com/opacity.html

again.. muchas gracias.............
this should have been a question for CSS group, sorry about that... but
I posted here b/c had thought problem was with JS code... however: here
is solution: http://www.quirksmode.org/css/opacity.html

you have to specify either width or height to div you want to apply
opacity filter to.. go figure.....;)

again many thanks..

Aug 27 '06 #4

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

Similar topics

4
by: Stromboli | last post by:
hi people, My problem is that I need to build a dynamic menu (preferably that works in all the browsers) that appears when I mouseover a certain link. The problem is that I have to declare...
1
by: tribal boy | last post by:
Guys, I am using a dynamic menu which uses xml,xsl a css file and javascript. This works fine when there are no server controls around or underneath it. The problem is whenever the menu...
1
by: Luis Ferrao | last post by:
Hi, To understand the problem, a small description of the situation should be provided: I have a Field Control that is made of a one row table with three columns. The table width is 100%, the...
7
by: Abraham Luna | last post by:
how do i stop the dynamic validators from breaking explorer if i use a dynamic validator and move to a different control it breaks explorer and i can type in the page when i'm not supposed to....
2
by: JWL | last post by:
Hi I need to create a bunch of sites with slightly dynamic CSS. Basically, all the image paths in the CSS need to be dynamic, depending on the values of certain ASP variables. I can think of...
2
by: pamelafluente | last post by:
Hi guys, I am trying to add some code in the body of a document just after it has loaded. I have the following code (this is referenced in an html page). When I click on the document I...
9
by: Tarscher | last post by:
hi all, I have this seemingly simple problem. I have lost a lot of time on it though. When a user selects a value from a dropdownlist (static control) a dynamic control is generated. I have...
9
by: dli07 | last post by:
Hello, I'm trying to convert a piece of code that creates a dynamic vertical resizing bar in a table from internet explorer to firefox. It's based on a post from...
0
bmallett
by: bmallett | last post by:
First off, i would like to thank everyone for any and all help with this. That being said, I am having a problem retrieving/posting my dynamic form data. I have a form that has multiple options...
2
Frinavale
by: Frinavale | last post by:
I've created a ASP.NET control that displays a "book" of schedules. It dynamically displays scheduling times and allows the user to page through the schedules. It also lets the user edit the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.