일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- brotli
- 개미수열
- 리얼월드HTTP
- 클래스레벨밸리데이션
- 코드스피츠
- Spring
- 지뢰찾기
- etag
- LastModified
- 이렇게살아야되나자괴감이
- 알게뭐냐
- 지수반등
- kotliln
- 랜선아미안해
- i18n
- cross parameter
- jsr380
- 알고리즘
- 브로틀리
- Kotlin
- jsr303
- cache-control
- 워드프레스
- HTTP
- 스프링
- Today
- Total
취미개발 블로그와 마음수양
불러오는 iFrame 길이에 따른 바깥쪽 iFrame 에 대한 고찰 본문
어쩌다 이런 헬파티에 들어와서 ;;
https://stackoverflow.com/a/22086876
Resize Cross Domain Iframe Height
I'm trying to change the iframe height parameter to the same px of the page being loaded within the iframe. The page that's being loaded in the iframe is coming from another domain. Different page...
stackoverflow.com
여기에 답변이 많이 쓰여져있는데
크로스도메인여부에 따라서 좀 달라지게 된다
우선 참조해야될 링크
https://css-tricks.com/cross-domain-iframe-resizing/
Cross Domain iframe Resizing | CSS-Tricks
css-tricks.com
그리고 라이브러리가 있다고하더라~
https://github.com/davidjbradshaw/iframe-resizer
davidjbradshaw/iframe-resizer
Keep same and cross domain iFrames sized to their content with support for window/content resizing, in page links, nesting and multiple iFrames - davidjbradshaw/iframe-resizer
github.com
한국어 링크
https://juitstory.tistory.com/entry/cross-domain-iframe-resize?category=513886
결국은 불러와지는 자식아이프레임에서 허용을 해줘야 된다는 이야기인가..~ 흠