Hi all,
I’m currently having a battle with dynamically changing the text of a label to show the current page title. The issue is arising because my main pages are within an inline frame and my label is outside it. So my current page in Axure cannot see the widget as it technically sits on another page.
Currently the set up is like so…
When a user clicks the button to go to page 2 for example, when the new page loads (in the frame) i want to update the label at the top to reflect the page title. I had very limited success by passing [[pagename]] through some custom javascript to find the element and set the innerHTML but it really didn’t like me doing that, plus it felt like the wrong way to do it.
I found some posts that related to using something like ‘window.parent.$axure(’[data-label=name of widget]’)’ but I’m not sure on how to about using that to set the text.
Am I going the right way about this? Is this ever going to work in the first place? Any pointers would be greatly appreciated. This is using RP 8.
Thanks.