How to solve Nice Menu hover behind Flash content inserted by FCKeditor
Submitted by hswong3i on Thu, 2010-05-06 00:19
I am combine the use of Drupal's Nice Menu as primary links, and insert a Flash banner into block by FCKeditor. BTW, the hover drop down menu always stay behind the Flash content in IE8. Here is a quick fix:
diff -urpNwbB /var/www/html/sites/all/modules/fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash.js ./fckeditor/editor/dialog/fck_flash/fck_flash.js
--- /var/www/html/sites/all/modules/fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash.js 2010-05-05 23:54:48.000000000 +0800
+++ ./fckeditor/editor/dialog/fck_flash/fck_flash.js 2010-05-05 23:54:33.000000000 +0800
@@ -163,6 +163,7 @@ function UpdateEmbed( e )
SetAttribute( e, 'play', GetE('chkAutoPlay').checked ? 'true' : 'false' ) ;
SetAttribute( e, 'loop', GetE('chkLoop').checked ? 'true' : 'false' ) ;
SetAttribute( e, 'menu', GetE('chkMenu').checked ? 'true' : 'false' ) ;
+ SetAttribute( e, 'wmode', 'opaque' ) ;
SetAttribute( e, 'title' , GetE('txtAttTitle').value ) ;
Reference:
http://drupal.org/node/320879- hswong3i's blog
- 1737 reads


Add new comment