Login Register

where can I get the CollapsiblePane widget

[editor: moving to the appropriate forum…]

in a register form, I want some advance information folded at first. When user choose to fill this part it can be expanded. Just like the "Categories" in the dojo Submit Forum topic page and "Advanced search" in the dojo Search page. I checked the source code and find it's a CollapsiblePane in the package drupal.layout. Where can I get this package and its API or can original dojo version can realise this?

thanks

-Andre

dijit.titlepane maybe what

dijit.titlepane maybe what you are after
--
http://www.liucougar.net
生于忧患,死于安乐
"People's characters are strengthened through struggle against difficulties; they are weakened by comfort."
- Old Chinese adage

劳驾

不是的不是的,dijit.TitlePane太“重量级”了,我希望比较轻量级一些的效果。
在我的表单里,如果用户选择了“高级信息”的radioButton,那么自这个radioButton以下自动展开“高级信息”部分的表单内容。如果这里放一个TitlePane的话。。。不是很和谐。

现成的例子在我上面的帖子中提到了,是一个什么叫drupal.layout的包。控件就叫CollapsiblePane,我在哪里可以找到这个控件呢?还是从dojo的网站上往下扒代码?

劳驾Liu Cougar指点指点

--Andre Liu

in that case, you may just

in that case, you may just want to grab the source from that drupal.layout module (I think it may just use another dijit internally, but I may well be wrong)

btw: use english here please, otherwise others won't understand

--
http://www.liucougar.net
生于忧患,死于安乐
"People's characters are strengthened through struggle against difficulties; they are weakened by comfort."
- Old Chinese adage