chutil When clicked, it should go back to the index page.
It sounds like you want to navigate to a different page on your website? If so, why not use <a>
instead of <button>
and just assign a href
?
<div id="topbar-top">
<div id="button"><a class="button" href="../">Till huvudmenyn</button></div>
Just change href="../index.php"
to whatever the link to your index page is.