Font Size

本文介绍了一种调整网页字体大小的方法,并展示了多个使用Flash技术创建的多媒体内容实例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 <script language="JavaScript"><!--
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
function pp()
{close();
}
</script>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=big5">
   <meta http-equiv="Content-Type" content="text/html; charset=big5">
 <meta http-equiv="Content-Language" content="zh-tw">

  <meta http-equiv="Content-Language" content="zh-tw">
  <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
  <meta name="ProgId" content="FrontPage.Editor.Document">
  <title>網頁技巧</title>
        <style type="text/css">
<!--
.style2 {color: #0000CC}
-->
        </style>
</head>
 
<body leftmargin="0" topmargin="0" >
<table id=table66 width="100%"  border="0">
  <tr>
    <td><div align="right">
      <span class="style2">
網頁技巧篇: </span>                         請選擇字體大小: 
          <select name="text_size" onChange="vbscript:changefontsize" style="font-size:7" >
          <option value=""></option>
          <option value="2">2</option>
          <option value="3">3</option>
          <option value="4">4</option>
          <option value="5">5</option>
          <option value="6">6</option>
          <option value="7">7</option>
          <option value="8">8</option>
          <option value="9">9</option>
          <option value="10">10</option>
          <option value="11">11</option>
          <option value="12">12</option>
          <option value="13">13</option>
          <option value="14">14</option>
          <option value="15">15</option>
          <option value="28">28</option>
          <option value="36">36</option>
          <option value="72">72</option>
      </select><input type="button" name="Submit" value="關閉" onclick="pp()" >
    </div></td>
  </tr>
</table>

<table id=table88 width="100%"  border="0">
  <tr>
    <td>
        <div align="left"><span class="style2">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="250" height="200">
          <param name="movie" value="2004101210482810.swf">
          <param name="quality" value="high">
          <embed src="2004101210482810.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="200"></embed>
        <param name="wmode" value="transparent">
  </object>
</span>
              <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="300">
                <param name="movie" value="20035251734578862.swf">
                <param name="quality" value="high">
                <embed src="20035251734578862.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed>
                <param name="wmode" value="transparent">
          </object>
          </div></td></tr>
</table>
<script language=vbscript>
currentsize="9"
document.all.table66.style.fontsize=cstr(currentsize)+"pt"
document.all.table88.style.fontsize=cstr(currentsize)+"pt"
On Error Resume Next
sub changefontsize()
currentsize=cint(document.all.text_size.value)
msgbox "現在是  "+cstr(currentsize)+"  號字體",32,"提示"
document.all.table66.style.fontsize=cstr(currentsize)+"pt"
document.all.table88.style.fontsize=cstr(currentsize)+"pt"
On Error Resume Next
end sub
document.all.text_size.style.visibility="visible"
</script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="770" height="215">
  <param name="movie" value="20036211233125429.swf">
  <param name="quality" value="high">
  <embed src="20036211233125429.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="770" height="215"></embed>
  <param name="wmode" value="transparent">
</object>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值