title: How to prevent Javascript Menu from getting hidden under Flash Video (SWFObject )
body: <p>How to prevent Javascript Menu from getting hidden under Flash Video (SWFObject ).</p>
  
  <p>I am using Open Flash Chart and the chart is displaying fine in my php shoppping cart, but my javascript menu is getting hidden behind the Flash Chart.</p>
  
  <p>How to correct this problem?</p>
  
  <p>Here is my script code:</p>
  
  <hr>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
  swfobject.embedSWF(
    "open-flash-chart.swf", "Dashboard_Chart",
    "800", "400", "9.0.0", "expressInstall.swf",
    {"data-file":"ofc-chart.php"} );
  
  &lt;/script&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>UPDATE (Solved):</strong></p>
  
  <p>I found the solution.</p>
  
  <p>Here is my new code which works and the menu shows up fine.</p>
  
  <hr>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      var flashvars = {};
      var params = {};
      params.wmode = "opaque";
      var attributes = {};
      swfobject.embedSWF("../swf/open-flash-chart.swf", "Dashboard_Chart", "760", "300", "9.0.0", "expressInstall.swf", {"data-file":"ofc-chart.php"}, flashvars, params, attributes );
  
  &lt;/script&gt;
  </code></pre>
  
  <hr>