jsjq-flod-onlyone
代码说明:
多组处理,仅展开一个区块的折叠效果(原生Js和jQuery版),俗称“手风琴菜单”,习惯叫做折叠菜单,一个页面中布置了多组菜单,部分代码释义如下: var navItem=iBase.Id(‘demo‘).getElementsByTagName(‘h2‘) //此处将jQ区块中的h2也取到了,所以页面会有个小小的错误 (Multiple sets of treatment, only one block to start folding effect (native Js and jQuery version), commonly known as accordion menus , used to be called folding menu, a page layout of the multiple sets of menus, the interpretation of the code is as follows: var navItem = iBase.Id ( demo ) getElementsByTagName ( h2 ) . // Here jQ block will also take to the h2, so the page will have a small mistake)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!