1번째 줄: | 1번째 줄: | ||
$(".body ul:first").append('<li id="n-portal2"><a href= | $(".body ul:first").append('<li id="n-portal2"><span id="bottom-button"><a href=/wiki/특수:내사용자문서/작업장" title="문서를 맨 아래로 내리기">weff</a></span></li>'); | ||
$("#bottom-button").click(function(){ | $("#bottom-button").click(function(){ | ||
$('html, body').scrollTop( $(document).height() ); | $('html, body').scrollTop( $(document).height() ); | ||
}); | }); |
2020년 7월 29일 (수) 13:30 판
$(".body ul:first").append('<li id="n-portal2"><span id="bottom-button"><a href=/wiki/특수:내사용자문서/작업장" title="문서를 맨 아래로 내리기">weff</a></span></li>'); $("#bottom-button").click(function(){ $('html, body').scrollTop( $(document).height() ); });