Mootools - Trying to use Accordion in tandem with Request.html
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."
Any help would be MUCHLY appreciated! Thank you!
Just a bump to see if anyone can give me a hint...
when you request request.html is there a option for callback? like onComplete or such?
I don't know anything about mootools.
What you need to do is call the according function after the request has been made.
Hey, thanks for your reply!
This site helped me out a ton:
I was able to figure it out by altering the code to do update: instead of onSuccess.
|All times are GMT +1. The time now is 12:54 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.