"사용자:Gomdoli/vector.js"의 두 판 사이의 차이

이 문서는 2020년 10월 27일 (화) 18:49에 마지막으로 편집되었습니다.
< 사용자:Gomdoli
(새 문서: jQuery(document).ready(function($) { // 검색창 이동 $(".mw-logo").attr('id','mw-logo'); document.getElementById("mw-logo").after(document.getElementById("p-search")); //...)
 
잔글 (GTX1060님이 사용자:Gomdoli4696/vector.js 문서를 사용자:Gomdoli/vector.js 문서로 이동했습니다: "Gomdoli4696" 사용자의 이름을 "Gomdoli"(으)로 바꿀 때 문서를 자동으로 이동했습니다)
 
(다른 사용자 한 명의 중간 판 12개는 보이지 않습니다)
1번째 줄: 1번째 줄:
jQuery(document).ready(function($) {
// 출처: 한위백의 [[사용자:메이/common.js]]
// 검색창 이동
$(".body ul:first").append('<li id="n-portal2"><a href="/wiki/사용자:Gomdoli4696/작업장" title="내 작업장">내 작업장</a></li>');
$(".mw-logo").attr('id','mw-logo');
$("#bottom-button").click(function(){
 
$('html, body').scrollTop( $(document).height() );
document.getElementById("mw-logo").after(document.getElementById("p-search"));
});
// 검색창 스타일 설정
//$(".suggestions").attr('id','suggestions');
document.getElementById("p-search").style.marginLeft = "1.2em";
document.getElementById("searchform").style.marginTop = "0";
//document.getElementById("searchInput").style.width = "150%";
//document.getElementById("suggestions").style.width = "150%";

2020년 10월 27일 (화) 18:49 기준 최신판

// 출처: 한위백의 [[사용자:메이/common.js]]
$(".body ul:first").append('<li id="n-portal2"><a href="/wiki/사용자:Gomdoli4696/작업장" title="내 작업장">내 작업장</a></li>');
$("#bottom-button").click(function(){
	$('html, body').scrollTop( $(document).height() );
});