HTML ASPX WinCE question

E

EMW

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top