multiple links, same new window

S

SirJust

Hello all,

Can anybody tell me if it is possible to do this:

I have a webpage with say, 40 different hyper links to 40 different pages on
my site, is there a way to have those all open in the same new window( rather
than having the user having 40 new windows opened) ?

using fp2003

thanks
 
R

Ronx

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.

Note: It may be necessary to add
onload="window.focus()"
to the <body> tag of pages that use this new window, or the window may
remain hidden behind the main browser.

Ron
 
S

SirJust

Well, I'm not sure what you mean....

Here is what I have now:
<p class="MsoNormal" align="left">
<font face="Trebuchet MS"><b>
<span style="color: black"><font size="2">
Afraid: <a target="_blank" href="bible/psa3.htm">3</a>;
<a target="_blank" href="bible/psa4.htm">4</a>;
<a target="_blank" href="bible/psa27.htm">27</a>;
<a target="_blank" href="bible/psa46.htm">46</a>;
<a target="_blank" href="bible/psa49.htm">49</a>;
<a href="bible/psa56.htm">56</a>;
<a target="_blank" href="bible/psa91.htm">91</a>;


Do I rename the "_Blank" ?
 
R

Ronx

Yes. _blank will open a new window for each link, resulting in many
windows.
Using

Afraid: <a target="bk" href="bible/psa3.htm">3</a>;
<a target="bk" href="bible/psa4.htm">4</a>;
<a target="bk" href="bible/psa27.htm">27</a>;
<a target="bk" href="bible/psa46.htm">46</a>;
<a target="bk" href="bible/psa49.htm">49</a>;
<a href="bible/psa56.htm">56</a>;
<a target="bk" href="bible/psa91.htm">91</a>

will open one new window, and all the pages will load into it (except
psa49.htm, which does not have a target set).

See http://www.rxs-enterprises.com/cgi-bin/lights2.pl?name=pct
as an example. Check the code behind the thumbnails, and in the <body> tag.

Ron
 
S

SirJust

Perfect, thank you

Ronx said:
Yes. _blank will open a new window for each link, resulting in many
windows.
Using

Afraid: <a target="bk" href="bible/psa3.htm">3</a>;
<a target="bk" href="bible/psa4.htm">4</a>;
<a target="bk" href="bible/psa27.htm">27</a>;
<a target="bk" href="bible/psa46.htm">46</a>;
<a target="bk" href="bible/psa49.htm">49</a>;
<a href="bible/psa56.htm">56</a>;
<a target="bk" href="bible/psa91.htm">91</a>

will open one new window, and all the pages will load into it (except
psa49.htm, which does not have a target set).

See http://www.rxs-enterprises.com/cgi-bin/lights2.pl?name=pct
as an example. Check the code behind the thumbnails, and in the <body> tag.

Ron
 
Top