Jump to content

Link to a specific spot from an e-mail


DizzyDan
 Share

Recommended Posts

Hey guys,What i am looking to do is in an email i have 3 links. Each link goes to the same webpage but to a different section. Is there a way to have it so link 1 is at the top of the page. link 2 goes to the next article on the page and link 3 goes to the 3rd article on the page.I been searching but i couldn't find any direct answers.Thanks,

Link to comment
Share on other sites

You don't necessarily have to have anchors. You can just use id's as a hash in the url.Say you have:

<div id='sect1'>   ....content.....</div><div id='sect2'>   ....content.....</div><div id='sect3'>   ....content.....</div>

You can link to section 2 like this:www.website.com/index.html#sect2

Edited by ShadowMage
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...