On Click link from Child to Parent Page

Hi there,

I have a number of Parent pages each with Child pages nested inside. On each page I have Lightbox overlay which I would like to be a component, and on the overlay is a Delete Button .

So whatever page this component is triggered on, if the user clicks Delete I would like to set;

If on a Child Page link back to the Parent page,
If on the Parent page, hide the Lightbox overlay (and remain on the Parent page). Technically I could delete a row in the repeater on the Parent page but thats overkill.

Thanks for your help.

You could add some JavaScript to OnPageLoad that captures the URL of the page and sets it to a global variable:

javascript:
$axure.setGlobalVariable("gbl_Parent",window.location.href);
$axure.setGlobalVariable("gbl_Child","");
void(0);