Why doesn't this page work with Firefox?

Discussion in 'Javascript' started by Man-wai Chang, May 1, 2007.

  1. ******** begin ***

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <title>Itech Consulting Services Limited</title>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_findObj(n, d) { //v4.01
    var p,i,x; if(!d) d=document;
    if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
    x=d.forms[n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++)
    x=MM_findObj(n,d.layers.document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr;
    for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
    i<a.length; i++)
    if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
    for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
    x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <link href="style.css" rel="stylesheet" type="text/css">
    </head>

    <body style="background-image: url(images/sq.jpg); background-repeat:
    repeat; background-position: bottom;"
    onLoad="MM_preloadImages('images/l1-1.jpg')">
    <table width="100%" style="height:100%" border="0" cellspacing="0"
    cellpadding="0" align="center">
    <tr>

    <td width="50%" style="background-image: url(images/sq.jpg);
    background-repeat: repeat; background-position: right top;height:750px"
    valign="top"></td>
    <td width="766" style="height:750px" valign="top">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
    width="766" height="700">
    <param name="movie" value="flash\main.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <!--[if !IE]> <-->
    <object data="flash\main.swf"
    width="766" height="700" type="application/x-shockwave-flash">
    <param name="quality" value="high">

    <param name="menu" value="false">
    <param name="pluginurl"
    value="http://www.macromedia.com/go/getflashplayer">
    FAIL (the browser should render some flash content, not this).
    </object>
    <!--> <![endif]>
    </object>
    </td>
    <td width="50%" style="background-image: url(images/sq.jpg);
    background-repeat: repeat; background-position:0px 2px;height:750px"
    valign="top"></td>
    </tr>

    </table>
    </body>
    </html>


    --
    .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
    / v \ Simplicity is Beauty! May the Force and Farce be with you!
    /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1
    ^ ^ 21:50:01 up 3 days 6:43 0 users load average: 1.02 1.03 1.00
    news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk
     
    Man-wai Chang, May 1, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mr. SweatyFinger
    Replies:
    2
    Views:
    2,213
    Smokey Grindel
    Dec 2, 2006
  2. John Kotuby
    Replies:
    5
    Views:
    624
    John Kotuby
    Sep 25, 2008
  3. John Kotuby
    Replies:
    0
    Views:
    384
    John Kotuby
    Sep 24, 2008
  4. Replies:
    3
    Views:
    150
  5. John Kotuby
    Replies:
    3
    Views:
    158
    John Kotuby
    May 4, 2007
Loading...

Share This Page