Blog Content

  • jQuery 탑 버튼

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 7. 25. 16:12

    jQuery 퀵 버튼 01. CSS 12345678910* {margin:0; padding:0; font-size:14px;}a, a:active {color:#333; text-decoration:none;}ul li {list-style:none;}header {height:100px; background:orchid}section {height:1500px; background:burlywood}footer {height:100px; background:darkcyan}body { position:relative; }.quick {position:fixed; bottom:20px; right:20px; display:none;}.quick.on {display:block; }.quick a {di..

    Read more
  • scrollTop 이벤트

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 7. 18. 12:36

    스크롤 따라다니는 메뉴 01. CSS 123456789/* CSS 는 입맛에 맞게 변경 */html, body {height: 100%;}#wrap {text-align:center; height:100%}header {background:orange; box-shadow: 0px 5px 10px -5px; position:relative;}header li {display:inline-block;}header li a {display:block; padding:20px;}header.fixd {position:fixed; top:0; width: calc(100% - 15px);} section {background:orchid; min-height:100%; padding:150px 0 150px}f..

    Read more
  • 드롭 ANIMATE 텝

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 7. 17. 18:45

    텝 Animate 드롭 메뉴 01. CSS 123456789101112.tab_type02 ul:after {content:""; display: block; clear:both;}.tab_type02 li {float:left;/* width:25%;*/}.tab_type02 li a{display:block; padding:10px; border:1px solid #ccc; text-align:center;}.tab_type02 li.on a{background:#ccc; color:#fff; }.tab_type02 .box_area { position: relative;}.tab_type02 .box {border:1px solid #ccc; border-top:0; width:100%; paddi..

    Read more
  • 텝 메뉴

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 7. 17. 16:53

    텝 메뉴 Animate 01. CSS 123456789101112.tab_type03 .box_area, .tab_type03 ul.menu:after {content:""; display: block; clear:both;}.tab_type03 .menu li {float:left;/* width:25%;*/}.tab_type03 .menu li a{display:block; padding:10px; border:1px solid #ccc; text-align:center;}.tab_type03 .menu li.on a{background:#ccc; color:#fff;}.tab_type03 .box_area {width:100%; height:100px; overflow:hidden;}.tab_typ..

    Read more
  • jQuery 핵심 - 노드 다루기

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 7. 12. 23:47

    1. 노드 찾기 - 태그 이름으로 노드 찾기 : $("태그이름"), $("선택자") - 클래스 이름으로 노드 찾기 : $(".클래스이름") - ID로 노드 찾기 : $("선택자") - 속성으로 노드 찾기 : $("[속성이름=값]") - 찾은 요소 개수 구하기 : .size() , .length - 찾은 요소 n번째 접근하기 : .eq(index) , .each(function(index){}); - 찾은 요소에서 특정요소만을 걸러내기 : .filter("선택자") - 찾은 요소에서 특정 자식요소만 찾기 : .find("선택자") 2. 자식 노드 찾기 - 전체 자식 노드 찾기 -- 텍스트 노드 포함 전체 자식 노드 찾기 : $("선택자").contents() -- 텍스트 노드 제외한 전체 자식 노드 찾기 ..

    Read more
  • 퍼블리싱 워크리스트

    Category 개발연습막쓰기/개발연습 막쓰기 on 2017. 2. 6. 10:45

    HTML 워크리스트1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651..

    Read more
  • jQuery 셀럭터, jQuery 선택자

    Category 개발연습막쓰기/개발연습 막쓰기 on 2016. 12. 8. 00:07

    출처http://zetawiki.com/wiki/JQuery_%EC%85%80%EB%A0%89%ED%84%B0 셀렉터 예시 설명 id, class, tag로 선택 ★★★ * $("*") 모든 요소들 #id $("#lastname") id가 "lastname"인 요소 .class $(".intro") 클래스가 "intro"인 요소들 .class,.class $(".intro,.demo") 클래스가 "intro" 또는 "demo"인 요소들 element $("p") 요소들 el1,el2,el3 $("h1,div,p") , and 요소들 처음, 마지막, 홀수, 짝수 선택 ★ :first $("p:first") 첫번째 요소 :last $("p:last") 마지막 요소 :odd $("tr:odd") 홀수번째 요소..

    Read more
  • jQuery 버튼 효과

    Category 개발연습막쓰기/개발연습 막쓰기 on 2016. 5. 4. 21:52

    jQuery 버튼 효과 1. 롤오버 버튼2. 오버시 라인이 생성3. 좌측에서 우측으로 색상변경 1234567891011121314151617181920212223242526272829303132 버튼 /* 첫번째 버튼 */ button1 button2 button3 button4 /* 두번째 버튼 */ button5 button6 button7 button8 /* 세번째 버튼 */ button9 TEXT button10 TEXT button11 TEXT button12 TEXT 1234567891011121314151617181920212223242526272829#btn button { position:relative; display: block; float:left; width:225px; heigh..

    Read more