Menu is hiding behind flash content

Menu is hiding behind flash content

by Muhammad Omer Saleem -
Number of replies: 1

Hi,

I am using moodle version 2.0.3+. I uploaded a flash content using file resource and set a swf file to "set a main file" with automatic display option.  Not included/displayed this flash content using any kind of code like object, embed etc. Just upload and displayed using file resource in a course. One more thing to be noticed that I can't add this flash content using any other option except file resource just because of my scenario.

Once its uploaded and displayed, I noticed that the custom menu drop down is hiding behind this flash content. Please be kind to guide me how can it be shown in front of flash content. 

Any help will be greatly appreciated. 

Thanks in advance,

Omer

Average of ratings: -
In reply to Muhammad Omer Saleem

Re: Menu is hiding behind flash content

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

If you managed to upload a file in a resource then you have managed better than I have as I am getting error messages associated with the file picker!

However, since you have the swf file added you could try adding it to a page using <object></object> tag then you could add the param setting which fixes this problem with the menu.

This is the code I use...

<object width="800" height="600" data="http://path to file/filename.swf" type="application/x-shockwave-flash">
<param value="http://path to file/filename.swf" name="movie">
<param value="#FFFFFF" name="bgcolor">
<param value="opaque" name="wmode">
</object>

The line highlighted in green is the one which fixes the problem.

HTH

Mary