I have looked at a few discussions about anchor links but still can’t get this to work -
I want a main navigation link to take the viewer to a particular part of a page.
I have placed an anchor link at the target point on that page. The anchor link is this: < a name =“test” >< / a > (I have placed spaces in this anchor link otherwise it doesn’t sho up on this page)
I have tried using the ‘offsite page’ to do this using the url of the target page appended with .html#test but to no avail.
That will take me to a page, but only to the top. What am I supposed to be seeing when I get to that page? (Presumably something further down the page.)
Hmm . . . I don’t see any anchor placed on that page near Theatre 1985-2012. Are you sure you created one? A general HTML form for an anchor is:
<h2 id="contactinfo">Contact Information</h2>
Notice that “id” portion of the HTML.
You can create an anchor using Markdown, or HTML, or using Joe Workman’s helpful Link & Anchor. If you are new to web design then I highly suggest using Joe’s stack for this:
When you set the anchor at the bottom of the page, there must be a space under the anchor.
The link to the anchor always leads to the top of the window.
When there is no content or space further down the anchor/page, the browser can not pull up the window.
I have placed that anchor link < a name =“test” >< / a > (minus all the spaces) at the target destination.
I have also placed some content below that anchor as you suggest Oscar
The offsite page link should be with http://www…
In your link there is no www… and in one link (theatre 1965-80) there is a folder theatre/(index.html not visible)
In the link to Theatre 1985-2012 there is no folder theatre and you link to a page called theatre.html#test.
The link in the offsite page must correspond exactly.
The problem as I see it is you seemed to have removed the 1985-2012 header. Don’t know why this happened. At any rate it’s hard to check when the relevant header is no longer visible.
You seem to be using a stack by DooBox to create your headers. This should not be the source of the problem, but it’s possible there is some conflict. However, hard to know that for sure until other possibilities have been eliminated.
My guess is, all things considered, that created a new page is the better way for you to go. You already have a lot of “stuff” on the theatre page: so dividing it up across 2-3 pages is probably a very good idea.