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

Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
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
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
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://www.pickplugins.com/demo/accordions/open-via-url-parameter/?id=2#ui-id-5

Regards

PickPlugins
- Sep 09, 2017 09:43 AM
Flag (0)
0

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

Regards

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

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets