Close button inside a frame

newbie-question

#1

Hi,

I need a pop-up that I can use across different pages, like detail information on an item.
I created a separate page with the detail information. Then I created frames on several pages, that are filled with this page with detail information.

Now I need the close button on the page with the detail information, to close the frame, regardless on what page I am on.
Is there a way to achieve this?problem popup.rp (94.6 KB)


#2

For what it’s worth, I’d use masters instead of iframes for what you’re doing. They are a lot easier to work with.

If you want to use iframes, probably the easiest way would be to use global variables: Reach with an Element in a Inline Frame a overlapping dynamic panel
It’s clumsy, but it works.

There are certainly ways of using JavaScript to access elements between an iframe and its parent. However, getting it to work within the Axure API would probably take a lot of trial-and-error.


#3

Thank you,
This is a clumsy solution. I will return to a master.
Wanted to have a separate page for easy documentation, but I guess I can combine both.