Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 03 Nov 2005 10:44:55 -0500,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


How to make JavaScript invoke HTML   
My web page has some javascript to identify whether the screen resolution
is below 800 pixels.
I want it to cause one page to be displayed if the resolution is below 800
and a different page to be displayed if its above 800.
Thanks
date: Thu, 03 Nov 2005 10:44:55 -0500   author:   JayDale

Re: How to make JavaScript invoke HTML   
JayDale  wrote:
> My web page has some javascript to identify whether the screen
> resolution is below 800 pixels.
> I want it to cause one page to be displayed if the resolution is
> below 800 and a different page to be displayed if its above 800.

location.href = someURL;
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925
date: Thu, 3 Nov 2005 13:31:13 -0500   author:   Igor Tandetnik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us