www.webdeveloper.com
Results 1 to 3 of 3

Thread: page loading but not showing up...

  1. #1
    Join Date
    Aug 2004
    Location
    Switzerland
    Posts
    1,101

    page loading but not showing up...

    hello everybody !!!
    Some strange things are happening to my index page...
    On some computers, it works perfectly, and on some other computers, no way. The page loads, but I get only a blank page. If I do "view source", everything is there...
    It has been tested on Firefox ( ok ), IE 5 ( ok on some computers, not ok on others ), IE 6 ( same as IE 5 ), Safari ( ok ) and IE for mac ( absolutely not working ).
    Here is the source code :


    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Le SAnG deS MiRoiRS</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <META Name="author" Content="Andréa du Frat">
    <META Name="description" Content="Le Sang des Miroirs, roman en ligne d'Andréa du Frat">
    <META name="Keywords" content="Margaret, roman, Marie, miroirs, jumelles, violon, drame, fiction, amour, schizophrénie, dédoublement de personnalité, art, psychophage. andréa du frat">
    <script language="JavaScript" type="text/JavaScript">
    <!--



    function popup()
    {
    window.open("accueil.htm","mapWin","width=800,height=600,scrollbars=no");
    }

    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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    //-->
    </script>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);

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

    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[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && d.getElementById) x=d.getElementById(n); return x;
    }

    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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    body {
    font-family: "Courier New", Courier, mono;
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;
    }
    a:link {
    color: #FFFFFF;
    text-decoration: none;
    }
    a:visited {
    color: #FFFFFF;
    text-decoration: none;
    }
    a:active {
    color: #FFFFFF;
    text-decoration: none;
    }
    a:hover {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    }
    body {
    scrollbar-3dlight-color: black;
    scrollbar-arrow-color: white;
    scrollbar-darkshadow-color: black;
    scrollbar-face-color: black;
    scrollbar-highlight-color: white;
    scrollbar-shadow-color: white;
    scrollbar-track-color: black;
    }

    </style>
    </head>

    <body topmargin="50" bgcolor="#000000" onLoad="MM_preloadImages('Images/micha2.jpg')">
    <div align="center">
    <p><a href="javascript: popup()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Micha','','Images/micha2.jpg',1)"><img src="Images/micha1.jpg" name="Micha" border="0"></a></p>
    <p><a href="javascript: popup()">Le Sang des Miroirs</a></p>
    <p> <font color="#999999">Popup 800x600 : CSS : Javascript<br>
    Meilleure visualisation avec IE5+</font></p>
    <p><img
    src="http://perso0.free.fr/cgi-bin/wwwcount.cgi?df=[lesangdesmiroirs].dat&amp;dd=doghous&ft=0">&nbsp;</p>

    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    </div>
    </body>
    </html>

    and here is the website url :
    le Sang des Miroirs

    Could you check my code and tell me why it's working so randomly ???
    Thanks a lot !!!! ( I'm quite desperate with this... )

    PS : there is a strange issue in this forum separating the word javascript in java script. The source file contains javascript, not java script ( someone already told me something about that, that's why I write this note )

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,176
    To start with, run it through the w3.org validator, and you'll find a number of problems.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Aug 2004
    Location
    Switzerland
    Posts
    1,101
    I didn't find anything which could explain that the page is not loading... w3c doesn't like my meta, but I put whatever I want in the contents meta, and it's not supposed to be a problem. The only thing not supported is the topmargin, which was not in html 4, apparently, but which works on my other websites, without any problems...
    I don't know, somewhere, there must be a problem with a tag, but I can't find it !!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles