深山工作室

深山工作室 > 技术文章

asp随机显示图象

asp随机显示图象 <%dim p,ppic,dpic ppic=12 randomize p=Int((ppic*rnd)+1) dpic="graphix/randompics/"&p&".gif" %>显示 < img src="<%=dpic%>" >...阅读全文

asp获得当前文件的虚拟物理路径

asp获得当前文件的虚拟物理路径 <% = Server.MapPath("\")%>...阅读全文

超级强的div+css点击变样式菜单,特别推荐

以下为详细代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http...阅读全文

如何让文本框不出现提交过的表单信息

如何让文本框不出现提交过的表单信息在<form></form>标签中添加autocomplete="off" 例如: <form name="form1" method="post" autocomplete="off" action="userlogin.do"> 或者在<...阅读全文

图片链接默认链接为灰色,鼠标放上去变彩色css效果代码

以下为详细代码 <STYLE type=text/css> a img {FILTER:gray} a:hover img {FILTER:} </STYLE> <h2>图片链接默认链接为灰色,鼠标放上去变彩色css效果代码</h2> <a href...阅读全文

126邮箱TAB效果(同一页面可多次使用)

用到的图片 以下为详细代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > <html xmlns="http://www.w3.org/1999/xhtml"> <head> ...阅读全文

asp随机数字,可以当成随机验证码使用

asp随机数字,可以当成随机验证码使用 <%Randomizean=""an= int((99-11+1) * RND +11)if an > 80 then an="aa"end if Response.Write an%>...阅读全文

asp设置cookies过期时间的几种方法

设置cookies过期时间的几种方法 Response.Cookies("user_name").Expires=Date+1 ’指定cookie保存时间 保留COOKIES一个小时 Response.Cookies("MyCookie").Expires= (now()+1/24) Response.Cookies...阅读全文

web2.0 舒服的颜色

以下为详细代码 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.or...阅读全文

防止网站内容被人小偷和采集的ASP代码

防止网站内容被人小偷和采集的ASP代码 防止一般的采集以及小偷读取,加在顶部。同理,可以改造成JS脚本。 <%Dim AppealNum,AppealCountAppealNum=10          &nb...阅读全文

页次:66/95页 共950