Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > HTML ASPX WinCE question

Thread Tools

HTML ASPX WinCE question

Posts: n/a

I use the following to start my ASPX:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<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;
<P style="FONT-SIZE: xx-large; COLOR: gray; FONT-FAMILY: 'Lucida
Calligraphy'" align="center">Loading........</P>
<script language="Javascript">
if (top.location != self.location) {top.location = self.location.href}
<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

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?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Application_Start no longer firing wince converting project to WAP Ben Fidge ASP .Net 0 04-10-2006 05:26 PM
How connect usb-camera with dotnet or wince 4.2? John Smith ASP .Net 0 01-02-2006 10:08 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
WinCE 4.2 802.11 Association problems =?Utf-8?B?QXBhY2hldGE=?= Wireless Networking 0 07-27-2004 09:44 PM
Cisco VPN client for PocketPC/WinCE Tosh Cisco 1 01-31-2004 01:22 AM