如何设置Dojo对话框打开的位置? [英] How to set the location a Dojo Dialog opens at?

查看:321
本文介绍了如何设置Dojo对话框打开的位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Dojo对话框,当用户点击页面上的某个元素时,该对​​话框将被打开。



我想要控制它打开的位置....真的我想让它打开旁边的(相对于)另一个dom元素点击。



但是我似乎知道如何做上述任何一个。 >

感谢任何建议。

解决方案

我会在Dojo的工具提示 doc。我从未有过Dojo的经验,但这里有一些链接可以帮助您开始使用。



Dojo Dijit对话框的相对位置。是可能吗?



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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