【发布时间】:2012-02-09 16:10:09
【问题描述】:
我用这个例子在我的网站上隐藏和显示了一些 div:
http://papermashup.com/simple-jquery-showhide-div/
我将如何使用 Prototype/Scriptaculous 编写它?正如我所见,它们也有显示和隐藏方法?
感谢您的帮助:)
【问题讨论】:
标签: jquery html prototypejs scriptaculous
我用这个例子在我的网站上隐藏和显示了一些 div:
http://papermashup.com/simple-jquery-showhide-div/
我将如何使用 Prototype/Scriptaculous 编写它?正如我所见,它们也有显示和隐藏方法?
感谢您的帮助:)
【问题讨论】:
标签: jquery html prototypejs scriptaculous
$('button_id').observe('click', function() {
Effect.toggle('div_id', 'blind');
});
【讨论】: