How to Open a Specific Elementor  Tab, Accordion or Toggle on Link Click

How to Open a Specific Elementor Tab, Accordion or Toggle on Link Click

Element How

3 года назад

27,088 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Muntz Design
Muntz Design - 05.10.2023 17:52

Did not work for me with toggle. I even used your code names.

Ответить
Mátyás Benes
Mátyás Benes - 05.09.2023 23:00

Thanks a lot!

Ответить
Oliver Hanert
Oliver Hanert - 10.08.2023 15:28

Thanks this worked! How can I add/change the string of the tab to the URL, when switching between tabs? Right now it keeps the string from the "original" URL that linked to a specific tab. Thanks!

Ответить
Bui Thuc Dong
Bui Thuc Dong - 09.06.2023 13:13

thanks for your share, now i have problem using polylang and in other language the above code doesn't work, i tried to replace window.location.href with window.location.pathname but still not working

Ответить
JulienStannusDesign
JulienStannusDesign - 12.05.2023 04:42

Hi, this doesn't seem to be working in Chrome for me but it is working in Firefox.

Ответить
Coded by V
Coded by V - 01.05.2023 08:51

Thank you very much, works great! I've tested it with the toggle element, and it's exactly what I needed!

Ответить
Vornicu Gabriel
Vornicu Gabriel - 18.03.2023 13:23

Hi, thank you for this video, I have a question, in slug it's show me an '=' after query, how can I remove it?

Ответить
TheTaurenable
TheTaurenable - 12.01.2023 17:23

I have 3 tabs in an acordion, but the script only works on the first two tabs of it. Who knows how to fix it?

Ответить
Mr Tango
Mr Tango - 19.10.2022 13:32

how do I get all of them opened?

Ответить
Anca Tesula
Anca Tesula - 10.10.2022 11:03

Thanks for the useful info! It works very good.

Ответить
Sayna Rose
Sayna Rose - 02.09.2022 12:04

Great video thanks :)

Ответить
Arthur Fleck -
Arthur Fleck - - 22.08.2022 13:22

Great tutorial, anybody knows how can i get this to work on the Elementor Gallery widget?

Ответить
Hakeem
Hakeem - 24.05.2022 17:51

I love it, it works, but is it possible to add an anchor to the code so it opens the tab you want and scrolls down to the anchor?

Ответить
Saute-Moutons Jet-Boating Montreal
Saute-Moutons Jet-Boating Montreal - 19.05.2022 18:01

Oh wow, you've been so helpful since we switched to Elementor - Did not know you were Québécois? I think I recognize the accent :)

Ответить
Chappy Strydom
Chappy Strydom - 03.05.2022 21:01

I've used this method before with great success but suddenly in a new site its not working. Only thing I can think of its running on a sub domain. Would that have an effect?

Ответить
fongdimbulator
fongdimbulator - 25.03.2022 04:19

Thanks for the useful info!
I'm trying to do it for tabs and am having a small issue: the URL will take the user down to where the tab is located which is good, but it won't open the correct tab automatically. It only opens the default first tab.
Perhaps it's because the site is using Jet Tabs...

Ответить
JasoBeam 777
JasoBeam 777 - 22.03.2022 12:36

Amazing! THank you!

Ответить
VITA W
VITA W - 05.01.2022 02:42

Hi, I'm trying to use the code for toggle and following every step, but it keeps mention 404 error, this page doesn't seem to exist.
It looks like the link pointing here was faulty. could you help me on it please?

Ответить
Julian Gomez Acevedo
Julian Gomez Acevedo - 17.12.2021 02:39

Thank you! It works perfectly

Ответить
Esam
Esam - 05.12.2021 14:06

Very good, Thanks! But how to make the page scroll to that element or to a specific section by URL link? Ill appreciate if you reply!

Ответить