ํ‹ฐ์Šคํ† ๋ฆฌ ๋ทฐ

728x90
SMALL

ํƒ€ ์„œ๋ฒ„ ๊ฒฐ๊ณผํŽ˜์ด์ง€ ๋ถ€๋ถ„

<script type="text/javascript">
      function rsize() {
      var iframe = document.getElementById( 'inneriframe' );
        var wrapper = document.getElementById( 'wrapper' );
        var height = Math.max( document.body.offsetHeight, document.body.scrollHeight );
        iframe.src = 'http://์šฐ๋ฆฌ์„œ๋ฒ„/auto_size.html?height='+height;     
     }
    </script>

<body bgcolor="#FFFFFF" onload=rsize(); >

์šฐ๋ฆฌ์„œ๋ฒ„๋‹จ ์ฒ˜๋ฆฌ๋‚ด์šฉ

<script type="text/javascript">
     function updateIFrame( height ) {
         var iframe = document.getElementById( 'Content' );
         iframe.setAttribute( 'height', height );
    }
</script>
<iframe id="Content" name="Content" src="http://ํƒ€์„œ๋ฒ„ ๊ฒฐ๊ณผํŽ˜์ด์ง€.php?search=yes&q=" border="0">

๋ณด์•ˆ๋ฌธ์ œ๋กœ ํƒ€๋„๋ฉ”์ธ์— ์žˆ๋Š” ๋‚ด์šฉ๋ฌผ์„ iframe์œผ๋กœ ๋„ฃ์—ˆ์„๋•Œ ๊ฒ€์ƒ‰๊ฒฐ๊ณผ๋“ฑ์„ ์ž๋™์œผ๋กœ ๋†’์ด์กฐ์ ˆ์ด
์•ˆ๋๋˜๊ฒƒ์„ ์„œ๋ฒ„์— ์Šคํฌ๋ฆฝํŠธ ์ถ”๊ฐ€๋กœ ํ•ด๊ฒฐ๋จ.

์šฐ๋ฆฌ์„œ๋ฒ„์— ์žˆ๋Š” auto_size.html

<html>
  <head>
    <title>Resizing Page</title>
    <script type="text/javascript">
      function onLoad() {
        var params = window.location.search.substring( 1 ).split( '&' );
        var height;
        for( var i = 0, l = params.length; i < l; ++i ) {
          var parts = params[i].split( '=' );
          switch( parts[0] ) {
          case 'height':
            height = parseInt( parts[1] );
            break;
          }
        }
        if( typeof( height ) == 'number' ) {
          window.top.updateIFrame( height );
        }
      }

    window.onload = onLoad;
    </script>
  </head>
  <body>
  </body>
</html>

728x90
LIST
๋Œ“๊ธ€
๊ณต์ง€์‚ฌํ•ญ
์ตœ๊ทผ์— ์˜ฌ๋ผ์˜จ ๊ธ€
์ตœ๊ทผ์— ๋‹ฌ๋ฆฐ ๋Œ“๊ธ€
Total
Today
Yesterday
๋งํฌ
ยซ   2025/04   ยป
์ผ ์›” ํ™” ์ˆ˜ ๋ชฉ ๊ธˆ ํ† 
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 29 30
๊ธ€ ๋ณด๊ด€ํ•จ
250x250