2

I am having an IE z-index issue. Basically, I'm embedding a pdf using the tag, but in IE, our favourite of favourite browsers it always appears above the drop down menu.

I have the same problem when using .

I've tried the solutions offered online, but they haven't worked.

The problem is at this address: http://www.berkeley.ac.th/calendar/2013-2014.php

This is my code:

<object data="<?php echo root; ?>media/3.pdf" type="application/pdf" width="957" height="1080">
     <param name="wmode" value="transparent">
     Our Calendar : <a href="<?php echo root; ?>media/3.pdf">2012-2013 Calendar</a>
 </object>

Thanks


The jQuery API has just what you need. Check out this function.

http://api.jquery.com/each/

4

3 回答 3

0

基本上,我决定不使用 pdf,并将它们转换为图像以避免整个问题。这似乎是最好的举措。

于 2013-05-19T18:51:29.567 回答
0

尝试像这样添加 wmode 透明

<script> $(document).ready(function (){ $("object").each(function(){ var url = $(this).attr("src") $(this).attr("src",url+"?wmode=transparent") }); });
</script>

于 2013-05-20T15:24:58.237 回答
-2

告诉他们升级到更好的浏览器哈哈!另外,你试过iframe吗?许多类似的元素,但它们的工作方式可能不同。

于 2013-05-19T19:26:38.903 回答