随笔分类 -  js,css,html

包含javascript,dhtml,css,html,xml的内容
摘要:css position 的妙用,行自动对齐 女明星们的天价豪华产子费用(组图) 女明星们的天价豪华产子费用(组图) s女明星们的天价豪华产子费用(组图) s女明星们的天价豪华产子费用(组图) s女明星们的天价豪华产子费用(组图) s地方 [影视] 阅读全文

posted @ 2007-08-07 17:58 古代 阅读(439) 评论(0) 推荐(0) 编辑

摘要:media player控制 player.controls.play(); 播放player.controls.stop(); 停止player.controls.pause(); 暂停player.controls.currentPosition 返回播放文件的当前时间位置(以秒为单位)player.controls.currentPositionString 时间格式的字符串 "0:32"p... 阅读全文

posted @ 2007-08-04 22:08 古代 阅读(979) 评论(0) 推荐(0) 编辑

摘要:大富翁(Rich)下载大富翁(Rich)下载js来自鸟食轩http://files.cnblogs.com/gudai/highlightsearchword.zip 阅读全文

posted @ 2007-08-03 14:03 古代 阅读(297) 评论(0) 推荐(0) 编辑

摘要:function reloadCd(){ var timenow = new Date().getTime(); url="/check_code.php"; id = url.indexOf('?'); if(id >= 0 ){ if(id == (url.length-1)) url = url +"t="+ timenow;... 阅读全文

posted @ 2007-08-02 11:02 古代 阅读(298) 评论(0) 推荐(0) 编辑

摘要:function GetCookie(sName){ var aCookie = document.cookie.split("; "); for (var i=0; i < aCookie.length; i++) { var aCrumb = aCookie[i].split("="); if (sName == aCrumb[0]) ... 阅读全文

posted @ 2007-07-31 16:05 古代 阅读(236) 评论(0) 推荐(0) 编辑

摘要:验证码: 阅读全文

posted @ 2007-07-24 11:58 古代 阅读(1142) 评论(0) 推荐(0) 编辑

摘要:function selectAll(fname,tag){ var f = eval( "document."+fname ); var o = f.getElementsByTagName("input"); for( obj in o) { var newo = o[obj]; if( obj=="songIds[]" ) {... 阅读全文

posted @ 2007-07-15 23:19 古代 阅读(690) 评论(1) 推荐(0) 编辑

摘要:把css里的li定义去掉,对比看效果。 多特软件基地|绿色免费软件下载|游戏下载|高速下载abcdefdefdefdef 阅读全文

posted @ 2007-06-30 20:27 古代 阅读(158) 评论(0) 推荐(0) 编辑

摘要:月圆之夜1紫禁之颠2西门吹雪3天外飞仙4太阳之夜5紫禁之谷6西门吹风7天外飞碟8月圆之夜9紫禁之颠10西门吹雪11天外飞仙12太阳之夜13紫禁之谷14西门吹风15天外飞碟16 阅读全文

posted @ 2007-06-29 17:43 古代 阅读(230) 评论(0) 推荐(0) 编辑

摘要:if ( window.parent.document.innerHTML !== undefined) { alert('bad frame');} 阅读全文

posted @ 2007-06-25 11:52 古代 阅读(158) 评论(0) 推荐(0) 编辑

摘要:.contentT{ clear:both; border-top:1px solid #fff; border-left:1px solid #fff;}.contentT ul{ width: 300px; }.contentT li{ float:left; list-style-type:none; height:14px; width:52px; display:bl... 阅读全文

posted @ 2007-06-16 08:00 古代 阅读(2197) 评论(0) 推荐(0) 编辑

摘要:function copyTxt(vid){ if(document.all) { window.clipboardData.setData( "Text" , document.getElementById(vid).value ); alert("复制成功"); }}function $(id) { return document.getEl... 阅读全文

posted @ 2007-06-12 21:48 古代 阅读(746) 评论(0) 推荐(0) 编辑

摘要://bailing 2007-6-1function path_url(){ var o = new Object; //var arr = document.location.href.split(/\?http/); var arr = document.location.href.split(/\?/); if(arr.length<2) { ... 阅读全文

posted @ 2007-06-01 13:52 古代 阅读(333) 评论(0) 推荐(0) 编辑

摘要:target决定了浏览器到哪去找这个function 为_top就是到父框架中找 为框架内其他框架页的名,则去其页面找。 JS self JS TOP JS Left 类似这样 阅读全文

posted @ 2007-05-21 09:15 古代 阅读(313) 评论(0) 推荐(0) 编辑

摘要:microsoft script debugger http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=e606e71f-ba7f-471e-a57d-f2216d81ec3d firefox的fireBug扩展,能设断点,添加调试语句,爽。 Microsoft Script Editor 这... 阅读全文

posted @ 2007-05-16 11:58 古代 阅读(1970) 评论(1) 推荐(0) 编辑

摘要:如果表单是这样写的 name=a[] name=a[] 那么用 vo = document.getElementsByName('a[]'); n = vo.length; for (var i=0; i 阅读全文

posted @ 2007-05-16 11:48 古代 阅读(385) 评论(0) 推荐(0) 编辑

摘要:var tempColor = "#000000";function returnColor(vNum){ var Hcolor = dlgHelper.ChooseColorDlg(tempColor).toString(16); with(event.srcElement) { var fcObj = $("color"+vNum); fcOb... 阅读全文

posted @ 2007-04-14 21:11 古代 阅读(310) 评论(0) 推荐(0) 编辑

摘要:function path_info(filename){ var tmpo = new Object; tmpo.dir = filename.replace( /[^\/\\]+$/ig , "" ); tmpo.fullname = filename.replace( /.+[\/\\]/ig , "... 阅读全文

posted @ 2007-04-10 14:53 古代 阅读(270) 评论(0) 推荐(0) 编辑

摘要:function parseParams(){ locationHref = document.location.href; arr = locationHref.split("?"); if ( typeof(arr[1]) != 'undefined' && arr[1]!='' ) { arr[1] = "'"+arr[1]+"'"; os... 阅读全文

posted @ 2007-04-03 21:28 古代 阅读(656) 评论(0) 推荐(0) 编辑

摘要:http://johnvey.com/features/deliciousdirector/web-service-broker.html 找到的解释是 document.domain property that is set, but is considered null by the security model until it is set explicitly. Unfortuna... 阅读全文

posted @ 2007-04-03 21:27 古代 阅读(1161) 评论(0) 推荐(0) 编辑