为PJ博客友情链接添加本站信息
作者:笨花 日期:2008-02-20
查找:
直接在后面跟着添加如下代码:
复制内容到剪贴板
程序代码
程序代码<br /><SCRIPT language=JavaScript>
function img_show(thw){
cells = document.getElementsByName(thw);
for(j = 0; j < cells.length; j++) cells[j].style.visibility = 'visible';
}
function img_hidden(thw){
cells = document.getElementsByName(thw);
for(j = 0; j < cells.length; j++) cells[j].style.visibility = 'hidden';
}
</SCRIPT>
<script type="text/javascript">
function copyText(obj)
{
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);}
</script>
本站名称:<span id="tbid">沈赟杰的博客</span> [<a name="" onclick="copyText(document.all.tbid)">点击复制</a>]<br/>
本站域名:<span id="tbid2">http://www.levevio.cn</span> [<a name="" onclick="copyText(document.all.tbid2)">点击复制</a>]<br/>
本站Logo:<IMG name=thw onmouseover=img_show('thw'); onmouseout=img_hidden('thw'); src='vistaqq.gif' border=0 style='Z-INDEX: 10; VISIBILITY: hidden;POSITION: absolute;left: 450px;'>
<LABEL onmouseover="img_show('thw');" onmouseout=img_hidden('thw');><span id="tbid3">http://www.levevio.cn/logo.gif</span> [<a name="" onclick="copyText(document.all.tbid3)">点击复制</a>]</LABEL>
</div>
function img_show(thw){
cells = document.getElementsByName(thw);
for(j = 0; j < cells.length; j++) cells[j].style.visibility = 'visible';
}
function img_hidden(thw){
cells = document.getElementsByName(thw);
for(j = 0; j < cells.length; j++) cells[j].style.visibility = 'hidden';
}
</SCRIPT>
<script type="text/javascript">
function copyText(obj)
{
var rng = document.body.createTextRange();
rng.moveToElementText(obj);
rng.scrollIntoView();
rng.select();
rng.execCommand("Copy");
rng.collapse(false);}
</script>
本站名称:<span id="tbid">沈赟杰的博客</span> [<a name="" onclick="copyText(document.all.tbid)">点击复制</a>]<br/>
本站域名:<span id="tbid2">http://www.levevio.cn</span> [<a name="" onclick="copyText(document.all.tbid2)">点击复制</a>]<br/>
本站Logo:<IMG name=thw onmouseover=img_show('thw'); onmouseout=img_hidden('thw'); src='vistaqq.gif' border=0 style='Z-INDEX: 10; VISIBILITY: hidden;POSITION: absolute;left: 450px;'>
<LABEL onmouseover="img_show('thw');" onmouseout=img_hidden('thw');><span id="tbid3">http://www.levevio.cn/logo.gif</span> [<a name="" onclick="copyText(document.all.tbid3)">点击复制</a>]</LABEL>
</div>
评论: 0 | 引用: 0 | 查看次数: -
发表评论
上一篇
下一篇

文章来自:
Tags:
相关日志: