永发信息网

DW中怎么做留言板

答案:2  悬赏:70  手机版
解决时间 2021-07-25 03:52
  • 提问者网友:不爱我么
  • 2021-07-24 11:23

我学的电脑专业,第一学期,没上几节课,老师让做个留言板,不要难度,好看点,能用就行,哪位大侠帮帮我,从最基本的开始,谢谢啦

最佳答案
  • 五星知识达人网友:从此江山别
  • 2021-07-24 12:21
图象放在一个固定的目录中!!!数据库中只记得该图片的文件名或者编号就可以咯!!!!
<br>
<br>
<br>///////////
<br>你还是自己下载个留言板多看下代码吧!!!


<table cellSpacing="0" cellPadding="0" width="100%" align="center" border="0">
<tr><td>
<%
randomize()
select case strSexIN
case "1"
if strImagesIN="" then strImagesIN=right(101+2*Int(rnd()*11),2) '00-22 的奇随机整数
case "0"
if strImagesIN="" then strImagesIN=right(100+2*Int(rnd()*12),2) '00-22 的偶随机整数
case ""
strImagesIN=right(100+Int(rnd()*23),2) '00-22 的随机整数
end select
%>
<img title="点击选择头像" style="CURSOR: hand" onclick="window.open('guestselect.asp?action=face','face','width=480,height=400,resizable=1,scrollbars=1')" src="Images/Face/<%=strImagesIN%>.gif" border="0" name="showimages">
<select onchange="changeimage();" size="1" name="GuestImages">
<option value="00" <%if strImagesIN="00" then response.write "selected"%>>00</option>
<option value="01" <%if strImagesIN="01" then response.write "selected"%>>01</option>
<option value="02" <%if strImagesIN="02" then response.write "selected"%>>02</option>
<option value="03" <%if strImagesIN="03" then response.write "selected"%>>03</option>
<option value="04" <%if strImagesIN="04" then response.write "selected"%>>04</option>
<option value="05" <%if strImagesIN="05" then response.write "selected"%>>05</option>
<option value="06" <%if strImagesIN="06" then response.write "selected"%>>06</option>
<option value="07" <%if strImagesIN="07" then response.write "selected"%>>07</option>
<option value="08" <%if strImagesIN="08" then response.write "selected"%>>08</option>
<option value="09" <%if strImagesIN="09" then response.write "selected"%>>09</option>
<option value="10" <%if strImagesIN="10" then response.write "selected"%>>10</option>
<option value="11" <%if strImagesIN="11" then response.write "selected"%>>11</option>
<option value="12" <%if strImagesIN="12" then response.write "selected"%>>12</option>
<option value="13" <%if strImagesIN="13" then response.write "selected"%>>13</option>
<option value="14" <%if strImagesIN="14" then response.write "selected"%>>14</option>
<option value="15" <%if strImagesIN="15" then response.write "selected"%>>15</option>
<option value="16" <%if strImagesIN="16" then response.write "selected"%>>16</option>
<option value="17" <%if strImagesIN="17" then response.write "selected"%>>17</option>
<option value="18" <%if strImagesIN="18" then response.write "selected"%>>18</option>
<option value="19" <%if strImagesIN="19" then response.write "selected"%>>19</option>
<option value="20" <%if strImagesIN="20" then response.write "selected"%>>20</option>
<option value="21" <%if strImagesIN="21" then response.write "selected"%>>21</option>
<option value="22" <%if strImagesIN="22" then response.write "selected"%>>22</option>
</select>
</td></tr>
<tr><td>【请选择头像】<br><font color="green">点击图片查看所有头像</font></td></tr>
</table>
全部回答
  • 1楼网友:春色三分
  • 2021-07-24 13:34

你还是学学ASP或者JSP吧

我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