반응형
m.logPrint() is working!
<eq> and <eqq> tags are rendered to MathJax format, being enclosed by \ ( \ ) and \ [ \ ].
docuK1 scripts started!
If this log is not closed automatically, there must be an error somewhere in your document or scripts.
Table of Contents is filled out.
Auto numberings of sections (div.sec>h2, div.subsec>h3, div.subsubsec>h4), <eqq> tags, and <figure> tags are done.
<cite> and <refer> tags are rendered to show bubble reference.
<codeprint> tags are printed to corresponding <pre> tags, only when the tags exist in the document.
Current styles (dark/bright mode, font-family, font-size, line-height) are shown.
kakao.js with id="kakao-js-sdk" is loaded.
New ShortKeys (T: Table of Contents, F: Forward Section, D: Previous Section, L: To 전체목록/[Lists]) are set.
m.delayPad=512;
m.wait=1024;
wait 1080ms.
<eq> and <eqq> tags are rendered to MathJax format, being enclosed by \ ( \ ) and \ [ \ ].
docuK1 scripts started!
If this log is not closed automatically, there must be an error somewhere in your document or scripts.
Table of Contents is filled out.
Auto numberings of sections (div.sec>h2, div.subsec>h3, div.subsubsec>h4), <eqq> tags, and <figure> tags are done.
<cite> and <refer> tags are rendered to show bubble reference.
<codeprint> tags are printed to corresponding <pre> tags, only when the tags exist in the document.
Current styles (dark/bright mode, font-family, font-size, line-height) are shown.
kakao.js with id="kakao-js-sdk" is loaded.
New ShortKeys (T: Table of Contents, F: Forward Section, D: Previous Section, L: To 전체목록/[Lists]) are set.
m.delayPad=512;
m.wait=1024;
wait 1080ms.







- Creative Commons
- 저작자표시 - 적절한 출처와, 해당 라이센스 링크를 표시하고, 변경이 있는 경우 공지해야 합니다. 합리적인 방식으로 이렇게 하면 되지만, 이용 허락권자가 귀하에게 권리를 부여한다거나 귀하의 사용을 허가한다는 내용을 나타내서는 안 됩니다.
- 비영리 - 이 저작물은 영리 목적으로 이용할 수 없습니다.
- 변경금지 - 이 저작물을 리믹스, 변형하거나 2차적 저작물을 작성하였을 경우 그 결과물을 공유할 수 없습니다.
이 글이 도움이 되셨다면, 광고 클릭 한번씩만 부탁드립니다 =ㅂ=ㅋ.
(If this article was helpful, please click the ad once. Thank you. ;)
(If this article was helpful, please click the ad once. Thank you. ;)
Mode: Bright; Font: Noto Sans KR; font-size: 18.0px (10.0); line-height: 1.6;
width: 1280, height: 720, version: 3.3.3
Canonical URI: https://kipid.tistory.com/entry/Parent-DOM-Document-Object-Model-이-hidden-일-때-child-element-가-update-되면-hidden-이-풀릴-때-해결법
dg:plink (Document Global Permanent Link): https://kipid.tistory.com/310
document.referrer: Empty
width: 1280, height: 720, version: 3.3.3
Canonical URI: https://kipid.tistory.com/entry/Parent-DOM-Document-Object-Model-이-hidden-일-때-child-element-가-update-되면-hidden-이-풀릴-때-해결법
dg:plink (Document Global Permanent Link): https://kipid.tistory.com/310
document.referrer: Empty







