Dynamic Page Container

Hi there,

Please see image below. The box on the left is connected to a database and each element is connected to a certain connection field. When you press the previous/ next button, the next article/ item in the database shown.

The box on the right is a repeater also connected to the same database. The read more button goes through to the dynamically generated page/URL.

My question is:

Is there a way to press a button on the right container, so that the specific article/item is then dynamically displayed on the left?

Thank you so much!

Josh

You could try to set up the read more button so that when it is clicked on, the existing dataset has a data query ran on it and it is filtered to show the appropriate info into the elements on the left.

Or if the data is all linked in the dataset row, then after the read more button is clicked you can populate the elements on the left with the appropriate data from the same row.

Another possible idea is that instead of the read more button taking the user to another page, that the info that would have been shown on that page is instead shown in a popup lightbox on the same page.

Yes it would mean that users would have to keep closing lightboxes if they were going through a lot of the read more section, however it would mean you wouldn’t have to worry about having to write code to show the info on the left instead and users wouldn’t be taken to another page to view the additional material and then have to click back onto this page again to read another one.

See here for the Wix API reference section where you can find lots of code examples and info about it all.
https://www.wix.com/corvid/reference/