Skip to content

Instantly share code, notes, and snippets.

View kordianbruck's full-sized avatar
🌴
Petting the cats!

Kordian Bruck kordianbruck

🌴
Petting the cats!
View GitHub Profile
### Keybase proof
I hereby claim:
* I am kordianbruck on github.
* I am kordianbruck (https://keybase.io/kordianbruck) on keybase.
* I have a public key whose fingerprint is D05A C6B1 3C78 B682 C9C6 6B95 E40C A992 051D D7E3
To claim this, I am signing this object:
@kordianbruck
kordianbruck / epanel-integration-body.html
Last active July 19, 2022 07:50 — forked from lots0logs/epanel-integration-body.html
WordPress :: Divi Theme :: Scroll-To Anchor Inside Tab Module
<script>
//Add an CSS ID to the tab module: myTabs
//Link to the page and add: #myTabs|<tabnumbertoopen>
(function($) {
$(window).load(function() {
setTimeout(function() {
var tabsId = window.location.hash.split(/\|/), tab = $(tabsId[0]).find('.et_pb_tabs_controls .et_pb_tab_'+tabsId[1]);
if (tabsId.length && tab.length) {
tab.find('a').trigger('click');
et_pb_smooth_scroll($(tabsId[0]), false, 800, 'linear');