Timeline open by default in touch | Community
Skip to main content
Level 2
March 27, 2019
Solved

Timeline open by default in touch

  • March 27, 2019
  • 1 reply
  • 686 views

In the touch interface is there any way to set the 'Timeline' views as open by default?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

Do you wanna show like below:

This can be done using javascript/jquery.

e.g. I ran below javascript just to try document.ready function, works for me.

I used selector just to test not for actual development, you can be specific when use selectors.

$( document ).ready(function() {

    console.log( "ready!" );

    timeFunction();

    function timeFunction() {

            setTimeout(function(){

                $("#coral-id-0").click();

                $("#coral-id-1 > coral-selectlist-item:nth-child(2)").click();

                }, 700);

         }

});

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
March 27, 2019

Hi,

Do you wanna show like below:

This can be done using javascript/jquery.

e.g. I ran below javascript just to try document.ready function, works for me.

I used selector just to test not for actual development, you can be specific when use selectors.

$( document ).ready(function() {

    console.log( "ready!" );

    timeFunction();

    function timeFunction() {

            setTimeout(function(){

                $("#coral-id-0").click();

                $("#coral-id-1 > coral-selectlist-item:nth-child(2)").click();

                }, 700);

         }

});

Arun Patidar