DominiqueW
(Dominique Williams)
July 26, 2019, 2:30pm
1
Need help ASAP!
I’m using the below technique from @samliew :
http://webflow-tricks.webflow.io/how-to-add-prev-next-buttons-to-tab-component
To add Prev + Next buttons to a tabs component, however I need to put the buttons inside another div
Because it’s no longer a direct child of “inner-tab-wrapper” it doesn’t work, is there a way to get it to still connect to the buttons that are nested?
my read only:
https://preview.webflow.com/preview/new-venture-3?utm_medium=preview_link&utm_source=designer&utm_content=new-venture-3&preview=9216761bb107c0079c5f2802c53048cc&pageId=5d3b09509c3afa4a9683b86a&mode=preview
Note: I’ve messaged on the associated thread but Sam’s website says his schedule is full and I need help ASAP
sam-g
(Sam G.)
July 26, 2019, 2:45pm
2
Can you describe with screenshots which tab element(s) you are trying to page through with the arrows?
DominiqueW
(Dominique Williams)
July 26, 2019, 3:24pm
4
@sam-g I was able to get a solution! Thanks so much for responding I really appreciate it
From @sabanna "Based on your project’s structure,
I would try adding 2 more parameters parent(). in this line
"
sam-g
(Sam G.)
July 26, 2019, 3:27pm
5
Great, glad you got it worked out
I was just about to take a look at the code, but yes, essentially you needed to traverse the DOM a little bit differently than the original code since you had changed the structure, nice work @sabanna