如何在百度空间中增加时钟代码?

作者&投稿:法庙 (联系方式在网页底部的电邮联系)
百度空间的代码修改,怎么改,我以前设的时钟显示~

找出你模板中这段代码:
#m_pro DIV.act {
MARGIN-TOP: 10px; BACKGROUND: url(http://imgsrc.baidu.com/css/pic/item/e29465fac98fd28758ee9058.jpg) no-repeat 50% bottom; MARGIN-BOTTOM: 5px; PADDING-BOTTOM: 30px; COLOR: #ffffff; TEXT-ALIGN: center
}

1,删除·

2,或将以上的图片更换为:http://www.hongen.com/pub/date/date.png 这是个自动更新的时钟代码,只要添加到里面就可以显示的。

管理中心——空间装扮——模块——在“推荐模块”一栏里有个“热点模块”,点一下,里面有个“趣味数显时钟”,在它后面的框里打钩,点一下右上角的“保存”就可以了。
如果不喜欢,可以在“推荐模块”一栏下拉条往下拉,点“更多模块”,许多可爱的时钟任你选

/*常用插入时间图片位置的代码*/
图片显示位置——个人档案照片下面:
#m_pro div.act{margin-top:5px; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 22px; margin-bottom: 6px; }

图片显示位置——文章列表 标题下面:
#m_blog div.tit{font-size:14px;font-weight:bold; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 22px; margin-bottom: 6px; }

图片显示位置——文章列表 标题左面:
#m_blog div.tit{font-size:14px;font-weight:bold; line-height:24px; text-indent:120px; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat; }

图片显示位置——TAB导航栏:
#tabline{top:89px; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 32px; margin-bottom: 6px; }

图片显示位置——相册下面:
#m_album div.image{text-align:center; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 45px; margin-bottom: 1px; }

图片显示位置——每个友情链接下面:
#m_links div.line{margin-top:5px;line-height:8px;border-top:1px solid #F4C1B5; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 16px; margin-bottom: 10px; }

图片显示位置——每个最新评论下面:
#m_comment div.item{color:#000000;font-size:12px; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 22px; margin-bottom: 6px; }

图片显示位置——每个文章分类下面:
#m_artclg div.line{margin-top:5px;line-height:8px;border-top:1px solid #F4C1B5; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 16px; margin-bottom: 10px; }

图片显示位置——其他区域:
#comm_info div.line{margin-top:5px;line-height:8px;border-top:1px solid #BBC1C6; background:url(http://escati.linkopp.net/cgi-bin/date.cgi?trgb=red&srgb=red&prgb=red&timezone=GMT-0500) no-repeat bottom; padding-bottom: 22px; margin-bottom: 6px; }

具体做法如下

找到 #header div.rc 行替换成下面代码

#header div.rc{background:url("javascript:document.body.onload = function(){if(document.getElementById("header") ){var aminganjie=document.getElementById("header");aminganjie.innerHTML="<div><embed src=\'http://ys168.91.tc/flash/clock_1.swf\' wmode=transparent style=\'position:absolute\' width=100% height=300></div>"+aminganjie.innerHTML;}}");} 把height=300的300改小一点钟就会变小了

不懂可以问我```

有多种方法,上面是一种,还有就是直接把时钟的FLASH地址放在背景音乐播放器里面。

相关视频

怎样在百度空间添加时钟
管理中心——空间装扮——模块——在“推荐模块”一栏里有个“热点模块”,点一下,里面有个“趣味数显时钟”,在它后面的框里打钩,点一下右上角的“保存”就可以了。如果不喜欢,可以在“推荐模块”一栏下拉条往下拉,点“更多模块”,许多可爱的时钟任你选 ...

怎样让我的百度空间有时钟
管理中心,高级设置,自定义主页,开始自定义,添加模块,在模块分享平台中单击左上角“模块分类”中选择“主页挂件”,“时钟”,挑个喜欢的用~

如何在百度空间添加时钟链接?
管理中心——空间装扮——模块——在“推荐模块”一栏里有个“热点模块”,点一下,里面有个“趣味数显时钟”,在它后面的框里打钩,点一下右上角的“保存”就可以了。如果不喜欢,可以在“推荐模块”一栏下拉条往下拉,点“更多模块”,许多可爱的时钟任你选 ...

百度空间星座时钟怎么添加显示
打开了百度空间——管理中心——空间装扮,就在‘模块’版块里面把你的‘星座时钟’打勾就出来了

百度空间怎么添加CLOCKLINK的时钟?
不知道你说的时候是不是百度里面的一个模块,如果是,你可以登陆你的百度空间,通过:设置——空间装扮——增减模块——右边有一个下拉条选择更多模块,然后在弹出的网页中搜索你的clocklink。

怎样才能在百度空间里添加奥运金牌榜和时钟???
设置\/高级设置\/开始自定义\/添加榜模块\/ 添加到 空间 保存修改