问题
I am usng osCommerce latest version, I am using the Fancybox jQuery plugin for product images. In IE9 when we click an image, the jQuery lightbox appears. In my website header I am using a flash animation, The problem is that the flash animation appears front of the jQuery light box in IE9. In other browsers, it's working well. Please help me fix this.
Please see the image: http://i46.tinypic.com/2gujmnc.png
回答1:
Set wmode="opaque"
to your flash objects in the background.
Check for reference https://groups.google.com/forum/?fromgroups=#!topic/fancybox/h-tbFd1M-QE or https://stackoverflow.com/a/4780766/1055987
Also make sure you have a proper DOCTYPE
and it is the very first line of your html document.
来源:https://stackoverflow.com/questions/14284646/flash-object-appears-over-jquery-fancybox-in-ie9