<html><head>
   <script type="text/javascript">
      function setvalue(){   
         var framewidth=prompt("Enter the default right column width : ", "50")

         var width = parseInt(framewidth);
         width = isNaN(width) ? 50 : width;

         var val = (100 - width) + "%, " + width + "%";

         document.getElementById("set").cols = val
      }

      window.onload = setvalue;
   </script>
</head>
        <frameset cols="*,1%" frameborder="NO" framespacing="0" border="0" id="set">
            <frame src="https://const.net.cn" name="left" scrolling="no"/>
            <frame src="https://const.net.cn" name="right" scrolling="no"/>
        <frameset>
</html>
本文链接地址:https://const.net.cn/771.html

标签: none

添加新评论