Named Anchor

User 458539 Photo


Registered User
1,583 posts

Hey forum!

I have a client that wants to have a faqs page that uses what I used in the dreamweaver days as named anchors

This is how I was going to do it - any thoughts out there?

1. Was going to set up a column (do I need to put a container in that column?)

2. Then I was going to place all the text - formatted with the list of questions then the answers below.

3. place this code before each question <a name="1" id="1"> ( In HTML editor)

4. place this code before the answer <a href="#1"> (in html Editor again) Understanding that the #1 will change accordingly to each question and answer.

Any ideas?

Thanks in advance

Byron

User 2484360 Photo


Registered User
3,293 posts

Hey Bryon,

You can do this without the second link. The Question must be a link to #answer1 but the p tag that contains the answer can simply be given the ID of answer1 and the first link will take you to that ID on the page.

But your way works as well, use either as you see fit. :)
User 458539 Photo


Registered User
1,583 posts

Thanks Adam

Byron
User 434929 Photo


Ambassador
938 posts

Adding Anchor Tag Link With Responsive Layout Mak…: http://youtu.be/JaitPdNchwc

Guys at coffeecup are awesometacular.
User 458539 Photo


Registered User
1,583 posts

Good video Mansour - how do I link it to a different page and specific spot? would the href be #differentpage/first provided I have set it up that page with first

Thanks
Byron
User 434929 Photo


Ambassador
938 posts

Go and add your anchor ID to the section of the page you want to be linked then link the button to that page + #anchor ID
See the example link

<a href="pagename.hml#anchor">link text</a> 

Is this make sense if not I maybe make a video for that.
Guys at coffeecup are awesometacular.
User 434929 Photo


Ambassador
938 posts

Byron Tipping wrote:
Good video Mansour - how do I link it to a different page and specific spot? would the href be #differentpage/first provided I have set it up that page with first

Thanks
Byron


Responsive Layout Maker Pro -Linking to an Anchor on another page

http://www.youtube.com/watch?v=3hbnXUm00SA



Guys at coffeecup are awesometacular.
User 458539 Photo


Registered User
1,583 posts

Thanks Mansour - good video

Byron

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.