Jump to content

Jump To A Specified Section Within A Frame


fabs

Recommended Posts

<frameset cols="20%,80%"> <frame src="frame_a.htm"> <frame src="link.htm#C10"></frameset>if this is the part that is confusing you, it's basically saying within the page "link.htm", find anchor C10 and go right to it. The "#" is the anchor. So for instance, say you wanted that link to go to chapter 12 in the referenced document, you would write <framce src="link.htm#C12"> and in link.htm, you would write <a label="C12"> in the spot in the page where you want people to go to.http://www.w3schools.com/HTML/html_links.asp. scroll about half way down a look for the section called "the label attribute".

Link to comment
Share on other sites

<frameset cols="20%,80%"> <frame src="frame_a.htm"> <frame src="link.htm#C10"></frameset>if this is the part that is confusing you, it's basically saying within the page "link.htm", find anchor C10 and go right to it. The "#" is the anchor. So for instance, say you wanted that link to go to chapter 12 in the referenced document, you would write <framce src="link.htm#C12"> and in link.htm, you would write <a label="C12"> in the spot in the page where you want people to go to.http://www.w3schools.com/HTML/html_links.asp. scroll about half way down a look for the section called "the label attribute".
You wouldn't use the "label" attribute because it doesn't exist.The old-fashioned way was to use the name attribute. That attribute was deprecated in favor of the id attribute.Also, it doesn't need to be an <a> element. The link will target any object with an ID.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...