[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

EMW

7/14/2004 7:44:00 PM

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