Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Opening links in new window. Read prev. posts, still having troub

1 view
Skip to first unread message

Lissey Jax

unread,
Apr 8, 2005, 3:01:01 PM4/8/05
to
I am trying to set hyperlinks to open in a new window. I have read previous
posts and have made some progress. I have followed this set of instructions
from a previous post:
Set the target in the hyperlink to a named frame/window. Example:
<a href="pagename.htm" target="myname">page in new window</a>
If the window exists, it will be used, if the window does not exist it
will
be created.
The first page opens in a new window and then the second link (a specific
link, not just any second link clicked) opens in that same window, but if I
click any other link or go back to the first, I start getting multiple
windows again.

Any other suggestions as to what I am doing wrong? I am working with
FP2003. I have spent quite some time in the help files but have not located
the solution yet. Any assistance would be greatly appreciated.

Thaks so much.

Murray

unread,
Apr 8, 2005, 3:10:31 PM4/8/05
to
Why not post a link to a page that is failing to do this, and state which
link it is that is failing?

--
Murray
============

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message
news:CC1E4C98-C94E-4974...@microsoft.com...

Thomas A. Rowe

unread,
Apr 8, 2005, 3:26:55 PM4/8/05
to
The only way to avoid have new windows created, it to use JavaScript to set the name of the Window.

However you really should consider only open link in a new window, if the link to another web site,
if the link is internal to your site, then do not open it in a new window, set the target value to
_top or _self.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message
news:CC1E4C98-C94E-4974...@microsoft.com...

Lissey Jax

unread,
Apr 8, 2005, 3:51:02 PM4/8/05
to
The link to the page is:
http://webpages.charter.net/fshusterxyz/MySite_ENGL3134/Interests.htm

I am a beginner & this is a class assignment. Constructive criticism is
welcome on any aspect of the site.
Thanks

Lissey Jax

unread,
Apr 8, 2005, 3:53:03 PM4/8/05
to
Sorry I didn't mention which links I am having problems with. All of the
links to names of singers and the Positech link. Thanx

Murray

unread,
Apr 8, 2005, 4:08:56 PM4/8/05
to
Change this -

<a target="New Window.htm_blank"
href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml">

to this -

<a target="_blank"
href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml">

Do the same for all other links.

In FP2003, you can do the same by clicking anywhere within any link, and
editing its properties (either from the right-click context menu, or by
Alt-Enter). Then click on the Target Frame... button, where you'd enter
"_blank" in the target field.

--
Murray
============

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:BED0AAB3-72A9-47E0...@microsoft.com...

Lissey Jax

unread,
Apr 8, 2005, 5:19:01 PM4/8/05
to
This still opens each link in a new window. I would like for the first new
window
to be the target for each subsequent link clicked. Thomas mentioned using
JavaScript. Is there no easy "point and click" solution within FP2003? I am
new to this whole scene. JavaScript is a bit much to get my arms around
right now.

Thanks

Murray

unread,
Apr 8, 2005, 5:44:15 PM4/8/05
to
Oh - sorry, I missed that detail. Well, in that case, you will have to do
something different. I'll cook something up for ya....

--
Murray
============

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:7B6DA760-0AEE-441F...@microsoft.com...

Thomas A. Rowe

unread,
Apr 8, 2005, 6:50:05 PM4/8/05
to
One option is to create a page with the category links, then on your current page link to the
"category" which will load in the new window, then when the user clicks on any links in that window,
they will stay in that window.


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message
news:7B6DA760-0AEE-441F...@microsoft.com...

Ronx

unread,
Apr 9, 2005, 6:39:50 AM4/9/05
to
Change the link from <a target="New Window.htm_blank"
href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml">

to
<a target="mywindow"
href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml">

The target should not contain any spaces or punctuation, though the _
is allowed.
Change the targets on all the links to the same value.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:7B6DA760-0AEE-441F...@microsoft.com...

Murray

unread,
Apr 9, 2005, 7:44:34 AM4/9/05
to
That's it! 8)

--
Murray
============

"Ronx" <ron...@hotmail.com> wrote in message
news:OMaf3BPP...@TK2MSFTNGP10.phx.gbl...

Lissey Jax

unread,
Apr 9, 2005, 11:49:02 AM4/9/05
to
I have changed the targets on the hyperlinks per your instructions (I
think):-)).
Sometimes the link opens in a new window; sometimes it opens in the same
window.
I haven't noticed a pattern yet, but haven't had a chance to examine that
closely.
The link is below if any of you care to look for me to see what else I am
doing wrong. Any help is greatly appreciated.

http://webpages.charter.net/fshusterxyz/MySite_ENGL3134/Interests.htm

Thomas A. Rowe

unread,
Apr 9, 2005, 12:19:54 PM4/9/05
to
Each link does open in a new window. In order to re-use a window, you must use JavaScript to assign
a name to window as it is being created. This would have to be done on each link, as you don't know
which link someone would click first.

The _blank target value or a none-existing named target value will always open a new individual
browser window for a link.

My suggestion from yesterday (shown below) would solve the problem without requiring JavaScript to
generate the window, but it is not a great solution.

From yesterday:

One option is to create a page with just the category links, then on your current page link to the

"category" which will load in the new window, then when the user clicks on any links in that window,
they will stay in that window.

