How to insert Accordion open function in standard HTML link (HREF)

0
How to insert Accordion open function in standard HTML link (HREF) 1
d.sign
Sep 08, 2017 08:50 PM 1 Answers General
Member Since Sep 2017
Subscribed Subscribe Not subscribe
Flag(0)

Hi,
I would like to add the functionality of open and close accordions to an standard text link. I have an accordion on my site and above of this is a text placed.
I would like to insert links in this text which make the viewpoint jump to the respective accordion content and open it. I tried by setting ankers inside the accordion content but this moves only the viewpoint. Though of something like <href onclick=""> ...

Can anybody give me hint how to solve this?

Daniel

2 Subscribers
How to insert Accordion open function in standard HTML link (HREF) 1
How to insert Accordion open function in standard HTML link (HREF) 3
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
How to insert Accordion open function in standard HTML link (HREF) 4
PickPlugins
Sep 08, 2017
Flag(0)

Welcome to our forum.

The feature you are looking for may not available right now, there is a feature open accordion via url parametere on page load, please see the demo here

http://pickplugins.com/demo/accordions/open-via-url-parameter/?id=2#ui-id-5

Regards

How to insert Accordion open function in standard HTML link (HREF) 5
PickPlugins
- Sep 09, 2017 09:43 AM
Flag (0)
0

This feature only available in premium version, please see the features details here https://pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/

Regards

How to insert Accordion open function in standard HTML link (HREF) 6
d.sign
- Sep 08, 2017 11:46 PM
Flag (0)
0

THX for the quick response

This is the functionality I am looking for. But I am not sure how to make it work. Do I have to at the script ?:
<script>
jQuery(document).ready(function($){

$("#accordions-127.accordions").accordion({
event: "focusin",
collapsible: true,
heightStyle: "content",
animate: "swing",
navigation: true,
active: 999999,changestart: function(event, ui) {
child.accordion("activate", false);
}
});

var child = $(".child-accordion").accordion({
active:true,heightStyle: "content",
collapsible: true,
animated: "swing",

});
})</script>

And, second question, if I add it to my page, does the "normal" functionality still work too?

Daniel

Sign in to Reply
Replying as Submit