html图片循环滚动无缝隙
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
/*gundongtupian*/
#demo0 {
width:712px;
height:134px;
overflow:hidden;
margin:auto;
}
#demo0 img {
float:left;
margin-left:10px;
border:3px #ffffff solid;
}
#indemo0 {
float: left;
width: 800%;
}
#demo10 {
float: left;
}
#demo20 {
float: left;
}
</style>
</head>
<body>
<div id="demo0">
<div id="indemo0">
<div id="demo10">
<a href="#"><img src="新建文件夹 (2)/5a26e5de4ad4c52a6327981a.jpg" width="167" height="128" border="0" /></a>
<a href="#"><img src="新建文件夹 (2)/2123231624_2.jpg" width="168" height="128" border="0" /></a>
<a href="#"><img src="新建文件夹 (2)/20504696081_2.jpg" width="168" height="128" border="0" /></a>
<a href="#"><img src="新建文件夹 (2)/20444573239_2.jpg" width="168" height="128" border="0" /></a>
<a href="#"><img src="新建文件夹 (2)/OOOPIC_vipvip4_20081117022e844ad21259a7543.jpg" width="168" height="128" border="0" /></a>
</div>
<div id="demo20"></div>
</div>
</div>
<script language="javascript">
<!--
var speed0=40; //数字越大速度越慢
var tabb=document.getElementById("demo0");
var tab
相关文档:
1.avi格式
代码片断如下:
<object id="video" width="400" height="200" border="0" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA">
<param name="ShowDisplay" value="0">
<param name="ShowControls" value="1">
<param name="AutoStart" value="1">
<param name="Auto ......
用javascript判断一个html元素是否存在的五种方法:
1. 判断表单元素是否存在(一)
if("periodPerMonth" in document.theForm){
return true;
}else{
return false;
}
2. 判断页面元素是否存在
if(document.getElementById("XXX")){
//存在
}
3. 判断表单元素是否存在(二)
if(document.theForm. ......
今天做项目过程中遇到了将下拉列表选择的值提交到服务器端保存,并在修改时取得对应的下拉列表的选择值问题。
如下:
<select name="flag"
onchange="this.options[this.selectedIndex].innerText);">
  ......