jquery11 JQuery, JSTREE를 그려보자! jstree에서 요구하는 형식은 다음과 같습니다 각 노드는 `id`, `parent`, `text` 속성을 가진 객체여야 합니다. `id` 속성은 각 노드의 고유한 식별자이며, 문자열 또는 숫자가 될 수 있습니다. `parent` 속성은 노드의 부모 노드의 `id` 값이며, 최상위 노드의 경우 '#'으로 설정해야 합니다. `text` 속성은 노드에 표시될 텍스트입니다. 최상위 노드의 `parent` 값은 반드시 `'#'` 값으로 설정해야 합니다. jstree는 `'#'` 값을 가진 노드를 최상위 노드로 인식합니다. 따라서 최상위 노드의 `parent` 값이 `'#'`이 아니면 jstree에서 해당 노드를 최상위 노드로 인식하지 않고 jstree가 그려지지 않을 수 있습니다 저는 보통 sql문의 resul.. 2023. 8. 1. 학원 수업 61일차 221116 9-10 Expression-Based Access Control https://docs.spring.io/spring-security/reference/servlet/authorization/expression-based.html 10-11 수정기능구현 jQuery CDN https://www.w3schools.com/jquery/jquery_get_started.asp Downloading jQuery https://jquery.com/download/ Download the compressed, production jQuery 3.6.1 클릭! 우클릭 후 다른이름으로저장 > tools에 저장 아래 Download the uncompressed, development jQuery 3.6.1 이걸로 다.. 2023. 4. 27. 학원 수업 49일차 221031 10-11 쿼리스트링 파라미터? @GetMapping("/customers/{division}/{page}") public String customers(Model model) { service.list(model); return "customer/faq/list"; } 스프링부트 어노테이션 / @PathVariable https://ocblog.tistory.com/46 (/springWeb05-design/src/main/java/com/green/nowon/service/impl/FaqServiceProcess.java) RowBounds? 11-12 비동기 구현 -> jQuery ajax jQuery AJAX Methods https://www.w3schools.com/jquery/jquery_r.. 2022. 12. 13. 학원 수업 48일차 221028 9-10 고객센터페이지 디자인 10-11 타임리프 주석 타임리프 주석을 정확히 써주지 않으면 주석처리 해도 [[ ]] 안까지 읽어버림 https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#javascript-inlining Advanced inlined evaluation and JavaScript serialization (/springWeb05-design/src/main/resources/templates/customer/front.html) cdata주석 https://dreamaz.tistory.com/32 - CDATA로 감싼 javascript 부분이 의도치않게 XML Parser에 의해 잘못 인식되는 것을 막기 위해 - XHTML.. 2022. 12. 12. 학원 수업 46일차 221026 9-10 프로젝트명 : springWeb05-design 상품등록페이지 상품이미지, 추가이미지 수정 중 jQuery Traversing - Siblings https://www.w3schools.com/jquery/jquery_traversing_siblings.asp next() 사용 jQuery Traversing - Ancestors https://www.w3schools.com/jquery/jquery_traversing_ancestors.asp parent() : 바로 위 부모 parents() : 부모의 부모 중에서 `(백틱backtick) https://velog.io/@sunaaank/js-backtick jQuery :file Selector https://www.w3schools.com.. 2022. 12. 7. 학원 수업 45일차 221025 9-10 프로젝트명 : springWeb05-design (terms.js) function termsEachClicked(){} 모두 체크되었을 때 이용약관 전체동의 켜지고 하나라도 꺼지면 이용약관 전체동의 꺼지는 기능 구현중 modal을 적용해봅시다 jQuery modal jquerymodal.com https://jquerymodal.com/#install https://github.com/kylefox/jquery-modal#installation 읽어보니 재밌네 https://yozm.wishket.com/magazine/detail/706/ (springWeb05-design/src/main/resources/templates/sign/signup.html) 상품등록페이지 만드는 중 HTML .. 2022. 12. 4. 학원 수업 44일차 221024 9-10 11월 둘째주부터 마리아DB AWS 배울 예정 리눅스마스터 2급 이상으로 따자 로그인 페이지 만들기 signin.html - layout01.html signup.html - layout02.html 연결해서 쓸 예정 Fragments https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#fragments The most common use is for fragment insertion using th:insert or th:replace (more on these in a later section): 타임리프로 header를 가져올 땐 가 아닌 블록태그를 써야 헤더 안에 헤더가 들어가는 일이 안생김 10-11 (signin.html).. 2022. 11. 28. 학원 수업 42일차 221020 10-11 HTML Tag https://www.w3schools.com/tags/tag_a.asp 11-12 8 Template Layout Defining and referencing fragments https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#defining-and-referencing-fragments th:block 태그 11.4. Synthetic th:block tag https://www.thymeleaf.org/doc/tutorials/3.0/usingthymeleaf.html#synthetic-thblock-tag 태그를 넣어야하는데 뭔가 마땅치 않으면 12-1 viewresolver spring boot https.. 2022. 11. 28. 학원 수업 41일차 221019 9-10 position: absolute를 쓸 때 기준을 안잡아주면 웹페이지 맨 왼쪽 위로 감 부모 중에 position: relative를 잡아주면 거기가 기준이 됨 https://creamilk88.tistory.com/197 10-11 setinterval 문제점 jQuery mouseenter() Method https://www.w3schools.com/jquery/event_mouseenter.asp Note: Unlike the mouseover event, the mouseenter event only triggers when the mouse pointer enters the selected element. The mouseover event is triggered if a mouse .. 2022. 11. 24. 이전 1 2 다음