Parent DOM (Document Object Model) 이 hidden 일 때, child element 가 update 되면 hidden 이 풀릴 때 해결법
Recoeve.net 개발하면서 목록 (ToR) 이 다른 카테고리로 옮겨갈때 갑자기 pop-up 되는 현상이 발생했는데, 이게 카테고리가 바뀌면서 목록이 update 되고 목록 (ToR) 의 child elements 가 update 되면서 발생하는 문제 같았다.
역시나 만능 ChatGPT 에 문의 결과 대충의 답의 힌트를 얻을 수 있었는데... children DOM 의
display
를 inherit
으로 하면 해결되는 문제였다.Table of Contents
T1.To ChatGPT in Windows 11 :: Why is a hidden DOM shown after child elements are updated?
▼ Show/Hide
There are several possible reasons why a hidden DOM element is shown after child elements are updated. Some of the common ones are:
- The child elements have a CSS property that overrides the visibility of the parent element, such as visibility: visible or display: block. This can happen if the child elements are added dynamically and have a different style than the parent element. To fix this, you can use visibility: inherit or display: inherit on the child elements, which will make them follow the visibility of the parent element
[01]
.- The parent element is hidden using the hidden attribute, which is a boolean attribute that indicates whether the element is relevant or not. However, some browsers may not support this attribute, or some scripts may change its value. To fix this, you can use a CSS rule that sets display: none on the elements that have the hidden attribute, which will make them hidden regardless of the browser or script. For example:
// CSS
// AI가 생성한 코드입니다. 신중하게 검토하고 사용하세요. FAQ의 자세한 정보.
[hidden] {
display: none !important;
}
- The parent element is hidden using the opacity property, which sets the transparency of the element. However, this property does not affect the visibility of the element, only its appearance. The element still occupies space and can receive events. To fix this, you can use the visibility property or the display property instead of the opacity property, which will make the element truly hidden. For example:
// CSS
// AI가 생성한 코드입니다. 신중하게 검토하고 사용하세요. FAQ의 자세한 정보.
.hidden {
/* opacity: 0; */ /* this will not hide the element */
visibility: hidden; /* this will hide the element */
/* or */
display: none; /* this will also hide the element */
}
I hope this answer helps you understand why a hidden DOM element is shown after child elements are updated. 😊
▲ Hide
T2.ps. LLM (Large Language Model) 이 어떻게 만들어 지는지 공부하고 있는데, 참 신기하고 대단해 보임.
▼ Show/Hide
Brilliant.org 결제해서 공부하고 있는데
[02]
, 확률을 이용하고 Deep Nueral Network 로 모델을 짜서 학습시키면 이런게 가능하다는거 같은데... 사람의 뇌도 이거랑 비슷한건가?란 의문도 들고... 참 신기방기.▲ Hide
TRRA1.References and Related Articles
▼ Show/Hide







* 게시글 관련 링크들 in Recoeve.net (3S | Slow/Sexy/Sincere SNS)
* 홍보/Promoting Recoeve.net (3S | Slow/Sexy/Sincere SNS)
유튜브 음악, K-Pop MV 들을 광고없이 목록재생 해서 보세요.
접속하셔서 가입 후 별점만 드레그 하시면 자신의 페이지에 저장 됩니다.
그리고 자신의 페이지로 이동한 뒤 추천 받기 (단축키 R) 를 누르시면 자신이 점수 메긴것들로 이웃 (이웃보기 단축키 B) 을 자동으로 찾아주고 그 이웃들로부터 추천을 받을 수 있습니다.
접속하셔서 가입 후 별점만 드레그 하시면 자신의 페이지에 저장 됩니다.
그리고 자신의 페이지로 이동한 뒤 추천 받기 (단축키 R) 를 누르시면 자신이 점수 메긴것들로 이웃 (이웃보기 단축키 B) 을 자동으로 찾아주고 그 이웃들로부터 추천을 받을 수 있습니다.
이 글이 도움이 되셨다면, 광고 클릭 한번씩만 부탁드립니다 =ㅂ=ㅋ.
(If this article was helpful, please click the ad once. Thank you. ;)
(If this article was helpful, please click the ad once. Thank you. ;)
반응형
'[IT|Programming] > HTML related' 카테고리의 다른 글
Getting html of container including the container itself (2) | 2024.02.06 |
---|---|
구글 크롬 브라우저 캐시 지우기 및 강력 새로고침 하는 방법 (2) | 2024.02.04 |
구글 검색 바로 할 수 있게 input 및 button 만들기 (1) | 2023.12.28 |
브라우저에서 자동 비밀번호 완성 (Auto password completion) 일 때, 이를 파악해서 바로 로그인 시켜주는 방법 (2) | 2023.12.01 |
imgur - Embed album (5) | 2023.11.28 |
Learning AJAX (1) | 2023.11.04 |
Referer 알아내기 in Server (Vert.x) and Client (HTML/javascript) (0) | 2023.11.04 |
http/https 링크
및 수식 (\ [ Outline 수식 \ ]
,\ ( inline 수식 \ )
::\
이후 띄어쓰기 없이) 을 넣으실 수 있습니다. 또한 code 는```
시작,```/
마지막으로 감싸 주시면 pretty-printed 되어서 나타납니다.```[.lang-js.scrollable.no-linenums]
같이 언어를 선택해 주실수도 있고, 긴 수식의 경우 scroll bar 가 생기게 만드실 수도 있습니다. .no-linenums 로 line numbering 을 없앨수도 있습니다.댓글 입력 후 rendering 된 형태를 보시려면, Handle CmtZ (단축키: N) 버튼을 눌러주세요. 오른쪽 아래 Floating Keys 에 있습니다. 아니면 댓글 젤 아래에 버튼이 있습니다.