HTML ASPX WinCE question

Discussion in 'ASP .Net Mobile' started by EMW, Jul 14, 2004.

  1. EMW

    EMW Guest

    Hi,

    I use the following to start my ASPX:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>index</title>
    <meta name="vs_defaultClientScript" content="JavaScript">
    <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
    <meta name="ProgId" content="VisualStudio.HTML">
    <meta name="Originator" content="Microsoft Visual Studio .NET 7.1">


    <script language="JavaScript">
    function size()
    {
    var scr_w = screen.availWidth;
    var scr_h = screen.availHeight;
    }
    </script>
    </head>
    <body>
    <P>&nbsp;</P>
    <P>&nbsp;</P>
    <P>&nbsp;</P>
    <P>&nbsp;</P>
    <P style="FONT-SIZE: xx-large; COLOR: gray; FONT-FAMILY: 'Lucida
    Calligraphy'" align="center">Loading........</P>
    <P>
    <script language="Javascript">
    <!--
    if (top.location != self.location) {top.location = self.location.href}
    //-->
    </script>
    <script language="JavaScript">
    var scr_w =document.body.clientWidth;
    var scr_h = document.body.clientHeight;

    window.location = 'fshome.aspx?width='+scr_w+',height='+scr_h
    </script>
    </P>
    </body>
    </html>

    This all is in the index.html file.
    Now I want the FSHOME.ASPX page to send the user to the mobile page when he
    enters the site-adres.
    But for some reason the above file does not continue, the fshome.aspx
    doesn't seem to get loaded.

    Is there something wrong in the file that windows mobile 2003 does not know?

    rg,
    Eric
    EMW, Jul 14, 2004
    #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. John Smith
    Replies:
    0
    Views:
    829
    John Smith
    Jan 2, 2006
  2. Ben Fidge
    Replies:
    0
    Views:
    392
    Ben Fidge
    Apr 10, 2006
  3. Replies:
    3
    Views:
    393
    David Carlisle
    Jan 29, 2005
  4. bene-tam
    Replies:
    0
    Views:
    407
    bene-tam
    Jul 4, 2003
  5. timtt2
    Replies:
    0
    Views:
    461
    timtt2
    Jul 4, 2003
Loading...

Share This Page