如何设置Dojo对话框打开的位置? [英] How to set the location a Dojo Dialog opens at?
问题描述
我有一个Dojo对话框,当用户点击页面上的某个元素时,该对话框将被打开。
我想要控制它打开的位置....真的我想让它打开旁边的(相对于)另一个dom元素点击。
但是我似乎知道如何做上述任何一个。 >
感谢任何建议。
我会在Dojo的工具提示
doc。我从未有过Dojo的经验,但这里有一些链接可以帮助您开始使用。
http ://livedocs.dojotoolkit.org/dijit/TooltipDialog
http://mail.dojotoolkit.org/pipermail/dojo-interest/2011-May/054581.html
I have a Dojo dialog that is opened when a user clicks on an element on the page.
I want control the location it opens at ....really I want it to open beside (relative to) the other dom element clicked on.
But I can seem to figure out how to do either of the above.
Thank for any advice.
I'd take a loot at the Tooltip
doc for Dojo. I've never had experience with Dojo, but here are some links that should help you get started.
Dojo Dijit Dialog relative position. is it possible?
http://livedocs.dojotoolkit.org/dijit/TooltipDialog
http://mail.dojotoolkit.org/pipermail/dojo-interest/2011-May/054581.html
这篇关于如何设置Dojo对话框打开的位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!