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

  • 디바이스 현재 아이피 주소 가져오기
  • [회고] Github Actions가 갑자기 안된다. (Waiting for a runner to pick up this job…)
  • 관리자 페이지 중 위젯에서 드래그 & 드롭이 안되는 현상
  • ffmpeg 이용해서 HLS 파일 인코딩
  • jQuery - 스마트폰 스크린 회전 감지 스크립트
  • Auto Scaling + codedeploy 배포 오류 - The IAM role arn:aws: does not give you permission to perform operations in the following AWS service: AmazonAutoScaling. Contact your AWS administrator if you need help. If you are an AWS administrator, you can grant permissions to your users or groups by creating IAM policies.
  • 구글 맵 - 일정 범위 다중 마커 합산한 Cluster(클러스터) 기능
  • 동영상 스트리밍 서비스 구축 (AWS s3/cloudFront, HLS, video.js)
  • JS - datepicker(jQueryUI,달력) 이용시 두개 날짜 범위 설정
  • 이미지와 텍스트 정렬 (위 이미지, 아래 텍스트)

comment

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