[SOLVED] Adding Widgets to a Header in an Accordion
What I would like to do is have my accordion headers include a progress bar and maybe another label. So the idea would be like this:
- Header 1 =====----- Label 1
Header 2 ==-------- Label 2
I've seen techniques to add images to headers like this:
- <div data-role="header">
- <div id="header1_progress" ></div>
- <h3>Header 1</h3>
- </div>
- <div>Header 1 Content</div>
Is this the correct way to approach this problem? It feels a little hacky because the documentation mentions that the content div must follow the header immediately for the accordion to work right. This seems to work right, but I wanted to see if it was the wrong approach. Thanks!