Toggle Opened from anchor external link - by JoaoSantos

This topic has 4 replies, 3 voices, and was last updated 8 years, 1 months ago ago by Robert Hall

  • Avatar: JoaoSantos
    JoaoSantos
    Participant
    October 20, 2016 at 17:26

    Hello,

    I have a faq’s page and I want the user to be able to click on a link from another page and then he is redirected to the faq’s page and open a specific toggle from that link.

    So for example:

    I have a link on the Home page:

    <href=”#anchor1″>

    And the Faq’s Page looks like this:

    Question 1 = <id=”anchor1″>
    Question 2 = <id=”anchor2″>
    Question 3 = <id=”anchor3″>
    Question 4 = <id=”anchor4″>

    All with closed state. If the user clicks on the link from the home page I want to open the Faq’s page and open the “Question 1″

    I hope that this is not too much confusing.

    I’m trying to insert a RawJs row with the script:

    `<script type=”text/javascript”>
    (function($){
    $(window).load(function(){
    var et_hash = window.location.hash;
    if(window.location.hash) {
    $( ‘.toggle-title’ + et_hash )
    .addClass(‘toggle-title opened’)
    }
    });
    })(jQuery)
    </script>

    Is this going to work?

    My website is still offline so I can’t give you credentials.

    Best Regards,
    João Santos

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 20, 2016 at 19:06

    Hello,

    Sorry, but such query requires additional customization which is beyond our basic support scope. You can contact our customization service https://www.8theme.com/customization-services/ regarding your issue.

    Regards,
    Eva Kemp.

    Avatar: JoaoSantos
    JoaoSantos
    Participant
    October 24, 2016 at 11:08

    Hello,

    Thanks anyway.

    One other question. I am trying building a website with the side menu header but I found some limitations.

    1. Is it possible to insert in the side header the Top Bar like in the other headers options?

    2. Is it possible somehow to insert social icons in the end of the menu?

    Best Regards,
    João Santos

    Avatar: Robert Hall
    Robert Hall
    Support staff
    October 24, 2016 at 11:32

    Hello,

    Unfortunately we don’t have such feature in our theme.
    Also we’ll send this request to our developers.

    Regards,
    Robert Hall

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.