Treehouse: Grow your CSS skills. Land your dream job.

Remove the #string from the end of a url

  • # March 19, 2012 at 8:26 pm

    I believe this is a client side issue.

    I have a link that links to a div on another page.

    I want the page to still navigate to that div, but I want the #div-3 removed from the url without refreshing the page. How can I do this?

    # March 19, 2012 at 9:46 pm

    You’ll probably have to just let the browser do it’s thing at first, then after window.load, look into

    # March 20, 2012 at 12:36 pm

    Thanks for the help Chris. It took me a little bit to understand how it’s all supposed to fit in but I got it. That did the trick.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.