I have created an addresser on my page and I would like to get some hyperlinked text within each of those panels.
When you click on the 'Reduce Text' link, it must collapse the orderment.
How can this be done by editing the existing code I use?
The fact is, the header: ".menuitem"}); Var hash = window.location.hash; Var anchor = $ ('a [href $ =' hash + ']'); if (anchor lang> gt; {{anchor.click ();}});
item 1 & lt A & gt; & lt; / div & gt; & lt; h3 class = "menuitem" & gt; Item 1 & lt; / h3 & gt; & lt; div & gt; & lt; p & gt; Blow Blah & lt; / p & gt; & lt; a href = "#" & gt; reduce the text & lt; / a & gt; & lt; / div & gt; & lt; div id = "accordion" & Gt; item 1 gt; & lt; p & gt; blah blah blah & lt; / p & gt; & lt; Lt; a href = "#" & gt; reduce the text & lt; / a & gt;
JS Friedal:
I hope that I have understood well and the question is understandable.
Thank you
I added a click event to the anchor element, its related Close the Asean item:
$ (function () {$ ("#accordion") .accordion ({active: false, collapsible: true, heightStyle: "content", navigation: True, Header: ". Menuuitem "}); var hash = window.location.hash; var anchor = $ ('a [href =' '+ hash +'] '); if (anchor lang> gt;) {anchor.click ( ('Click', '.ui-accordion-content a', function () {$ ("# accordion"). (Click on 'click', ' .ui-accordion-content .reduce ', function () {// edit $ (This) .Parent (). SlideToggle ();});});
Comments
Post a Comment