轩辕策怎样来:给百度空间加flash播放器

来源:百度文库 编辑:神马品牌网 时间:2024/04/30 08:53:47
具体办法到我http://hi.baidu.com/3548786 看吧 帮我踩踩

虽然百度已经禁用了HTML编译功能,也禁用了FLASH,不过还是能实现,具体方法如下:

随便保存一个网页到收藏夹:然后重命名为HTML提交,把下面这组代码复制到刚刚保存的URL位置。

javascript:if(navigator.userAgent.indexOf('MSIE')>0){void(document.form1.spBlogText.value=frames['rte1'].document.body.innerText);void(document.form1.rte1.value='');document.foform1.submit()};
保存以后。就可以添加FLASH代码了,代码如下:

<a target="_blank"><img class="blogimg" style="WIDTH: 10px; HEIGHT: 5px; 'position: absolute'" height="2" alt="" width="1024" border="0" wmode="transparent" flash="" free="" imgfree.21cn.com="" src="javascript:tabline.innerHTML=%22<div><embed src=\' http://imgfree.21cn.com/free/flash/186.swf\' wmode=transparent style=\'position:absolute\' width=1024 height=502</div>%22;" /></a></div>

特别注意:保存FLASH代码时候不能加入图片,只能加入文字,保存完FLASH代码以后,才可以添加图片。
( 本文摘自知道fenglinloveyou的回答)

找到#m_pro div.image{}
然后加入一下代码:
background:url(http://imgfree.21cn.com/free/flash/49.swf) no-repeat bottom;padding-bottom:100px

PS:百度现在已经屏蔽了FLASH 加上去也没有用.