Issue #2102Opened June 27, 2019by Amir28280 reactions

Views Quesion

Question

Hello All,

My question this time is, I added a new view which contains an image gallery and I would like to make it act like any other view. to be specific:

  1. change to active on click and show content of view while active.
  2. while other views are active hide my views content and change the button Css to not active.

so far I tried to add the classes manually by getting the item and using addClass or by Js selectors but It works for half a second and then crashes on the reason of undefined.

Any help will be appreciated .

Answers (1)

Amir2828July 1, 20190 reactions

I dont know if there is a proper way to do it. I eventually managed to create this such a behavior by plain JS.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.