I am using BasicDialog for my web application and I want to set the draggle area of the dialog to be only one ContentPanel. But now dialog can drag through all ower the page. Can some please suggest any solution for this problem.
Thanks in advance
Milinda
Thanks in advance
Milinda

|
#2
|
|
hi milinda,
take a look at this http://www.yui-ext.com/forum/viewtopic.php?t=3828 for using it include new basicdialog.js after ext-all.js and set the parent option of your dialog to content panels element with this code parent : CONTENTPANEL.el ![]() |
限制BasicDialog拖拽范围
本文探讨了如何在使用BasicDialog组件时仅限于特定ContentPanel内进行拖拽操作的方法。作者希望避免对话框在整个页面范围内拖动,而是将其限制在一个指定的区域内。文中提供了一个解决方案链接,并给出了具体实现代码。
1万+

被折叠的 条评论
为什么被折叠?



