Forum Moderators: open

Message Too Old, No Replies

Frames and page anchors

         

Cathy777

9:17 pm on Jul 12, 2004 (gmt 0)



For the page I'm designing I have frames on the left. Is there any way I can put page anchors in the frames and when u click on it, it will appear in the main frame? I just started using frames. So any help is appreciated! Thx!

BlobFisk

8:28 am on Jul 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Cathy777!

What you need here is the target attribute [w3.org]. You can point your links to open in your main frame like this:

<a href="page.html" target="mainFrame" title="Some link title">

And this will open the link in the frame with a name of mainFrame.

The W3C specification for frames is here:
[w3.org...]

HTH