P
Pen Phill
Hi I hope someone can help if possible.
I am currently playing with html and the frameset function. I have a site that
contains some very wide angle images that require to scroll L and R. With a
simple page the text underneath the images is only a screen wide and so also
scrolls and disappears. I thought frames might be an answer so I have set up a
frameset page that produces a page with two frames "top" and "bottom". At the
outset these contain respectively the image (image1.htm) and a block of text
(text1.htm). On opening up this page (framepage.htm) in IE the image in the top
frame can be scrolled separately to the block of text in the bottom frame which
is what I want. The problem I have is changing to the next or previous image
AND the next or previous text block by clicking on a link that appears in the
lower of the two frames. That is I want to change the contents of BOTH frames
by clicking on a link which is present in the lower one. Can it be done?
The text blocks for each image currently have the "previous/next" links in
the form:...."PREVIOUS.....Text block.......NEXT
The current code for the page in the lower frame "bottom" which is text1.htm
is as follows:
<html>
<head>
<meta http-equiv="Content-Type"
<Content = text/html:charset = iso-8859-1">
<meta name=generator" content="Microsoft front Page Express 2.0">
<title="text1"</title>
<base target ="top">
</head>
<body bgcolor="#FFFFFF">
<p> PREVIOUS This is the block of text <a href="image2.htm">NEXT</a></p>
</body>
</html>
This code just changes the image from image 1 to image2 in the top frame when
NEXT is clicked.That's only half of what I want. How can I alter this code so
that NEXT also puts text2.htm with ITS links into the BOTTOM frame?
(and of course clicking PREVIOUS also gives image0.htm and text0.htm in the
respective frames?)
I have tried adding a base target = "bottom" line with a second a href
="text2.htm" but this doesn't work.
Phil
Can anybody help please?
Phil
I am currently playing with html and the frameset function. I have a site that
contains some very wide angle images that require to scroll L and R. With a
simple page the text underneath the images is only a screen wide and so also
scrolls and disappears. I thought frames might be an answer so I have set up a
frameset page that produces a page with two frames "top" and "bottom". At the
outset these contain respectively the image (image1.htm) and a block of text
(text1.htm). On opening up this page (framepage.htm) in IE the image in the top
frame can be scrolled separately to the block of text in the bottom frame which
is what I want. The problem I have is changing to the next or previous image
AND the next or previous text block by clicking on a link that appears in the
lower of the two frames. That is I want to change the contents of BOTH frames
by clicking on a link which is present in the lower one. Can it be done?
The text blocks for each image currently have the "previous/next" links in
the form:...."PREVIOUS.....Text block.......NEXT
The current code for the page in the lower frame "bottom" which is text1.htm
is as follows:
<html>
<head>
<meta http-equiv="Content-Type"
<Content = text/html:charset = iso-8859-1">
<meta name=generator" content="Microsoft front Page Express 2.0">
<title="text1"</title>
<base target ="top">
</head>
<body bgcolor="#FFFFFF">
<p> PREVIOUS This is the block of text <a href="image2.htm">NEXT</a></p>
</body>
</html>
This code just changes the image from image 1 to image2 in the top frame when
NEXT is clicked.That's only half of what I want. How can I alter this code so
that NEXT also puts text2.htm with ITS links into the BOTTOM frame?
(and of course clicking PREVIOUS also gives image0.htm and text0.htm in the
respective frames?)
I have tried adding a base target = "bottom" line with a second a href
="text2.htm" but this doesn't work.
Phil
Can anybody help please?
Phil