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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help to load a new window

Status
Not open for further replies.

ramblenman

Technical User
Joined
Sep 27, 2003
Messages
14
Location
CA
I what to load a new window when a person clicks on the link. I know how to do this to link to a new site, but it does not seem to work for loading a html document. Is this possible? I need to open this file into a new window without closing the one it was opened from.
I have enclosed my script here:


<a href="#" onclick = "window.open"totalframe.html";">Click here to continue</a>


__________________

 
<a href="#" onclick = "window.open('totalframe.html');">Click here to continue</a>


--Chessbot

"So it goes."
Kurt Vonnegut, Slaughterhouse Five
 
or <a href="totalframe.html" target="_blank">Click here to continue</a>

--Chessbot

"So it goes."
Kurt Vonnegut, Slaughterhouse Five
 
thank you chessbot, I knew I was missing something
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top