728x90
반응형

Front 545

[CSS] 글자수 넘어가면 말줄임표 표시

https://nh0404.tistory.com/43 [html/css] 글자수 넘어가면 말줄임표 / 원하는 만큼의 줄만 보이게 하기 문장을 내가 지정한 영역 밖으로 못나가게 하거나 지정한 영역이 좁아 말줄임표를 사용해야하는 경우가 있습니다. 알라딘의 책 소개처럼 ! 이러한 경우 말줌임표를 ㅁ + 한자 키로 직접 입력해 nh0404.tistory.com .elps{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}

Front/CSS 2023.11.18

[HTML] <link>

https://www.tcpschool.com/html-tags/link 코딩교육 티씨피스쿨 4차산업혁명, 코딩교육, 소프트웨어교육, 코딩기초, SW코딩, 기초코딩부터 자바 파이썬 등 tcpschool.com https://developer.mozilla.org/ko/docs/Web/HTML/Element/link : 외부 리소스 연결 요소 - HTML: Hypertext Markup Language | MDN HTML 요소는 현재 문서와 외부 리소스의 관계를 명시합니다. 는 스타일 시트를 연결할 때 제일 많이 사용하지만, 사이트 아이콘("파비콘"과 홈 화면 아이콘) 연결 등 여러가지로 쓰일 수 developer.mozilla.org 태그는 해당 문서와 외부 소스(external resource) 사이의..

Front/HTML 2023.10.28

[jQuery] resizable 이용하여 테이블 컬럼 너비 조정하기

https://codepen.io/clarmond/pen/bdapme Resizable Table Columns Using jQuery UI I was having trouble resizing table columns. All of the solution I found would work until my table was larger than my viewport, then they failed. I f... codepen.io https://www.codehim.com/others/make-table-columns-resizable-with-jquery/ Make Table Columns Resizable with jQuery — CodeHim A light weight jQuery plugin to..

Front/JS & jQuery 2023.10.24

[datatables] createdCell로 tr에 Class 적용하기

createdCell : function(td,cellData, rowData, row, col){ if(!rowData['rdYn']){ $(td).closest('tr').addClass('bg-ylwbg'); $(td).closest('tr').find('td').addClass('bold'); } } 리스트목록 중에 읽음여부가 true 이면 tr의 배경색과 안에 글씨를 두껍게 바꿔야하는데, 모든 td에 효과를 줘야하는데 createdCell을 적요한 컬럼 뒤에는 해당 함수가 적용이 안되는것이었다. cellData로 하지 않고 rowData로 설정하여 맨 마지막 컬럼에 createCell 을 쓰니까 모든 컬럼에 효과가 다적용되었다!

Front/JS & jQuery 2023.10.23
728x90
반응형