This may seem like a stupid question, but:
So what i would like to do is set up a menu section so that when the user clicked on the title of the section it would send them to that particular spot on the page with out having to scoll down. I am not entirely sure how this would work or how complicated it is to achieve.
So bacially i would have
Menu
-
item one (be a link)
-
item two (be a link)
-
etc (be a link)
then further down the page
item one (when item one in menu is clicked page comes to here)
“details about it here”
item two (when item two in menu is clicked page comes to here)
“details here”
How exactly would i go about doing this?
Any help or suggestions are greatly appreciated. Thanks.
Its called an
anchor tagand you can combine this with a # to get the desired results asked in the question.Just put:
<a name="section1"></a>at the beginning of section1
The next step is to then wherever you want to link to it, just add:
<a href="#section1">here</a>Please note that you can also point to an
IDwithin an element using the method above to achieve the results.For example:
This will help you, if you have any other questions regarding this let me know.