Category = Your Music Links


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message
news:13F97446-1424-4A4B...@microsoft.com...

Thomas A. Rowe

unread,
Apr 9, 2005, 12:26:29 PM4/9/05
to
I found a solution that doesn't require JavaScript, will post in a few minutes.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Thomas A. Rowe" <tar...@mvps.org> wrote in message news:OB1O3$RPFHA...@tk2msftngp13.phx.gbl...

Thomas A. Rowe

unread,
Apr 9, 2005, 12:32:33 PM4/9/05
to
Here is the solution:

<a href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml" name="mylinks" target="mylinks">

<a href="http://www.cmt.com/artists/az/lynn_loretta/artist.jhtml" name="mylinks" target="mylinks">

<a href="http://www.cmt.com/artists/az/cline_patsy/artist.jhtml" name="mylinks" target="mylinks">

<a href="http://www.cmt.com/artists/az/haggard_merle/artist.jhtml" name="mylinks" target="mylinks">

<a href="http://www.mozartproject.org/" name="mylinks" target="mylinks">

<a href="http://www.ozzynet.com/" name="mylinks" target="mylinks">

<a href="http://www.vh1.com/artists/az/zombie_rob/artist.jhtml" name="mylinks" target="mylinks">

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Thomas A. Rowe" <tar...@mvps.org> wrote in message news:Ov2AjDSP...@tk2msftngp13.phx.gbl...

Murray

unread,
Apr 9, 2005, 1:17:26 PM4/9/05
to
The only problem with that (in my opinion, optimal) solution, is that once
the window named "mylinks" is shuttled to the background, it will stay
there, and the user may be unaware that more content is being added. About
the only way to deal with this would be to add the following to the code on
each page that will open in the mylinks window -

<body onBlur="self.focus()"...>

--
Murray
============

"Thomas A. Rowe" <tar...@mvps.org> wrote in message

news:OdLu7GS...@TK2MSFTNGP15.phx.gbl...

Thomas A. Rowe

unread,
Apr 9, 2005, 1:32:06 PM4/9/05
to
Agreed, but since the links are external to the site, it is not possible with any window content
changes to bring the window forward.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Murray" <for...@HAHAgreat-web-sights.com> wrote in message
news:uKX5JhSP...@tk2msftngp13.phx.gbl...

Murray

unread,
Apr 9, 2005, 2:00:28 PM4/9/05
to
Oh, right. Bummer....

--
Murray
============

"Thomas A. Rowe" <tar...@mvps.org> wrote in message

news:OrfMNoSP...@TK2MSFTNGP14.phx.gbl...

Lissey Jax

unread,
Apr 9, 2005, 3:05:02 PM4/9/05
to
Thomas,
I tried the last suggestion and copied your links to my page. I am certain
that I am doing something wrong because I am still getting multiple new
windows. I would like to try the suggestion in this post:

One option is to create a page with just the category links, then on your
current page link to the "category" which will load in the new window, then
when the user clicks on any links in that window, they will stay in that
window.
Category = Your Music Links

I am quite uncertain how to go about implementing this suggestion. I know
that I can link to bookmarks on one page from another, but that isn't going
to follow a hyperlink is it? Could you point me in the direction of some
decent educational resources where I might find more about this method?
Thanks so much

Thomas A. Rowe

unread,
Apr 9, 2005, 3:16:45 PM4/9/05
to
You have to do this HTML / Code View, you can not do this via the Hyperlink dialog.

This is your current link:

<a target="Links" href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml">Conway Twitty</a>

This is what your link needs to look like:

<a href="http://www.cmt.com/artists/az/twitty_conway/artist.jhtml" name="Links"
target="Links">Conway Twitty</a>


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:0030E23C-E412-412F...@microsoft.com...

Lissey Jax

unread,
Apr 9, 2005, 4:25:03 PM4/9/05
to
I updated my links and uploaded to the server. See if that is what you had
in mind. Thanks

Thomas A. Rowe

unread,
Apr 9, 2005, 4:49:22 PM4/9/05
to
You have it almost right, just change:

_Links

to

Links

Do NOT change anything else


--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:27177EF2-FE13-4C4E...@microsoft.com...

Lissey Jax

unread,
Apr 9, 2005, 10:09:02 PM4/9/05
to
I had tried that (Links) before _Links. They both worked about the same.
Anyway, I went about working it a different way. Thanks so much, everyone,
for the assistance and persistence. I think I may just be trying to walk
before I have learned to crawl.....

Take a look at the work around...

Thanks again.

Thomas A. Rowe

unread,
Apr 9, 2005, 10:34:09 PM4/9/05
to
Glad you have it working.

Basically you used my first suggestion of link to a page that loads in a new window. However to work
effectively for your site visitors, you need remove all links from this page to internal page within
your site, or your user will end up with two or more windows open to your site.

I don't understand what you mean that "Links" and "_Links" both worked about the same.

"_Links" was a invalid frame target value, and any invalid frame target value automatically create a
new window.

However you were creating a new window called "Links" therefore in order to use this specific
windows, you have set the target value the exact same name and case, as specified in the name
attribute called "Links"

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Lissey Jax" <Liss...@discussions.microsoft.com> wrote in message

news:2030C3AE-F827-4B58...@microsoft.com...

0 new messages