Domanda

Is there any way by which i can disable the count 2 of 3 images, disabling the play and pause as well as the timer animation that runs on top right. Currently the carousel is not set to auto play by default, how to change it? Insteading of hiding it by css why not just diable it and no extra html markup will be written as well..

È stato utile?

Soluzione

<ul data-orbit data-options="timer_speed:2500; bullets:false; timer_container_class: hide; timer_paused_class: hide; timer_progress_class: hide; slide_number_class: hide;">
  ...
</ul>

Pass the customizations in the data-options attribute. I've reset their classes to .hide, a display: none !important class.

this way, you dont modify the js or css and can go back to default by removing the customizations from data-options.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top