Open page in a certain section

1

I would like that by clicking on a link (ex: sports cars) the new page, once loaded, would run an animation until the location of the "sports topic".

Follow my project:

link

In the course section you have the dsg 7 option and clicking the details page > link is loaded, however I wanted it to slip up to the part of dsg 7 (or was already loaded in it which would be better). The same would happen in the other options.

Thank you in advance for the help

    
asked by anonymous 01.06.2016 / 16:14

1 answer

0

" ... or loaded into it would be the best ... ". For this you do not need to use jQuery, since the browser does this for us, trick is to insert the id of the section of the page where you want to go in the URL as well. See if this is what you want:

link link

That is, you can enter directly into the direct link:

...
<a href="Treinamentoslista.html#dsg7" target="_self">
...

The same can be done for others

    
01.06.2016 / 16:33