how to add yui's gallery-node-accordion to moodle 2.7

how to add yui's gallery-node-accordion to moodle 2.7

by Sandeep Bh -
Number of replies: 0

Hi everyone,

I tried to add gallery-node-accordion (http://yuilibrary.com/gallery-archive/gallery/show/node-accordion.html) yui module to the moodle's yui gallery located at /lib/yuilib/gallery/ (moodle version 2.7)

In order to use the node-accordion I had to initiate it by using Y.one("#myaccordion").plug(Y.Plugin.NodeAccordion); but getting an error that Y.Plugin.NodeAccordion is undefined. Is there some setup/update that I need to do before using it? 

Thanks in advance.


Average of ratings: -