jQuery 스크롤 따라 다니는 배너
Plugin Url : http://kitchen.net-perspective.com/open-source/scroll-follow/
Test Url : http://www.uhoon.co.kr/test/2148.html
스크롤 따라다니는 배너(?) 입니다..
배너 광고 , 오늘 본 상품 등등에 많이 사용되고 있습니다.
상세 소스는 Test Url 소스를 봐주세요!
Plugin Url : http://kitchen.net-perspective.com/open-source/scroll-follow/
Test Url : http://www.uhoon.co.kr/test/2148.html
스크롤 따라다니는 배너(?) 입니다..
배너 광고 , 오늘 본 상품 등등에 많이 사용되고 있습니다.
상세 소스는 Test Url 소스를 봐주세요!
원문 Url : http://htglss.tistory.com/100
+ - 아이콘을 이용한 Jquery Tree 메뉴 샘플입니다..
만든이 분께서 소녀시대팬이신것같아서...샘플은 그대로 유지했습니다 .
아직 만들어볼 생각은 못하고 서치 서치 하고 있지만 제가 아는 중 가장 간단한 방법이 아닌가 싶어서 공유하고 싶네요..
Test Url : http://www.uhoon.co.kr/test/1925/1925.html
폼내에 input 객체가 하나뿐인 경우 엔터키를 입력하게 되면 자동으로 폼 Submit()이 되는데
어떤 경우에는 이것을 막아야 할 경우가 발생합니다..
이를 방지 하기 위한 방법입니다.
form 에서 onsubmit 에 return false; 값을 추가해 주고
필요한 경우 keyup 되는 경우 키값에 따라 필요한 코딩을 추가해줍니다.
TEST Url : http://www.uhoon.co.kr/test/1907.html
<!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>auto submit 방지 및 Key Code 체크하기</title> <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script src="http://code.jquery.com/ui/1.10.2/jquery-ui.js"></script> <script> $(function() { $("#name").on("keyup", function(e){ $("#keyCode").html(e.which); if(e.which==13) { alert("enter Key"); } }); }); </script> </head> <body> <form id="frm" onsubmit="return false;" > <input type="text" id="name" /> <label for="code">Key Code : </label><span id="keyCode"></span> </form> </body> </html>