PC Review


Reply
Thread Tools Rate Thread

Code to make a page open in new window

 
 
=?Utf-8?B?S2lt?=
Guest
Posts: n/a
 
      4th Aug 2006
Isn't there a simple code I can insert on my page to make a link open in a
new window and then that page would close and still have the last page
showing?
 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      4th Aug 2006
Add a "target" attribute to the hyperlink. The value will be "_blank".
Example:

< a href="someotherpage.html" target="_blank">Some text</a>

This can be done visually using the Hyperlink Properties dialog box. Look
for the "Target Frame" button.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

Expect the unaccepted.

"Kim" <(E-Mail Removed)> wrote in message
news:3F9B35F0-B52B-4B6F-8562-(E-Mail Removed)...
> Isn't there a simple code I can insert on my page to make a link open in a
> new window and then that page would close and still have the last page
> showing?



 
Reply With Quote
 
=?Utf-8?B?RGFuIEw=?=
Guest
Posts: n/a
 
      4th Aug 2006
An alternative to Kevin's suggestion is to use the free pop-up script
provided by JimCo Software called Spawn
(http://www.jimcosoftware.com/addins.aspx). With this approach you can
define the size and location of the window. The target="_blank" approach
opens the page in a new window, but it usually covers/hides the open window
behind it. HTH

"Kim" wrote:

> Isn't there a simple code I can insert on my page to make a link open in a
> new window and then that page would close and still have the last page
> showing?

 
Reply With Quote
 
Andrew Murray
Guest
Posts: n/a
 
      5th Aug 2006
Try the Spawn pluggin on www.jimcosoftware.com - this is an FAQ - there are
several posts this week on this same issue.

"Kim" <(E-Mail Removed)> wrote in message
news:3F9B35F0-B52B-4B6F-8562-(E-Mail Removed)...
> Isn't there a simple code I can insert on my page to make a link open in a
> new window and then that page would close and still have the last page
> showing?



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
tell if child window is open in code behind parent window-web app Paul Microsoft ASP .NET 0 17th Jun 2008 11:46 PM
how do i make links open in a separate window but leaves my page na.dhass@gmail.com Microsoft Frontpage 1 14th Nov 2007 08:23 PM
how do i make links open in a separate window but leaves my page =?Utf-8?B?SkogU3dlZXRpbmc=?= Microsoft Frontpage 12 2nd Feb 2006 06:56 PM
Can't (Open in New Window). Opening a page in a new window, doesn't work. okayama Windows XP Internet Explorer 3 20th Nov 2003 11:24 PM
open a link in a new window opens the page in the parent window default user Windows XP Internet Explorer 3 11th Aug 2003 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:13 AM.