Accordion does not display icons, irrespective of browser.
I have tried using: icons: true
icons: { "header": "ui-icon-plus", "activeHeader": "ui-icon-minus" } and other forms of this parameter.
Using Firebug to inspect the active-inactive styles I can see the icon master png so I am fairly certain the image file is loading.
I have linked the style and the chosen theme appears to look correct, at least the colours are correct.
I have a reference to the two script files jquery-2.0.3.js and jquery-ui-1.10.3.js so the accordion behaves as expected that is: collapse-retracts when clicked.
A partial copy of the view mark-up is:
@using (Html.BeginForm())
{
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<div id="accordion">
<h3>This section is required</h3>
<div>
@Html.LabelFor(expression: m => m.UserName)
@Html.TextBoxFor(m => m.UserName)
@Html.ValidationMessageFor(m => m.UserName)
@Html.LabelFor(m => m.Email)
@Html.TextBoxFor(m => m.Email)
@Html.ValidationMessageFor(m => m.Email)
@Html.LabelFor(m => m.Password)
@Html.PasswordFor(m => m.Password)
@Html.ValidationMessageFor(m => m.Password)
@Html.LabelFor(m => m.ConfirmPassword)
@Html.PasswordFor(m => m.ConfirmPassword)
@Html.ValidationMessageFor(m => m.ConfirmPassword)
</div>
<h3>Add contact information now?</h3>
<div>
@Html.Partial(partialViewName: "_Contact")
</div>
<h3>Company Information</h3>
<div>
@Html.Partial(partialViewName: "_Company")
</div>
</div>
<p style="clear: both">
<input type="submit" value="Register" />
</p>
}
I have also tried removing the form element and associated AntiForgeryToken and ValidationSummary with no change in the accordion appearance. I also have tried adding <p></p> elements to wrap the HtmlHelpers with no effect.
Any ideas would be helpful. This could relate to a problem I am having with height issues in the next post.