gaufeo 发表于 2007-4-27 11:14:02

***文本操作***文本框栏目介绍

把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件
脚本说明:
第一步:把如下代码加入<head>区域中
<script language="javascript">
<!-- begin      
var messages = new array(6);
messages = "";
messages = "have you ever seen anything like this before?";
messages = "can you imagine how you could use it on your site?";      
messages = "it's great for sharing lots of information.";
messages = "and doesn't take up much space! ";
messages = "so, get the code and put it on your site!";
function messagereveal() {
var messageindex = document.messageform.messagepick.selectedindex
document.messageform.messagefield.value = messages;

}
// end -->
</script>


第二步:把如下代码加入<body>区域中
<form name="messageform">
<select name="messagepick" onchange="messagereveal()">
<option value="0">the menu message
<option>seen this before?
<option>possible uses?
<option>shares information
<option>saves space
<option>get the code!
</select>
<br><p>
<textarea name="messagefield" rows=6 cols=50 wrap=virtual>
      










--------------------------------------

拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页: [1]
查看完整版本: ***文本操作***文本框栏目介绍