Hey guys,
I’m using nested repeating groups to show categories and sub categories with things.
I have built different pages to have different “views” of these. One page, let’s call it “the overview page” shows all the categories in an RG with a nested RG of sub categories with another nested RG containing the things in this sub category. Here the user can scroll horizontally through all categories and get a simplified overview of the sub categories in contains as well as then things in these sub categories (shown vertically).
Illustration:
| category |…
| sub cat |…
| thing |
:
:
Another page, lets call it “sub category page” will only show the sub category as a title (text) and then have a single RG with the things in that sub category listed vertically. This page will showcase much more details of each thing in the sub category.
What I want to achieve is that when the user clicks a “zoom button” from the “overview page” he is directed to the “sub category page” of the sub category in the centre of his view port when he clicks the button (button is a float).
The sub category page is of type “sub category” and through workflow I can send the sub category information of my wish, but I have no idea how I could “register” which # of the RP is in the centre of the users viewport when he click the button from the “overview page”.
Anyone have an idea of how to go about this?