분류 전체보기(75)
-
marguee.js 흐르는 느낌의 슬라이드 (가로, 세로)
marguee.js를 사용해서 흐르는 느낌의 슬라이드를 만들어보기 [cdn 사용] [html] Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque cumque ratione provident nulla veniam nihil quaerat, illum officiis hic. Laborum in eos possimus, quo ullam nobis nam nemo fuga ipsam? [css] .marquee-wrap { width: 100%;/*본인 마음대로 조정*/ height: 130px !important; /*본인 마음대로 조정*/ overflow: hidden; /*무조건*/ } [js] $(document).ready(funct..
2023.11.23 -
[CSS] ::before, ::after content="<br>태그 대신"
css ::before 혹은 ::after에서 br 태그를 사용하고자 할 때, content="소찐찐 멋쟁이" 가 아닌 content="소찐찐 \A 멋쟁이" white-space: pre; ' \A ' 와 ' white-space: pre ' 같이 사용하기 !
2023.02.20 -
[CSS] background 여러개 사용
1. 이미지 + 색상 2. 이미지 2개 3. 이미지 2개 + 색상 1️⃣ background 이미지, 색 // 둘 다 사용하고 싶은 경우 1️⃣ background:url(/images/파일명.png) no-repeat #414143; 이렇게 원하는 이미지 파일 url 을 써주고 뒤에 원하는 색상 코드 넣어주면 끝 ! background:url(/images/파일명.png) no-repeat #414143; 2️⃣ background 이미지 2개 사용하고 싶은 경우 2️⃣ background:url(/images/파일명1.png), url(/images/파일명2.png); 이렇게 쉼표로 구분하여 url 을 두개 넣어주면 끝 ! ❓ no-repeat ❓ 🔹한쪽 혹은 양쪽 background:url(/ima..
2022.10.18 -
네이버 SmartEditor2 오류 모음집
‼ 작업하면서 생각보다 많이 만났던 오류 모음집 공유 ‼ 1. Cannot read properties of null (reading 'parentNode') >> 해결방법 : textarea 바로 아래에 스크립트 위치해야함 또 ! 스크립트 elPlaceHolder 이름과 textaread의 name과 id가 동일해야 함 2.fCreator is not a function at HTMLIFrameElement. >> 해결방법 : 스크립트에 sSkinURI: ~~~ 쓰는 공간이 있는데 계속 /include/smarteditor2/SmartEditor2Skin.html ❌ include/smarteditor2/SmartEditor2Skin.html ⭕ 무슨 차이냐면.. ! 이렇게 맨 앞에 ' / ' 빼고 작..
2022.10.07 -
네이버 SmartEditor2 사용
https://github.com/naver/smarteditor2 GitHub - naver/smarteditor2: Javascript WYSIWYG HTML editor Javascript WYSIWYG HTML editor. Contribute to naver/smarteditor2 development by creating an account on GitHub. github.com 여기에서 다운받아서 원하는 폴더의 위치로 옮긴다 (나는 다행하게도? 미리 다운 받아져있었음 ㅜㅜ) 마크업 하는 파일에 링크를 걸어준다 나는 www/include/ ~~ 에 js 파일이 있어서 이렇게 링크 걸어주었음 ! (js 파일 찾아서 링크 거는게 관건.) 마크업은 에디터가 들어갈 부분은 꼭 textarea로 만들어..
2022.10.07 -
SWIPER 오류1 (getComputedStyle' on 'Window': parameter 1)
얼마나 많은 오류를 발견할지는 모르겠지만 , , 처음으로 맞이해본 이 오류 Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element' 평소에 cdn 으로 불러오기에 cdn 주소가 잘못된 줄만 알고 이거 붙였다 저거 붙여봤다 했는데도 해결이 안 되다가 우연찮게 발견한 어느 착하고 똑똑하신 분의 정리 글.. 해당 오류는 swiper-container > swiper-wrapper > swiper-slide 순으로 코드를 안 짰을 때 나오는 오류라는 글을 보고 (찾아봤더니 swiper-wrapper 가 없었더라 . . . ) 당장 고쳐봤더니 너무 잘된다.. ^^; 넘나 감사합니다 ㅠㅠ https://unlimite..
2022.09.22