Comments (7)
I don't have access to MSIE 9, so please help me out here. Does MSIE now honor
the standard CSS opacity parameter and choke on the old filter parameter?
If so, that's likely to break a lot of software.
Before fixing I'd like to understand more about what's really causing the
problem.
Original comment by [email protected]
on 7 Dec 2010 at 9:35
- Changed state: Acknowledged
from google-maps-utility-library-v3.
The InfoBox code always sets opacity and filter.
According to a comment I found on a MS blog -- "IE9’s standard mode supports
only opacity and not the alpha filter."
Therefore, I would expect MSIE 9 to accept the opacity setting and ignore the
filter setting... and everything should work as expected.
Does anyone have any insight into this issue?
Original comment by [email protected]
on 7 Dec 2010 at 10:15
from google-maps-utility-library-v3.
It looks like it is not ignoring the filter setting, so if there is no opacity
set in css the calculation is setting the filter to 0, and uses that value. (I
didn't test to see what happens if opacity and filter are set to different
values, that might be worthwhile also...)
I hope this illustrates it better:
attachments:
step1 - IE9 mode before the if statement
step2 - IE9 mode after the if
step1ie8 - IE8 mode
works - IE9 mode with opacity set before the filter calculation
Original comment by [email protected]
on 8 Dec 2010 at 3:13
Attachments:
from google-maps-utility-library-v3.
Do me a favor and change the lines in question to this and tell me if it makes
a difference:
if (typeof this.div_.style.opacity !== "undefined" && this.div_.style.opacity !== "") {
this.div_.style.filter = "alpha(opacity=" + (this.div_.style.opacity * 100) + ")";
}
I've added a test to check if opacity is "" (on older versions of MSIE opacity
is undefined if it hasn't been explicitly set; with MSIE 9 it seems to be ""
when not explicitly set, just as with other browsers). If it is, I don't set
filter.
Gary
Original comment by [email protected]
on 8 Dec 2010 at 6:39
from google-maps-utility-library-v3.
That fixed the issue.
Original comment by [email protected]
on 8 Dec 2010 at 10:03
from google-maps-utility-library-v3.
Great news. I've updated the "trunk" version of InfoBox to incorporate this
change. I will tag it as 1.1.1 in a couple of days.
Thanks for the help. This also affected KeyDragZoom and MarkerWithLabel.
Original comment by [email protected]
on 8 Dec 2010 at 10:41
- Changed state: FixedNotReleased
from google-maps-utility-library-v3.
Fixed in InfoBox 1.1.1 tagged release.
Original comment by [email protected]
on 9 Dec 2010 at 5:54
- Changed state: Fixed
from google-maps-utility-library-v3.
Related Issues (20)
- White tiles in Chrome
- Add CLASS to IMG in infobubble.js
- MarkerClusterer: ClusterIconStyle - fontFamily and fontWeight not working
- MarkerWithLabel V3, cannot hide marker labels in V 1.1.0 HOT 2
- MarkerWithLabel: labelInBackground property doesn't work HOT 2
- MarkerWithLabel: dom elements inside labelContent HOT 1
- Scrolling on InfoWindow inconsistent between Firefox and Chrome HOT 2
- select tags not working inside richmarkers
- map cluster marker not loaded over https HOT 2
- Rendering issues with accuracy circle
- Ability to change datasets and recluster
- MarkerWithLabel with draggable=false doesn't fire mouseup event when clicking on label
- Markers is not shown properly if it is on same place using marker cluster.
- Retina icons are not rendered correctly by marker clusterer plus
- Broken image m1.png
- Patch for /trunk/infobox/src/infobox.js HOT 1
- Problem in setPosition
- Overlapping Labels
- Transit stations are still not clickable
- setPosition not working* HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-maps-utility-library-v3.