Open multiple web pages in frames from one hyperlink?

D

DT

Hi,

I want to open two(2) different web pages in separate frames, from one (1)
hyperlink. Is this possible?

Thanks,

Dave
 
S

Stefan B Rusynko

See response to you other post

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I want to open two(2) different web pages in separate frames, from one (1)
| hyperlink. Is this possible?
|
| Thanks,
|
| Dave
|
|
 
D

DT

Below are some options that I found on the following site
http://irt.org/script/frame.htm provided by Stefan.

****************************************************************************
<script language="JavaScript"><!--
function changeFrames(url1,url2) {
parent.frame2name.location.href = url1;
parent.frame3name.location.href = url2;
}
//--></script>

<form>
<input type="button" value="Click Me"
onClick="changeFrames('apage.html','bpage.html')">
</form>


or:

<script language="JavaScript"><!--
function changeFrames(url1,url2) {
parent.frames[1].location.href = url1;
parent.frames[2].location.href = url2;
}
//--></script>

<form>
<input type="button" value="Click Me"
onClick="changeFrames('apage.html','bpage.html')">
</form>
************************************************************
*


As I am new to Frontpage, can someone please explain what is the best way
(procedure) to insert this code into the base frame. The link will be from
an
embedded picture (I currently have a hyperlink set that will open my web
address
image in a single new frame).

To facilitate the explanation, I have supplied the code for my base page
(which I have now only set to 1 embedded image for ease of reading). Once I
get the script working (opening multiple web pages in separate frames by
clicking on embedded image) it should only be a matter of copying the image
and then changing the reference in the HTML to point to different images?

Please note that when I restore multiple images in the base frame, the same
target frames will be used to open the 2 new images based on the individual
target frame h:references placed in the scripts for each embedded image.I
have this working with hyperlinks (as per below HTML code), so I assume
there should be no problem with the scripts?

Thanks for your help.

DT


Base Page Code:

*************************************************************
<html>

<head>
<meta http-equiv="Content-Language" content="en-gb">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>BuyStocks</title>
<base target="_self">
</head>

<body bgcolor="#000000">

<p style="margin-bottom: -20">
<font color="#FF0000" face="Tahoma" size="2">&nbsp;&nbsp;&nbsp;&nbsp;
</font></p>

<p>
<a target="left2"
href="http://stockcharts.com/c-sc/sc?s=IRM&p=DAILY&b=5&g=0&id=t01685724673&r
=6515">
<img height="86" alt="Intraday Chart"
src="http://data.moneycentral.msn.com/scripts/chrtsrv.dll?Symbol=FUJIY&width
=136&height=86&C1=3&C5=4&C6=2006&C7=4&C8=2006&C9=0&CE=0&CF=0&D3=0&D4=1&D5=0&
E8=1&E1=0&Legend=0&EFR=255&EFG=255&EFB=255&Banner=5&AF=2" width="136"></a>
</p>

</body>

</html>

*******************************************************************





Stefan B Rusynko said:
See response to you other post

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi,
|
| I want to open two(2) different web pages in separate frames, from one (1)
| hyperlink. Is this possible?
|
| Thanks,
|
| Dave
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top