Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

web page calls another web page 2

Status
Not open for further replies.

Kennya1

Programmer
Apr 14, 2002
15
US
Is there a way to write html code to have a web page call upanother web page WITHOUT the user clicking on a link?
 
you could use the header "content-location" method or Javascript ("<script language='JavaScript'>document.location.href=''</script>";
 
I'm not sure if the question is about calling an ADDITIONAL page or an ALTERNATIVE page.

For the former I'd include this in the <body> markup ...

<body onLoad="var DRAVE_ext=window.open('newpage.htm','drave','width=385,height=240');
DRAVE_ext.opener=window;
DRAVE_ext.focus();">


For the latter I use this structure (note carefully where the quote marks are, the zero is the time delay).

<html><head>
<meta http-equiv="Refresh" content="0; url=newpage.htm">
</head></html>


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top