Hi guys!
I am trying to make a wedding planning resources site that has a sidebar with categories and links to other useful sites in each category. The desired behavior is as follows:
Left sidebar contains links
User clicks on a link
iFrame (using HTML embed) in the main body changes the src based on which link was pressed
My dynamic collection of links has a url property which I would like to bind to the src in my iframe.
I found my workaround by looking on the forums! I simply duplicated my sidebar in the Link Details page and dynamically bound src to reflect the appropriate link.
I have a small problem with maintaining the state of the sidebar though:
If I started off in category A, the button representing it should look different in its “focused” state.
Upon redirecting to the Link details page, the sidebar would reset to its initial state (expected behavior for the workaround)
Any ideas how I can have both the dynamic iFrame as well as maintaining the ‘same’ sidebar?