39 users online (0 members and 39 guests)  


  Results 1 to 4 of 4

Related

  1. Replies: 1
  2. Replies: 0
  3. Replies: 4
  4. [duplicated]web page error    Forum: Web Hosting Forum
    Replies: 11
  5. 404 error page problems    Forum: HTML Forum
    Replies: 2
  1. #1
    Stoo's Avatar
    New User

    Status
    Offline
    Join Date
    May 2007
    Posts
    1

    IE shows error on page code 0, can anyone help please?

    When my home page displays on IE it shows the error on page message
    Line: 71
    Char: 1
    object expected
    Code 0
    URL is braun-rentacar.com
    Can anyone suggest what's wrong please

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: IE shows error on page code 0, can anyone help please?

    It looks to be an error in your onload
    Code:
    <body onload="FP_preloadImgs(/*url*/'button2.jpg', /*url*/'button3.jpg', /*url*/'New_Buttons/InsurancebutC.jpg', /*url*/'New_Buttons/InsurancebutB.jpg', /*url*/'New_Buttons/WhereTGbutC.jpg', /*url*/'New_Buttons/WhereTGbutB.jpg', /*url*/'New_Buttons/ReservsbutC.jpg', /*url*/'New_Buttons/ReservsbutB.jpg', /*url*/'New_Buttons/Cars%26PB.jpg', /*url*/'New_Buttons/Cars%26PC.jpg'); doc_name(); set_active_button()" bgcolor="#FFFFFF" text="#201C1C" link="#CC7909" vlink="#CC7909" alink="#EBB30A" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" background="images/car_rental_backgrd3.gif">
    Moving to the javascript forum, hopefully somebody can give you a little more info.

    D
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    capitaun's Avatar
    New User

    Status
    Offline
    Join Date
    Jul 2010
    Posts
    1

    Talking Re: IE shows error on page code 0, can anyone help please?

    I am getting the same syntax error '0' here is my index code.
    ______________________________

    <html>
    <head>
    <style type="text/css">
    .header{width:200px;height:100px;background:#f00;}
    </style>
    <script language="javascript" type="text/javascript">
    <!--
    if((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i)))
    {location.href='http://www.reillywoodworks.com/ihome.html';}
    --><br>
    <meta name="google-site-verification" content="rIqqoZW2w885F0ERb6UV-k5SeLCyOokCCGrg4TmkXiA" />
    </script>
    <title>Custom Windows and Doors | Reilly - Calverton, New York Tel 631 208 0710</title>
    <META NAME="keywords" CONTENT="Reilly Woodworks, wood works, windows and doors, wood window, custom, window, replacement, window, clad, window, patio, door, casement, double hung, entry, wood, insert, replacement, calverton, wading river,riverhead, design, designers, blog, consultant, consultants, suffolk, nassau, hamptons, free, architectura, design, new york, ipe, mahogany, glass, refurbishment, traditional, high, end">
    <META NAME="description" CONTENT="&copy; Reilly Windows & Doors - For both traditional and modern architecture, Reilly Windows & Doors builds fine custom architectural wood windows, interior and exterior doors, architectural millwork for high end construction.">
    <link rel="stylesheet" href="css/ex.css" type="text/css">
    </head>
    <script src="js/dw_event.js" type="text/javascript"></script>
    <script src="js/dw_rotator.js" type="text/javascript"></script>
    <script src="js/dw_rotator_aux.js" type="text/javascript"></script>
    <script type="text/javascript">
    var rotator1 = {
    path: 'images/',
    speed: 3000, // default is 4500
    id: 'r1',
    images: ["intro_1.jpg", "intro_2.jpg", "intro_3.jpg", "intro_4.jpg", "intro_5.jpg", "intro_6.jpg", "intro_7.jpg", "intro_8.jpg", "intro_9.jpg", "intro_10.jpg", "intro_11.jpg", "intro_12.jpg", "intro_13.jpg", "intro_14.jpg", "intro_15.jpg"],
    bTrans: true, // ie win filter
    bMouse: true, // pause/resume
    bRand: true,
    actions: ["http://www.reillywoodworks.com/home.html"]
    }

    function initRotator() {
    dw_Rotator.setup(rotator1);
    }

    dw_Event.add( window, 'load', initRotator);
    </script>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
    <body background="images/background.jpg">
    <!-- image that rotates -->
    <div align="center">
    <script type="text/javascript">dw_getRandomImage(rotator1)</script>
    <noscript>
    <img src="images/" alt="">
    </noscript>
    </div>

    <div align="center"><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'><a
    href="portfolio.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>PORTFOLIO</span></a></span> </span></a> </span><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="profile.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>PROFILE</span></a> </span><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="services.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>SERVICES</span></a> </span><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="contact.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>CONTACT</span></a> </span><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="home.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>HOME</span></a> </span><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="links.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>LINKS </span></a></span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'><span style='font-family:
    "Gill Sans MT","sans-serif";color:#A6A6A6;mso-themecolor:background1;
    mso-themeshade:166'>|</span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'> <a
    href="Online_Catalogue/Default.html" target="new"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>CATALOGUE</span></a></span><span style='font-family:"Gill Sans MT","sans-serif";
    color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217'></span><br>
    <a
    href="ihome.html"><span
    style='color:#D9D9D9;mso-themecolor:background1;mso-themeshade:217;text-decoration:
    none;text-underline:none'>- HTML SITE HERE -</span></a> </span></div>
    </body>
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-11191516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  4. #4
    coothead's Avatar
    bald headed old fart

    Status
    Offline
    Join Date
    Aug 2003
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    732

    Re: IE shows error on page code 0, can anyone help please?

    Hi there capitaun,

    and a warm welcome to these forums.

    I have tidied up and validated your code.

    It tested successfully in IE6, Firefox 3.6.8, Opera 10.6 and Safari 5.
    As it works in IE6 I would assume that it also works in IE7 and IE8.

    Code:
    
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en">
    <head>
    
    <base href="http://www.reillywoodworks.com">
    
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <meta name="language" content="english"> 
    <meta http-equiv="Content-Style-Type" content="text/css">
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <meta name="google-site-verification" content="rIqqoZW2w885F0ERb6UV-k5SeLCyOokCCGrg4TmkXiA">
    <meta name="keywords" content="Reilly Woodworks, wood works, windows and doors, wood window, custom, window, replacement, window, clad, window, patio, door, casement, double hung, entry, wood, insert, replacement, calverton, wading river,riverhead, design, designers, blog, consultant, consultants, suffolk, nassau, hamptons, free, architectura, design, new york, ipe, mahogany, glass, refurbishment, traditional, high, end">
    <meta name="description" content="&copy; Reilly Windows & Doors - For both traditional and modern architecture, Reilly Windows & Doors builds fine custom architectural wood windows, interior and exterior doors, architectural millwork for high end construction.">
    
    <title>Custom Windows and Doors | Reilly - Calverton, New York Tel 631 208 0710</title>
    
    <link rel="stylesheet" href="css/ex.css" type="text/css">
    
    <style type="text/css">
    body {
        background-image:url(images/background.jpg);
     }
    .header{
        width:200px;
        height:100px;
        background-color:#f00;
     }
    .center {
        text-align:center;
     }
    .span0 {
        font-family:'gill sans mt',sans-serif;
        color:#d9d9d9;
        mso-themecolor:background1;
        mso-themeshade:217;
     }
    .span0 a {
        text-decoration:none;
     }
    .span1 {
        color:#d9d9d9;
        mso-themecolor:background1;
        mso-themeshade:217;
     }
    .span2 {
        font-family:'gill sans mt',sans-serif;
        color:#a6a6a6;
        mso-themecolor:background1;
        mso-themeshade:166;
     }
    </style>
    
    <script src="js/dw_event.js" type="text/javascript"></script>
    <script src="js/dw_rotator.js" type="text/javascript"></script>
    <script src="js/dw_rotator_aux.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    if((navigator.userAgent.match(/iPhone/i))||(navigator.userAgent.match(/iPod/i))){
       location.href='http://www.reillywoodworks.com/ihome.html';
     }
       var rotator1={
       path:'images/',
       speed:3000, // default is 4500
       id:'r1',
       images:['intro_1.jpg','intro_2.jpg','intro_3.jpg','intro_4.jpg','intro_5.jpg','intro_6.jpg','intro_7.jpg','intro_8.jpg','intro_9.jpg','intro_10.jpg','intro_11.jpg','intro_12.jpg','intro_13.jpg','intro_14.jpg','intro_15.jpg'],
       bTrans:true, // ie win filter
       bMouse:true, // pause/resume
       bRand:true,
       actions:['http://www.reillywoodworks.com/home.html']
     }
    function initRotator() {
       dw_Rotator.setup(rotator1);
     }
       dw_Event.add(window,'load',initRotator);
    </script>
    
    </head>
    <body>
    
    <!-- image that rotates -->
    <div class="center">
    <script type="text/javascript">dw_getRandomImage(rotator1)</script>
    <noscript>
    <div>
    <img src="images/" alt="">
    </div>
    </noscript>
    </div>
    
    <div class="center">
    
    <span class="span0"><a href="portfolio.html"><span class="span1">PORTFOLIO</span></a></span>
    <span class="span2">|</span>
    <span class="span0"> <a href="profile.html"><span class="span1">PROFILE</span></a></span>
    <span class="span2">|</span>
    <span class="span0"> <a href="services.html"><span class="span1">SERVICES</span></a></span>
    <span class="span2">|</span>
    <span class="span0"> <a href="contact.html"><span class="span1">CONTACT</span></a></span>
    <span class="span2">|</span>
    <span class="span0"><a href="home.html"><span class="span1">HOME</span></a></span>
    <span class="span2">|</span>
    <span class="span0"><a href="links.html"><span class="span1">LINKS</span></a></span>
    <span class="span0">
    <span class="span2">|</span>
    <span class="span0"><a href="Online_Catalogue/Default.html" rel="nofollow"><span class="span1" >CATALOGUE</span></a></span>
    <span class="span0"></span><br><a href="ihome.html"><span class="span1">- HTML SITE HERE -</span></a></span>
    
    </div>
    
    <script type="text/javascript">
       var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");
       document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    
    <script type="text/javascript">
    try {
       var pageTracker=gat._getTracker("UA-11191516-1");
       pageTracker._trackPageview();
    } 
       catch(err) {}
    </script>
    
    </body>
    </html> 
    



Tags for this Thread