|
Mootools - Trying to use Accordion in tandem with Request.html
Hello!
I'm a newbie to Mootools but have really enjoyed working with it so far.
I'm working on a page that uses Request.Html to gather contents of a div. The contents in one of the divs uses according for expanding sections of the text. However, it seems that it's not working together. I know on the demo, Mootools has:
"If we had things inside this HTML that needed some MooTools love (the sort of things that go inside the domready event), we would have to call our scripts' attention to this code manually."
I'm pretty sure this is where the problem lies. Of course the accordion javascript code works in the domready. How would one go about "calling our scripts' attention to this code manually"? I've tried adding the Accordion code to the Request.Html code to see if the two files were conflicting, but it didn't work.
Any help would be MUCHLY appreciated! Thank you!
|