0
나는 관리자 메뉴에서 wordpress 포인터를 사용하고 싶다. 문제는 포인터의 위치입니다. 내가 페이지, 메뉴 고정 스크롤하지만, 포인터 상단에 갈 때 (절대) 내 코드 : 관리자 페이지의 처음에워드 프레스 관리 포인터 (투어)의 위치를 고정하는 방법
:
페이지의 끝에서wp_enqueue_style('wp-pointer');
wp_enqueue_script('wp-pointer');
:
<script type="text/javascript">
jQuery(document).ready(function($) {
$('li#toplevel_page_mymenu_admin_page').pointer({
content: 'test_message',
position: {
edge: 'top',
align: 'center',
},
close: function() {
}
}).pointer('open');
});
</script>