Toolbar click and show popup

how can i ,when i click one item on toolbar,then show the popup.
not use
myPop = new dhtmlXPopup({ toolbar: myToolbar, id: “abc” });
myPop .attachEvent(“onShow”, function(){

i hope use showPopup() method like this dhtmlx.com/docs/products/dhtmlxP … bject.html

Hello
Can you clarify your question please? Do you mean to use code with coordinates instead of linked button popup?

yes. my english is poor .sorry.

Just need to clarify: you need it to position popup somewhere else, not near the button or you have some other reason? If the second reason, could you describe it please?

just mean .
when i show a popup on a toolbar,it uses onload:function(){} to initialize the popup.
can i use another method to show on a button on toolbar?

such as

<item id="new" type="buttonSelect" img="new.gif" imgdis="new_dis.gif" text="New" action="showNewDocumentSelect"/>

function showNewDocumentSelect(){
   showPopup();
}

can i without an onload method to initialize ,but use showNewDocumentSelect to show ?

Hi

Could you please provide us complete demo including all correspondnig js/css files?
Please also add information regarding current and expected behaviour.

Here is a small guide how to make a complete demo:
docs.dhtmlx.com/tutorials__auxil … pport.html

If you’re using PRO or ENT edition, please send your demo to support@dhtmlx.com

thx.i use 4.5standard now…
4.0 pro can be send to support email?

If you use Standard Edition, you may attach demo here.

If your demo contains files from PRO Edition, then send it via email to the email address given above.