This was really helpful; now, I only need to know how to customize it and add eternal content. Let me picture that for you:
I'm making some kind of restaurant menu to work on mobile devices. In it, there should be tabs to separate categories, and in this tabs, there's dynamic content coming from a XML file, loaded into divs and imgs. Using the solution provided by you, can I customize it so it attends my demands?
Here is a sample on how to use yepnope and also the ui for the accordion this time.
As far as loading anything, I do not see why not.
I have not used xml but I have used json. This would probably work too.
Here is a link on how to use json: