snorri
Newbie
- Jun 26, 2014
- 37
- 52
Hi guys!
I need help with this code below. I got 6 blocks like that, and every time someone clicks on this image, it expands and shows the post and I also want it to scroll the page back to the top. But I'm not sure if that's possible. Link to the addon demo
I can't add any id to the image itself.
I'm like 51% sure that it can't be done, but I'd like to hear it from someone with experience in HTML/JS.
I appreciate any help.
I need help with this code below. I got 6 blocks like that, and every time someone clicks on this image, it expands and shows the post and I also want it to scroll the page back to the top. But I'm not sure if that's possible. Link to the addon demo
https://crocoblock.com/widgets/tabs/
I can't add any id to the image itself.
HTML:
<div id="iCanOnlyAddIdHere" class="jet-tabs__control jet-tabs__control-icon-left elementor-menu-anchor active-tab" data-tab="1" tabindex="1181" role="tab" aria-controls="jet-tabs-content-1181" aria-expanded="true" data-template-id="731">
<div class="jet-tabs__control-inner">
<img class="jet-tabs__label-image" src="https://demo.com/wp-content/uploads/2020/07/oksf.png" alt="">
</div>
</div>
I'm like 51% sure that it can't be done, but I'd like to hear it from someone with experience in HTML/JS.
I appreciate any help.