How To Create Hide and Reveal Content With jQuery And Divi? | (Menus, Tabs, Accordions and more)

  Рет қаралды 4,231

Divi Mobi First

Divi Mobi First

Күн бұрын

Пікірлер: 17
@dylannjohn6984
@dylannjohn6984 Жыл бұрын
Wow. I learned a lot from this video. Well structured. Thank you.
@divimobifirst4825
@divimobifirst4825 Жыл бұрын
Glad it was helpful!
@UCb4Ggzu9wRDFtEsRPnAW9lg
@UCb4Ggzu9wRDFtEsRPnAW9lg Жыл бұрын
Very good. I loved this content. I'm from Brazil and gained a follower from here
@skeptimedia1093
@skeptimedia1093 2 ай бұрын
thank you so very much. where are you guys. no more videos or updates anymore???
@nickfrets7437
@nickfrets7437 11 ай бұрын
Great video and very well explained,. Thank you
@sharjeelkhan4132
@sharjeelkhan4132 6 ай бұрын
Hi, Thank you so much for this tutorial. I have a question, is there any way to set our sections to auto collapse and expand if not clicked and triggered? I don't want it to use for FAQ but something would fit perfectly with this module.
@nikhlede6438
@nikhlede6438 9 ай бұрын
Thanks for the great video and wonderful explanation. I have a follow up question though. Is it possible to change the action required from "click" to "hover", as in, the content on the right side being shown when the blurb on the left is being hovered over instead of the user clicking on it being required?
@SolarMagzn
@SolarMagzn 11 ай бұрын
Thank you very much! Can it be somehow reversed, so the content on the right stays hidden until its clicked? Thank you in advance!
@facundomanzi
@facundomanzi Жыл бұрын
Thank you so much for the intructive !!!! I love it! I copied the steps perfectly but in the right section I would like to put a section of 1 column. So in that section of 1 column I can put a blog module and so filter by category. But when I change from 2 columns to 1 column the filter does not work anymore. What am I doing wrong and what can I do?
@ideaplusagency
@ideaplusagency 9 ай бұрын
Same issue!!Doesnt work with 1 column
@himanshukhoriwal
@himanshukhoriwal Жыл бұрын
Really Awesome Video I must Say...Thanks a lot for Code and Beautiful Explaination...😍😍😍😍 I also have one Question...What to do if I want to show the Animated GIF on left hand side below the Blurbs ....is that possible ? If yes then How ?....It would be great help if addressed.....thanking you in advance...😊😊😊
@AwaisMalik-yv3du
@AwaisMalik-yv3du Жыл бұрын
How to keep the current tab active on page reload?
@divimobifirst4825
@divimobifirst4825 Жыл бұрын
//To keep the tab active and its content visible after a page refresh, you need to save the state of the active tab somewhere. One common way to do this is to use the browser's local storage. Add the following line of code inside the click function. localStorage.setItem("activeTab", id); // Then add the following code inside the $(document).ready(function($){ code block to retrieve the setItem from the local storage when the page reloads. let activeTab = localStorage.getItem("activeTab"); if (activeTab) { hideAll(); $("#content-" + activeTab).removeClass("hide"); $("#subtitle-" + activeTab).removeClass("hide"); $("#trigger-" + activeTab).addClass("rotate"); $("#trigger-" + activeTab).addClass("active"); } // Let me know if this worked for you
@AwaisMalik-yv3du
@AwaisMalik-yv3du Жыл бұрын
@@divimobifirst4825 thank you for replying.i already solve my problem with this code (function($) { $(document).ready(function($) { // Add the "rotate" and "active" classes to the first tab by default $("#jtrigger-1").addClass("rotate"); $("#jtrigger-1").addClass("active"); $("#jcontent-1").removeClass("hide"); $("#jsubtitle-1").removeClass("hide"); $("[id^=jtrigger]").click(function() { jhideAll(); let jid = $(this).attr("id").replace("jtrigger-", ""); $("#jcontent-" + jid).toggleClass("hide"); $("#jsubtitle-" + jid).toggleClass("hide"); $(this).addClass("rotate"); $(this).addClass("active"); }); //hide all rows function jhideAll() { $("[id^=jcontent]").each(function() { $(this).addClass("hide"); }); $("[id^=jsubtitle]").each(function() { $(this).addClass("hide"); }); $("[id^=jtrigger]").each(function() { $(this).removeClass("rotate"); $(this).removeClass("active"); }); } }); })(jQuery);
@talha_Malik786
@talha_Malik786 6 ай бұрын
amazing but can you tell me , like what if we wanted to create this in horizontal way?
@alisharibrahman
@alisharibrahman 2 ай бұрын
When i write hideall function its not working
@softtechcafe
@softtechcafe 6 ай бұрын
its doesn't work from the start
Divi "Read More" Button with jQuery - Reveal a Hidden Section on Click
12:55
Ania Romańska (Divi Lover)
Рет қаралды 4,7 М.
Divi Secrets Unveiled: Free-Form Custom CSS Tabs Added
13:28
System 22 Web Design | Divi Theme Elementor WP
Рет қаралды 1,2 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 16 МЛН
Ouch.. 🤕⚽️
00:25
Celine Dept
Рет қаралды 26 МЛН
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 12 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 43 МЛН
How to Create a Divi Carousel WITHOUT a Plugin 🔥😮
27:39
Divi Life
Рет қаралды 33 М.
Toggle Sections and Rows with Button Modules // Divi Tutorial
14:30
Michelle Schneider
Рет қаралды 7 М.
Master CSS positions in 20 minutes - Learn element positioning in CSS
19:34
How To Expand And Collapse Text In Divi (Like A Read More Toggle)
10:28
Pee-Aye Creative
Рет қаралды 20 М.
Think Fast, Talk Smart: Communication Techniques
58:20
Stanford Graduate School of Business
Рет қаралды 41 МЛН
Learn CSS Grid the easy way
37:04
Kevin Powell
Рет қаралды 922 М.
How to Create Custom Tabs with Icons using Blurbs in Divi Theme
24:48
Ania Romańska (Divi Lover)
Рет қаралды 55 М.
How To Make A Tabbed Divi Blog Grid By Category
15:30
Pee-Aye Creative
Рет қаралды 5 М.
Divi Flexbox
8:19
SiteKrafter
Рет қаралды 9 М.
Когда отец одевает ребёнка @JaySharon
00:16
История одного вокалиста
Рет қаралды 16 МЛН