jQuery Accordion populated by XML file, how?
I'm pulling my hair out here! Is there a tutorial or snippets to enable me to create an accordion that is powered/populated by an XML file?
Currently my XML file is loaded ok, but every entry appears in a single accordion header.. obviously I need each XML chunk in a different accordion thingy..
My head hurts!
update:
<forces>
<force>
<region>ACPO London Region></region>
<nam开发者_开发问答e>City of London Police</name>
<url>cityoflondon.police.uk</url>
<address>37 Wood Street London EC2P 2NQ</address>
<phone>020 7601 2455</phone>
<logo>logo_city.gif</logo>
</force>
...
<forces>
I just wrote this tool last night that may help you. I know it's been many months since you had this problem but let me know what you think! It may be helpful now.
http://lytsp33d.com/xml-to-jquery-accordion/
Best regards,
Zach
精彩评论