lab.naminsik
  • Javascript, jQuery
  • Reactjs
  • React Native
  • iOS
  • Android
  • AWS
  • Server
  • Html, CSS
  • Php
  • asp .net
  • SQL
  • Word Press
search
keywords
  • Javascript, jQuery 2012‧10‧15

    jQuery-div 높이를 창의 100%로 조절할 때 (창 사이즈 유동 적응)

    div로 코딩할때 가끔 필요한 것이 height 100%가 안된다는 점이다. 제이쿼리와 자바스크립트를 이용해서 간단히 만들어 본다. function funLoad(){ var Cheight = $(window).height(); $('#container').css({'height':Cheight+'px'}); } window.onload = funLoad; window.onresize = funLoad;  윈도우가 로딩된 후 funLoad를 실행하였고, 창을 조절하면 다시 funLoad를 실행한다. funLoad는 container라는 id를 가진 div의 height값을 조절하라고 명령한다.

popular

  • 게시판 플러그인 KBoard 설치법 및 사용법
  • 키보드 키 코드
  • 앱 디자인 영감을 얻기 위한 아이폰 앱들의 화면 캡쳐
  • `value` prop on `input` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.
  • 구글 맵 - 일정 범위 다중 마커 합산한 Cluster(클러스터) 기능
  • jQuery - 간단한 랜덤 배너 이미지노출
  • 이미지와 텍스트 정렬 (위 이미지, 아래 텍스트)
  • 업데이트 후 클릭하여 반응하는 플러그인들 오류 발생 (_load_textdomain_just_in_time was called incorrectly)
  • github unable to load repositories Retry
  • 자바스크립트 새창 뛰우기 옵션과 방법

comment

  • 감사합니다!
  • 감사합니다~
  • 잘 해결 되셨다니 다행입니다!...
  • 정말 감사합니다. 덕분에 해결했습니다!...
  • 유용한정보 대단히 감사합니다....