我的左侧为下拉菜单,右侧为pdf
<iframe visible="true" id="ipdf2" src="pdf/product.pdf" height="600" width="665" runat="server" frameborder="0" scrolling="auto" allowtransparency="true"> </iframe>
当我将鼠标悬停在菜单上时,它会出现在pdf后面,并且当我将鼠标悬停在Firefox和IE中的菜单上时,它会显示和隐藏。
谢谢,
高拉夫
最佳答案
.myMenu {
position:relative;
z-index:2; /* something higher than your iFrame */
}
iframe {
position:relative;
z-index:1;
}
关于jquery - jQuery菜单在嵌入代码的pdf加载后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7802721/