<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %><!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 runat="server">
<title>无标题页</title>
</head>
<body background="aa.jpg"> <form id="form1" runat="server">
<table width="543" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td valign="bottom">
<div style="width:543px; height:21; overflow:hidden" onMouseOver="stop()" onMouseOut="start()">
</div>
</td>
</tr>
</table>
<table width="543" border="0" cellpadding="0" cellspacing="0" id="scrollimg" >
<tr>
<td id="simg">
<table width="543" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td nowrap="nowrap">
<font color="#FF6C02">*</font><a href="#">1.巧学巧用dfsdgdsgdfgfgdfdsfgdsgdf</a>
<font color="#FF6C02">*</font><a href="#">2.巧学巧用dfgfdsgsdfgdsfgdsfgdsf</a>
<font color="#FF6C02">*</font><a href="#">3.巧学巧用dfgdsdsfgdsgd</a>
</td>
</tr>
</table>
</td>
<td id="simg1"></td>
</tr>
</table>
<script language="javascript" type="text/javascript">
function newsScroll()
{
if(scrollimg.parentNode.scrollLeft!=(scrollimg.clientWidth/2))
scrollimg.parentNode.scrollLeft++;
else
scrollimg.parentNode.scrollLeft=0;
} var tm=null
function window.onload(){
simg1.innerHTML=simg.innerHTML tm=setInterval('newScroll()',20) } function stop(){
clearInterval(tm)
}
function start()
{
tm=setInterval('newScroll()',20)
}
</script>
</form>
</body>
</html>
<head runat="server">
<title>无标题页</title>
</head>
<body background="aa.jpg"> <form id="form1" runat="server">
<table width="543" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td valign="bottom">
<div style="width:543px; height:21; overflow:hidden" onMouseOver="stop()" onMouseOut="start()">
</div>
</td>
</tr>
</table>
<table width="543" border="0" cellpadding="0" cellspacing="0" id="scrollimg" >
<tr>
<td id="simg">
<table width="543" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td nowrap="nowrap">
<font color="#FF6C02">*</font><a href="#">1.巧学巧用dfsdgdsgdfgfgdfdsfgdsgdf</a>
<font color="#FF6C02">*</font><a href="#">2.巧学巧用dfgfdsgsdfgdsfgdsfgdsf</a>
<font color="#FF6C02">*</font><a href="#">3.巧学巧用dfgdsdsfgdsgd</a>
</td>
</tr>
</table>
</td>
<td id="simg1"></td>
</tr>
</table>
<script language="javascript" type="text/javascript">
function newsScroll()
{
if(scrollimg.parentNode.scrollLeft!=(scrollimg.clientWidth/2))
scrollimg.parentNode.scrollLeft++;
else
scrollimg.parentNode.scrollLeft=0;
} var tm=null
function window.onload(){
simg1.innerHTML=simg.innerHTML tm=setInterval('newScroll()',20) } function stop(){
clearInterval(tm)
}
function start()
{
tm=setInterval('newScroll()',20)
}
</script>
</form>
</body>
</html>
解决方案 »
- js 对象的数组 比较 ,若不同,则 返回对象的key
- 处理多个翻转器的问题
- 遇难问题 -- 关于src值得问题
- javascript在服务器端 能像php 那样绘图吗?
- 浏览器除了window对象、document对象外还有哪些对象,哪里有帮助文档?
- firefox中无法取得clientWidth和clientHeight的值
- 一个可输入的下拉框的例子与大家交流
- 在线等~~分不多~~紧急求支援~~jquery file upload 的template-upload中添加隐藏表单域,怎么在后台获取?
- 请教一个ie设置的问题
- 如何在打印时隐藏一个按钮
- 如何让Enter只换行,不触发按钮
- 模拟webOS界面效果的一个小问题
貌似里面没看到scrollimg这个对象啊~不知道哪里来的