• Resolved Ivo

    (@ivokruchten)


    Hi all,

    is it possible to link to a section inside a popup?
    So the popup is shown with textual content and then slide to a certain section of that text?

    thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @ivokruchten,

    Apologize for the inconvenience and for a delayed response!

    I assume that you would like to trigger a popup from a popup and closing it on the click too. If that is the case, I would suggest you to use the following custom script.

    <script>
    (function() {
    DiviArea.addAction(‘ready’, function() {
    var area1 = DiviArea.getArea(‘#popup1’);
    var area2 = DiviArea.getArea(‘#popup2’);

    area1.get(‘a’).click(function() {
    area1.hide();
    area2.show();
    return false;
    })
    });
    })();
    </script>

    Feel free to get back to me, in-case of any query.


    Regards,
    Syed

    Thread Starter Ivo

    (@ivokruchten)

    Hi Syed,

    apologizing for not getting back to you sooner, seems the notification mail got lost.
    Thank you for your comment.

    Meanwhile we just accepted that we can’t go to a anchorlink inside a popup and designed the page in an other way. We haven’t checked your solution, sorry, so I don’t know if it worked.

    Our initial question has been solved so I’ll close this topic,
    Thanks again!
    regards,
    Ivo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘link to a section inside a popup’ is closed to new replies.