Edit dialog boxes hidden under content

Permalink
I have a page that uses an iframe to display flash content. The problem is that when I try to edit the page, the flash movie stays on top of the dialog boxes that pop down from the edit menu. Because of this, I cannot exit edit mode because I cannot see the dialog box for saving or discarding changes. I tried to use the flash movie block, but I need to send a number of parameters to the movie and that is not supported in that block. Any suggestions? Is there a z-index I can change in the css somewhere that will take care of this?

 
PhilipWitte replied on at Permalink Reply
PhilipWitte
Flash overlays every other element on the page by default. To change this, you need to set "wmode" attribute of flash element to either "opaque" or "transparent".

example:

<object ...>
<param name="wmode" value="opaque">
...
<embed wmode="opaque" ... />
</object>


Note: only use 'transparent' if you want your flash to "overlay" html elements behind it. Use 'opaque' in all other cases (runs faster).
rritz replied on at Permalink Reply
rritz
Is there a possibility to disable content in edit mode if I embed an object in a content or html block?
craigmankelow replied on at Permalink Reply
craigmankelow
Slightly late reply but for anyone else looking to disable content in edit mode you can simply wrap the content as below:

<?php global $c; if (!$c->isEditMode()) { ?>
... content ...
<?php } ?>