Okay
  Public Ticket #1325200
Separate html pages
Closed

Comments

  • Tate started the conversation

    This is more a how to question about html in general but since this theme is built out a certain way, I would appreciate any help or direction you can provide.  I want to separate the different sections into their own html pages so that when the browser back button is used, it actually goes back to the last section you were on instead of leaving the site.  I know how to put the page as a reference like in the <a href> line, but how do I modify the html?  I just tried copying out the DIV sections and putting them in the body of a new html page but it gives a blank page (still shows the logo and nav bar, but no section).  Any ideas on what I am doing wrong?

  • Tate replied

    I made a copy of the index.html page and named it about and put it in the same root directory.  Then, I put a link to it with a #about anchor tag in the navbar section of the index.html.  Like this, <li><a href="../about.html#about">About</a></li>.  Then I went to the about.html page i made and put the id of the anchor tag at start of the about section.  I've tried using <div id=about> and <a name=about> and i even tried putting id within the <h3>ABOUT</h3> like <h3 id=about>ABOUT</h3>.  But it only opens the about.html page from the <a href>.  But it stays on the slider and doesn't open or go to the about section.  How can I get the about section to open up automatically?

  •  839
    Jelly replied

    Hi,

    I think you can try again with this:

    <li><a href="../about.html/#about">About</a></li>

    Best Regards,
    Jelly Team