Hi there,
jQuery and jQuery UI are wonderful widgets. I begin learning to use them. So please help me with the accordion widget with the following additions with it:
1. The header of each accordion has a different background color. I know I can implement this by inline style with each anchor element or with different ids and a style file, which one is preferred with jQuery UI?
2. Prompt for a new header string when an accordion is clicked first time with a default heading. These heading can be, such as, Person A, Person B, .... When accordion with header "Person B" is clicked first time, ask entering a string as its new header. Then a button comes along with the new header which can be used to change heading again when clicks
3. A button is used to expand the accordion flat which flatten the accordion with header1 , panel content1 , heading 2, content2,.... When flattened, the headers keep different background colors. When the button is clicked again after flattened, it's toggled back to normal accordion.
Thanks so much for so great thing here,