Extension panel - position (User defined)
Hi,
I'm using Illustrator CC 2015. I use CSInterface and Java script to develop the HTML panel.
I have created an panel, say Panel1. I create another panel, say Panel2 from Panel1 using following javascript:
var dialogName = "SomeDialogName";
var extensionDialog = "com.adobe.illustrator." + dialogName + ".dialog";
var extDlg = new CSInterface().requestOpenExtension(extensionDialog);
var tout = setTimeout(function () {
var event = new CSEvent(eventName, 'APPLICATION', 'ILST', dialogName);
new CSInterface().dispatchEvent(event);
clearTimeout(tout);
}, 1000);
Now the Panel2 gets loaded behind Panel1. Is there any way to bring Panel2 on top of all existing panels.
Or Is there any way to set a panel's top & left position? Please guide me. Thank you.
