• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
PHP开发记录
PHP以及web前端(ajax,js,jquery等)
博客园 首页 新随笔 管理
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 83 下一页

2008年9月25日

js做的皮肤更换,可以记住最后更换的效果。
摘要: <!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <htmlxmlns="http://www.w3.org/1999/xhtml"> <head> <metahttp-equiv="Content-Type"content="text/html;charset=gb2312" 阅读全文
posted @ 2008-09-25 19:41 corange 阅读(156) 评论(0) 推荐(0)
 
一个上传多个图片的js技巧
摘要: <scriptlanguage="JavaScript"> varnum=1; functionshow(obj){ if(obj.checked){ document.all.photoyn.style.display=""; document.all.photoyn.innerHTML="<inputtype=/"file/"size=/"25/"name=/"photopath/"class=/"upfile/"><fontcol 阅读全文
posted @ 2008-09-25 13:30 corange 阅读(209) 评论(0) 推荐(0)
 
 

2008年9月24日

返回当前网页的url
摘要: <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <metahttp-equiv="Content-Type"content="text/html;charset=gb2312"> <title>无标题文档</title> <styletype="text/c 阅读全文
posted @ 2008-09-24 13:39 corange 阅读(211) 评论(0) 推荐(0)
 
每次Title显示不同的名言
摘要: 每次都有不同的名言出来。 实现方法: 1.上传title.js到网站目录 2.在页面相应位置添加以下代码: <scripttype="text/javascript"src="file/title.js"charset="UTF-8"></script> 3.title.js代码如下: _VC_DocumentTitles=newArray('世间的活动,缺点虽多,但仍是美好的','真正没有资格谈明天的人,是那个不懂得珍惜今天的人','修行就是修正自己错误的观念' 阅读全文
posted @ 2008-09-24 13:37 corange 阅读(101) 评论(0) 推荐(0)
 
未知高度的居中
摘要: <html> <head> <styletype="text/css"> .big { position:relative;width:300px;height:300px;background:#ffff00; } .small { position:absolute;top:50%;left:50%;background:#ff6600; } </style> </head> <body> <divclass="big"><divclass="smal 阅读全文
posted @ 2008-09-24 13:36 corange 阅读(120) 评论(0) 推荐(0)
 
 
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 83 下一页

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3