1. Drag and drop on the page. This will make all on-click pop up layers
stay visible even when user clicks somewhere.
2. On the pop up layer, add unique name to any non-text object. This
name will identify this layer for your script.
(The name can contain only alphabetic letters, digits, "-" and "_" characters and must
begin with any letter except for "x" or "X").
3. 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.
To open popup use: javascript:my_open('mypopup1')
You can combine open popup and close popup actions separated with
semicolon in a single URL:
javascript:my_close('mypopup1');my_close('mypopup2');
my_open('mypopup3');my_open('mypopup4');
Click buttons below to see the example of this tweak it action.