Locking popups
1. On the pop up layer, add unique name to any non-text object.
2. Insert following string to the URL field of the object that will close the pop up:
javascript
:my_close('mypopup1')
Repleace 'mypopup1' with the name you have given to the object on the popup layer that you want
to be closed by this link.
Combine any number of my_close('mypopup1') and my_open('mypopup1') functions to open and close multiple layers with one click.
For example:
javascript
:my_close('mypopup1');my_close('mypopup2 ');my_open('mypopup3');my_open('mypopup4');
Bookmarks