Hyperlink to the middle of another page. |
Hyperlink to the middle of another page. |
wolf |
Jun 21 2021, 05:54 AM
Post
#1
|
Group: Members Posts: 5 Joined: 16-November 20 Member No.: 27,638 |
Hello Again Folks,
It's hard to believe that I've had a website for 20 years and I'm having problems with what should be a relatively easy task. Basically, I am trying to make a link to the middle of another web page. I have made two links in this page https://www.1728.org/jump-to-middle.htm. The first link which links to the middle of that page works fine. The second link also located at https://www.1728.org/jump-to-middle.htm does go to another page https://www.1728.org/jump-to-middle2.htm but it only goes to the top of that page but not the middle. How do I make that link go to the middle of that page? Any help would be greatly appreciated. Thank you. This post has been edited by wolf: Jun 21 2021, 05:58 AM |
Brian Chandler |
Jun 21 2021, 06:25 AM
Post
#2
|
Jocular coder Group: Members Posts: 2,460 Joined: 31-August 06 Member No.: 43 |
To make a link to website.com/page#position you need to put an id=position within the page. But on your "page2", instead of id=page2 you have id=#page2.
|
wolf |
Jun 21 2021, 10:10 PM
Post
#3
|
Group: Members Posts: 5 Joined: 16-November 20 Member No.: 27,638 |
To make a link to website.com/page#position you need to put an id=position within the page. But on your "page2", instead of id=page2 you have id=#page2. Hello Brian. SUCCESSFUL!!! Thank you VERY much! I have an HTML book and I looked at a great many websites, none of which stated what you just told me!!! Thanks for stating what I needed to do in plain English!! It's great to know that when anyone is having trouble with a webpage, Web Design Group will find the answer!! |
Lo-Fi Version | Time is now: 26th April 2024 - 09:15 AM |