• Resolved dlx

    (@deeluuxe)


    Hello!

    I use the accordion as a help for a booking system. The accordion is placed in a flyout on the page. To help the users I placed links in the content of the pages that open the flyout. It would be perfect if the accordion could open an item that′s specified in the link. Do you think it would be possible to open the flyout and an item of the accordion in a link – maybe using JS?

    Best regards,
    Jan

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ShapedPlugin LLC

    (@shapedplugin)

    Hi @deeluuxe,

    Sorry for the late reply.

    After going through your message, we did not clearly understand what do you want to achieve. If you explain your requirements to us through the screenshot by marking it or visual concept then it would be really helpful for us to support you.

    For fast support, you can use our support forum.

    Have a great day!

    Thanking you.

    Thread Starter dlx

    (@deeluuxe)

    Hi @shapedplugin,

    I probably overcomplicated it, sorry.

    Normally you open an entry of the accordion by clicking on the plus symbol. I would like to be able to open entries directly by placing links in the text of the website. Then a user could easily activate the appropriate help (i.e. a certain entry of the accordion) while reading the text.

    Example: Text link 1 opens entry no. 1 of the accordion, text link 2 opens entry no. 2 of the accordion, etc..

    Do you think this is possible?

    Best regards,
    Jan

    Plugin Author ShapedPlugin LLC

    (@shapedplugin)

    Hi, @deeluuxe

    Thank you for the explanation.

    Suppose you have an item like How to do B? and wanted to add the link of this particular accordion-item somewhere in your site. You can do it simply. Each accordion-item has a particular ID, you will find that by inspecting the accordion. To inspect you have to drag your mouse to any accordion-item then right-click on mouse then click on inspect and you will see a window added on the screen. Then you will find markup like
    “data-sptarget=”#collapse1302″”

    What you have to do is add this #collapse1302 id after your domain/page ID/#collapse1302.
    Let me show you. Check the video.

    I hope this helps you.

    Have a great day!

    Thanking you.

    Thread Starter dlx

    (@deeluuxe)

    Thank you very much for your effort to even make a video for this!

    Unfortunately it does not work for me. The link to the accordion entry is also not on another page but on the same page where the accordion is placed. When I create a text link to #collapse1302, the page scrolls to the correct accordion entry, but it does not open. Probably I would have to integrate a JavaScript, which rewrites the class of the corresponding entry.

    Thanks a lot anyway!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Link to open content item’ is closed to new replies.