javascript - jquery accordion not displaying arrow or plus/minus -
Trying to implement jquery accordion in your page, accordion works only but it's arrow or plus / minus The sign does not show that my code is as follows:
& lt; Link rel = "stylesheet" href = "/ css / jquery-ui-1.10.4.css" type = "text / css" /> & Lt; Script type = "text / javascript" src = '/ js / jquery-ui-1.10.4.min.js' & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = '/ js / jquery-2.1.1.min.js' & gt; & Lt; / Script & gt; $ (Function () {var icons = {header: "ui-icon-circle-arrow-e", active header: "ui-icon-circle-arrow-s"}; $ ("# accordion"). ); Icon: icon;}); & Lt; div id = "accordion" & gt; & Lt; H3 & gt; Tab 1 & lt; / H3 & gt; & Lt; Div & gt; Tab 1 content & lt; / Div & gt; & Lt; H3 & gt; Tab 2 & lt; / H3 & gt; & Lt; Div & gt; Tab 2 content & lt; / Div & gt; & Lt; / Div & gt; I found a lot of examples through the web, but nothing seems to correct my problem. Any help would be appreciated.
Follow the code explanation:
// 1 - initialize Accordion $ ("# accordion"). Accordion (); // Set the Anderian Header Option $ ("#Auderean"). Aadrian ("option", "icon", {'header': 'ui-icon-circle-arrow-e', 'header selected': 'ui-icon-crink-arrow-s'}); Demo here:
Comments
Post a Comment