javascript 图片 添加 中划线
<html>
<head>
<mce:style><!--
.tvline{width:240px;height:180px;border:0;}
.tvline td{border-top:1 solid #000000;font:1px;filter:alpha(opacity=30)}
--></mce:style><style mce_bogus="1"> .tvline{width:240px;height:180px;border:0;}
.tvline td{border-top:1 solid #000000;font:1px;filter:alpha(opacity=30)}
</style>
</head>
<body>
<table class=tvline cellpadding="0" cellspacing="0" background="photo1.jpg">
<mce:script type="javascript" language="Javascript"><!--
for(n=1;n<=90;n++)
document.write('<tr><td> </td></tr>')
// --></mce:script>
</table>
</body>
</html>
相关文档:
如何屏蔽javascript的错误信息:
只要在页面中加入如下代码即可:
<SCRIPT LANGUAGE='JavaScript'>
<!--
//屏蔽js错误
function ResumeError() {
return true;
}
window.onerror = ResumeError;
// -->
</SCRIPT> ......
上回说到,操作Object Array
其实还可以这样操作:
var Room = [
{
ID: 'bot',
name: 'test' ......
<!doctype html>
<html lang="zh-ch">
<head>
<meta charset="utf-8" />
<meta content="IE=8" http-equiv="X-UA-Compatible"/>
<title>mousewheel的事件绑定 by 司徒正美</title>
<mce:script type="text/javascript"><!--
window. ......
1. 让文字不停的滚动。
<marouee>滚动文字</marouee>
2.记录并显示网页的最后修改时间
<script language="javascript">
doucument.write("最后更新时间:" + document.lastModified + " " ......
<html>
<head>
<mce:script type = "text/javascript"><!--
function changetext()
{
var x = document.getElementById("list");
for (var i = 0;i < x.length;i++ )
{
if (x.options[i].selected)
{
document.getElemen ......