You can easily close the popup window by following the next steps:
- Give your layer popup window a name. You can do this in the Adv Layer Popup options. make sure it starts with capital letter, like MyWindow
- Create a button or link that you want to use for closing
Note: As you can see I've prefixed the window name with dmxPopup - this is necessary so don't forget it!
Note2: If you want to put the close command in the layer popup window self you must prefix it with parent:
This is extra complimentary content which purpose is to show additional usage that is not part of the product, i.e. it suggests tips for extending the functionality of the product by the users themselves. It is provided "as is", without warranty of any kind, express or implied , including but not limited to the warranties of merchantability, fitness for a particular purpose and nonfringement of third party rights.
DMXzone does not take responsibility to support the suggested content to be fully compatible and working as intended and does not provide support for extended functionality which is not included in the current release of the extension.
It is highly recommended that only more advanced developers use it.