Revo 2.6.1
I'm using pdoResources to list the resources of three different folders, all on a single page. Each group of resources is wrapped in its own parent container with its own id (and pagination). For example:
<section id="one">
…
<resources here>
...
<paging controls>
</section>
<section id="two">
…
<resources here>
...
<paging controls>
</section>
<section id="three">
…
<resources here>
...
<paging controls>
</section>
Works great.
What I would like to do is append the paging url with the id (anchor) of the parent section. So for example, if a paging link in
section 3 were clicked the id
three would get tacked on like this, mysite/results.html?reviews=2#three or like this mysite/results.html?tutorials=2&reviews=2#three (depending on which and how many sections are being "paged"). This way the user is taken directly to the relevent section on the new page without having to scroll. Anchor 101.
My problem is I'm uncertain how to grab the correct id on the fly and append it. Or if it's even possible.