간단한 팝업 창 생성 jQuery (1)
링크를 클릭하면 팝업 창이 뜨는 jQuery 코드입니다. 상황에 따라 다양하게 응용이 가능할 것 같습니다. 여러 가지 코드를 테스트해봤는데,...
링크를 클릭하면 팝업 창이 뜨는 jQuery 코드입니다. 상황에 따라 다양하게 응용이 가능할 것 같습니다. 여러 가지 코드를 테스트해봤는데,...
클릭하면 숨겨졌던 요소가 슬라이드로 표시되는 기본적인 jQuery 샘플입니다. 예제: <head> <style> #side{ float:right; width:50px; height:50px; background: #428D9B; }...
$("#test").hide() ID가 "test"인 요소를 숨깁니다. 예제: <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("#test").hide(); }); }); </script> <meta http-equiv="Content-Type"...
$("p").hide() 모든 <p> 요소를 숨깁니다. 예제: <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(document).ready(function(){ $("button").click(function(){ $("p").hide(); }); }); </script> <meta http-equiv="Content-Type"...