Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

D w n j_5/4 #3

Open
wants to merge 15 commits into
base: D-w-nJ
Choose a base branch
from
Open

D w n j_5/4 #3

wants to merge 15 commits into from

Conversation

D-w-nJ
Copy link

@D-w-nJ D-w-nJ commented May 3, 2022

헤드 생성(햄버거, 아주메모, 로그인 버튼 생성)
렌더링: ajoumemo 눌렀을 때 자유게시판으로 이동, 각 게시판 이름 누르면 페이지 변경, 주소바뀜
사이드바 게시판 이름 누르면 화면전환(5개 게시판)

중요**
1)게시글 생성하면 list에 추가될 수 있는 방법 고안(mysql 연동?)
2)제공해주시는 api는 어떻게 js로 다뤄야 하는지?? 고민해보기

에러 또는 문제점)

  1. 화면에 고정되어 있는 로그인버튼은 뒤로가기 또는 새로고침한 후에도 클릭이벤트가 실행됨. 하지만 등록하기 버튼은 처음렌더링 된 화면에서만 이벤트가 실행됨(구글링 해봤지만 jQuery에서의 해결방법만 찾을 수 있었다. 동적으로 생성된 페이지에서 이벤트가 안먹는 경우)
  2. 글쓰기 화면에서 게시판을 선택 select 태그의 옵션을 클릭하면 value값을 동적으로 변경시켜 제목과 내용의 클래스네임에 포함시키고 싶지만 안됨. onchange를 지정하려 했지만 함수구현이 어려움

D-w-nJ and others added 15 commits April 7, 2022 00:02
css 추가
사이드바 추가(클릭 이벤트 감추기)
게시판에 리스트 추가(비어있음
파일 하나로 게시판 5개 만듦
렌더링 성공// 사이드바에 게시판 이름 누르면 주소변경 and 화면전환(게시판이동), 아주메모 누르면 자유게시판 이동, 렌더링 될 때 사이드바 사라짐
로그인, 글생성 페이지 구현, 기능 x
클릭 이벤트로 화면전환, 주소바뀜
리렌더링 된 페이지에서 클릭이벤트가 먹히지 않는 현상
-> 리렌더링 되는 모든 페이지에 클릭이벤트 모두 할당, 해결
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant