1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HTML CODE - HELP!

Discussion in 'Web Design' started by ammylosh, Oct 27, 2016.

  1. ammylosh

    ammylosh Newbie

    Joined:
    Sep 28, 2013
    Messages:
    44
    Likes Received:
    2
    Ok so i have jump links ( anchors if you like ) on my website,
    basicly i have one landing page that shows the menu,
    and the menu buttons go like this mywebsite.com/#ANCHOR

    what i want to do is make a different page that will have the same menu
    and when he clicks on the button on the menu, i dont want it to go to mywebsite.com/#ANCHOR
    i want it to go to mywebsite.com/otherpage/#ANCHOR

    i guess there is a code for directing it to the URL you are in + #ANCHOR, but i just cant find it any were.

    Help would be appriciated!
     
  2. royserpa

    royserpa Jr. VIP Jr. VIP Premium Member

    Joined:
    Sep 28, 2011
    Messages:
    4,967
    Likes Received:
    3,723
    Gender:
    Male
    Occupation:
    Negative Options aka Rebills!
    Location:
    Exploiting Loopholes!
    Home Page:
    <a href="#HereGoesID"> Some Text </a>
     
  3. ammylosh

    ammylosh Newbie

    Joined:
    Sep 28, 2013
    Messages:
    44
    Likes Received:
    2
    Thanks! Just solved this, with a . :D

    Thanks for the help man