Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Link to anchor in an iframe

Status
Not open for further replies.

gronsky

Technical User
Feb 8, 2002
36
0
0
US
Hi!

I am working on a page that has frames;
the top using caption.html,
left column using thumbnails.html
the right column using image.html

In thumbnails.html I have a scrollable iframe.
(<iframe id="photodata" name="gpl" src="../Photo-ifram.html"...</iframe>)
The iframe displays the thumbnail images.

In Photo-ifram.html I have an anchor named 2000.

The page concept is a photo album. In the top of the page is the name of the photo album listing different years,ie. 1999, 2000, 2001,...

The left column has thumbnail images (in a scrollable iframe).

(Heading)1999
1.jpg
2.jpg...
(ANCHOR)2000
(Heading)2000
4.jpg
5.jpg...


When the thumbnail is clicked the image is shown in the right column.

My Question is this, How would I create a link for year 2000 in caption.html to the anchor (2000) in Photo-ifram.html which is used in thumbnails.html?

I hope this was clear.

Any help would be greatly appreciated.

gronsky

 
<a href="Photo-ifram.html#2000" target="gpl">2000</a>

Is that what you meant?

--Chessbot

The program didn't do anything wrong; it did exactly what you told it to!
 
Hey Chessbot.

Thanks for the reply.

Ah, duh. What's the old saying, "if it were a snake..."

I was trying to link href="thumbnails.html#2000" target="gpl">2000

It was driving me nuts, never thought to look to make sure I had the correct html.

Again, thanks so much for your assistance and reply.

gronsky
 
oops!

--Chessbot

The program didn't do anything wrong; it did exactly what you told it to!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top