1
내 DNN 7.02 웹 사이트 (dnnAlert는 일반 DNN 설치에 포함 된 dnnAlert의 jQuery UI 플러그인 임)에서 dnnAlert를 사용하고 있습니다. OK 버튼을 클릭하면 페이지가 자동으로 상단으로 스크롤되며 이는 매우 성가신 일입니다.OK 버튼을 클릭하면 dnnAlert가 페이지 상단으로 스크롤됩니다.
자동 스크롤을 방지하려면 어떻게해야합니까?
$.dnnAlert({
text: 'Copied code to clipboard',
dialogClass: 'dnnFormPopup',
title: 'Copy Successful',
modal:false
});
확인 버튼은 다음 html로 렌더링됩니다.
<button class="dnnPrimaryAction" type="button">Ok</button>