프로그래밍
유틸리티
기타자료
시험자료
유용한사이트
대화
여행
 
 
 
 프로그래밍(Programming)
 유틸리티(Utility)
 기타자료(ETC)
 시험자료(Exam)
 유용한사이트(Site)

 
 대화(Community)
 여행(Travel)

 
 회원가입
 로그인
 접속자 30

 
프로그래밍(Programming)

[jQuery] 움직이는 레이어

페이지 정보

작성자 관리자 작성일17-06-05 14:24 조회2,874회 댓글0건



  • 이전글
  • 다음글
  • 목록

본문

[소스]
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>jQuery - 마우스로 움직이는 팝업레이어</title>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<style>

#draggable { width: 150px; height: 150px; padding: 0.5em; }

</style>
<script>

$(function() {
$( "#draggable" ).draggable();
});

</script>
</head>
<body>



 
마우스로 움직이는 팝업레이어





</body>
</html>


[head]
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>

출처 : http://zzznara2.tistory.com/311
참고 : https://jqueryui.com/draggable/

댓글목록

등록된 댓글이 없습니다.

  • 이전글
  • 다음글
  • 목록
 

 
코스트프리소개
제휴안내
이용약관
개인정보 취급방침
이메일주소 무단수집거부
Copyright ⓒ 2009-2015 Costfree.co.kr All Rights Reserved.
오늘 1,242    어제 1,621    최대 2,939    전체 903,819