I have some graphics that act as buttons, making a popup layer visible through the Link Properties dialogue. I need to call a function in the head at the same time as showing the popup and cannot work out how to do this. If it is not possible and I have to use a placeholder, then does anyone now how to show the popup from my function?

Thanks in advance.