10 2009 档案

摘要:“SWFObject”是利用Javascript 插入flash,好处多多,代码简洁,不会出现IE6下的“单击此处以激活控件”的提示,并且能通过W3C验证。不同于传统的“object”插入flash的方法。SWFObject在新的2.x版本中,其最简单的调用竟只需一句话,并且不需要等待页面加载完成,这意味着你可以将这句话写在页面的任何地方。比以前的版本,要简便多了。下面来看几个简单常用的调用方法:1、最简单,最基本,只要想插入flash都能用到的经典一句话。Code highlighting produced by Actipro CodeHighlighter (freeware)http: 阅读全文
posted @ 2009-10-27 15:44 小吴同学 阅读(20887) 评论(2) 推荐(3) 编辑
摘要:JS Code:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> <scripttype="text/javascript">////方法一://varsubmit=0;//functioncheckSubmit(){//submit=submit+1;//if(submit>1){;//alert('第'+submit+'次提交');//returnfalse;//}// 阅读全文
posted @ 2009-10-22 18:04 小吴同学 阅读(3639) 评论(0) 推荐(1) 编辑
摘要:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->protectedvoidPage_Load(objectsender,EventArgse){if(!IsPostBack){for(inti=1;i<=9;i++){for(intj=1;j<=i;j++){intk=i*j;if(i==j){Response.Write("&nbsp;&nbsp;&nbsp;&nbsp;"+i 阅读全文
posted @ 2009-10-18 11:37 小吴同学 阅读(1634) 评论(2) 推荐(0) 编辑
摘要:使用Javascript刷新验证码目的是为了页面无刷新情况下重新得到验证码JS代码:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->functionRefreshCode(obj){obj.src=obj.src+"?code="+Math.random();}调用:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.Code 阅读全文
posted @ 2009-10-12 11:38 小吴同学 阅读(3871) 评论(2) 推荐(0) 编辑