注釈付きタイムラインの上にあるDIV
-
12-11-2019 - |
質問
注釈付きタイムラインは、Flashで書かれたGoogle Visualizationライブラリです。私はそれをカバーするために時にはそれの上にDIVを置きたいです。しかし、私がこれを行うとき、DIVはすべてをカバーしていますが、注釈付きのタイムラインがスルーします。問題とは何ですか?
解決
You're dealing with flash on the annotated timeline. Set wmode (window mode) to transparent (think oqaque works to) on annotated time line
annotatedtimeline = new google.visualization.AnnotatedTimeLine(
document.getElementById('timespan_chart'));
annotatedtimeline.draw(data, {wmode: 'transparent', ...});
他のヒント
Have you tried adding z-index to your div css?
#flashcontainer {
position: relative;
z-index: 1;
}
#topdiv {
position: absolute;
z-index: 2;
}
所属していません StackOverflow