jQuery(document).ready(function() {
var zn_hash_url = document.location.toString();
if (zn_hash_url.match('#')) {
jQuery('.tabbable a[data-toggle="tab"][href="#'+zn_hash_url.split('#')[1]+'"]').tab('show');
$('html, body').animate({scrollTop:0}, 'slow');
}
});
Open tabs with anchor links : https://my.hogash.com/documentation/open-tabs-with-anchor-links/
- STR > Biz > Tab 메뉴
- Kallyas Theme
'WordPress > Theme' 카테고리의 다른 글
Newspaper Theme Document (0) | 2021.01.20 |
---|---|
[Wordpress] Kallyas Theme - Hide Header & Footer (1 page only) (0) | 2018.10.08 |
[Wordpress] Avada Theme - 아바다 테마 아이콘이 깨질 때 (0) | 2018.02.21 |
[Wordpress] Kallyas Theme - 화면 스크롤이 되지 않을 때 (0) | 2018.01.13 |
[Wordpress] Folie Theme - Codeless Builder 모바일 sticky 메뉴 css (0) | 2017.12.19 |