Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    IE Load timing Issue

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
              <title>test</title>
            
            <link href="css/flash.css" type="text/css" />
            <script type="text/javascript" src="js/getHeight.js"></script>
            <script type="text/javascript" src="js/getWidth.js"></script>
            <script type="text/javascript" src="js/maxHeight.js"></script>
            <script type="text/javascript" src="js/maxWidth.js"></script>
            <script type="text/javascript" src="js/resize.js"></script>
            
            <script type="text/javascript" src="js/ufo.js"></script>
     
        </head>
    	<body onload="resize()">
            
            <script type="text/javascript">
                var FO = { movie:"media/small.swf", width:"300", height:"400", majorversion:"6", build:"40" };
                UFO.create(FO, "ufoDemo");
            </script>
            
            <table align="center" id="resizeable" border="1">
                <tr>
                	<td align="center" valign="middle">
                        <div id="ufoDemo">
                            <p><a href="http://www.macromedia.com/go/getflashplayer"><br />
                            <img src="http://www.macromedia.com/images/shared/download_buttons/get_flash_player.gif" alt="Get macromedia Flash Player" style="border: none;" /></a></p>
                        </div>
                    </td>
                </tr>
            </table>
        </body>
    </html>
    My Video is loading before the resize() function is called on body onload but only in IE

    www.hyphen-nation.org/testtemp2.html if you want to see the problem

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    resize.js thows an error- Object expected. So presumably resize.js never runs (in IE). To detect the error you need to look at resize.js.

  • #3
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is there a way to tell where it is looking for an object I thought I knew but I deleted it and it is still doing the same as far as throwing the error...


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •