I know this might not really be a php problem but I hope someone can help me out.

I have a php file that I am including in an html page that contains a flash file. I am trying to display this flash file, fixed to the bottom of the page. Here is my code:

<?php ob_start();

if(isset($_POST['submit'])) {
    setcookie('disableintro', 'yes', time()+60*60*24*30);
    $disableintro = 'yes';
}
else $disableintro = @$_COOKIE[disableintro];

if ($disableintro != "yes") {
echo '<div id="OverWebVideo" style="position: fixed; bottom: 0px;"><object height="360" width="480" align="amiddle" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="movie.swf" name="movie">
<param value="high" name="quality">
<param value="transparent" name="wmode">
<param value="false" name="menu">                  <embed height="360" width="480" align="middle" menu="false" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="movie.swf"></embed>       </object><table width="100%" border="0">
  <tr>
    <th scope="col"><form method="POST" action="">
<input type="submit" name="submit" value="Disable Intro" /><br />
</form></th>
  </tr>
</table>  </div>';}

?> 

The top contains some cookie tags to disable this intro. My problem is that it works perfectly in firefox. However in internet explorer it bumps down the content and plays it as though it is code in the page itself, not 'floating' over the page as it does in firefox.
I have search all over the net for fixed positions and other things that are related. There are a lot of people looking for this solution, but I couldn't find a solution anywhere.

Thanks in advance!

    its not a php problem so post it in the right place

      Kudose wrote:

      Also, dagon, maybe instruct ncosper on the right place to post it, instead of just saying it is in the wrong place.

      Your right Kudose, i was crazy enough to think he could work that one out him self, I'm dumb :rolleyes:

      ncosper --here is the clientside forum - http://www.phpbuilder.com/board/forumdisplay.php?f=27

      although its already been moved for you.

        dagon wrote:

        Your right Kudose, i was crazy enough to think he could work that one out him self, I'm dumb

        I'm sure he could have, but you know what assumptions do. 😉

          thanks for all the help! :rolleyes: got it figured out anyway.

            Write a Reply...