| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1114 人关注过本帖
标题:[求助]这个功能如何实现
取消只看楼主 加入收藏
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
 问题点数:0 回复次数:7 
[求助]这个功能如何实现
http://www.uaa.cn/左下角社区热帖 周排行 月排行
点击他们,只有它们下面的页面刷新了 如何实现呢?
图片附件: 游客没有浏览图片的权限,请 登录注册

图片附件: 游客没有浏览图片的权限,请 登录注册

搜索更多相关主题的帖子: 社区 如何 
2006-07-04 13:55
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 

你这个是死的,做好了就不能改了
我想做的是从数据库里读去数据,不过还是要好好谢谢您

2006-07-04 14:49
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
step_day等未定义  如何定义?
2006-07-04 15:14
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
step_day.style.display = "";
Microsoft JScript 运行时错误: 缺少对象
这次更厉害了 呵呵
2006-07-04 15:56
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="style[1].css" type=text/css rel=stylesheet>
<SCRIPT LANGUAGE="JavaScript">
function loadok()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "";//这里出错
step_week.style.display = "none";
step_month.style.display = "none";
}
function dayShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "";
step_week.style.display = "none";
step_month.style.display = "none";
}
function weekShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "none";
step_week.style.display = "";
step_month.style.display = "none";
}
function monthShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "none";
step_week.style.display = "none";
step_month.style.display = "";
}
loadok();
错误:Microsoft JScript 运行时错误: 缺少对象
我估计下面都是同样的错误
2006-07-04 16:12
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK href="style[1].css" type=text/css rel=stylesheet>
<SCRIPT LANGUAGE="JavaScript">
function loadok()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "";
step_week.style.display = "none";
step_month.style.display = "none";
}
function dayShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "";
step_week.style.display = "none";
step_month.style.display = "none";
}
function weekShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "none";
step_week.style.display = "";
step_month.style.display = "none";
}
function monthShow()
{
var step_day=document.getElementById("step_day");
var step_week=document.getElementById("step_week");
var step_month=document.getElementById("step_month");
step_day.style.display = "none";
step_week.style.display = "none";
step_month.style.display = "";
}
loadok();
</SCRIPT>
</head>
<body>
<table><tr>
<td align="right">
<a href="javascript:;" onclick="javascript:dayShow()">
<img src="0323_bbs_tu_54.gif" width="74" height="26" border="0"></a>
</td>
<td align="right">
<a href="javascript:;" onclick="javascript:weekShow()">
<img src="0323_bbs_tu_55.gif" width="57" height="26" border="0"></a>
</td>
<td align="center">
<a href="javascript:;" onclick="javascript:monthShow()">
<img src="0323_bbs_tu_56.gif" width="59" height="26" border="0"></a>
</td>
</tr></table>
<span id=step_day>
<table width="226" border="0" cellpadding="0" cellspacing="5" bgcolor="#EED4A3">
<tr>
<td valign="top" bgcolor="#FFFFFF" class="333333_top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="bbs_kuang">
<tr>
<td width="12%" height="20" align="center" bgcolor="#FFFDE6"><img src="index_top_20.gif" width="3" height="5"></td>
<td width="88%" bgcolor="#FFFDE6"><a href="http://bbs.uaa.cn/viewthread.php?tid=7978" target="_blank">我的第一次啊!</a></td>
</tr>
</table>
</td>
</tr>
</table>
</span>
<span id=step_week style="display:none">
<table width="226" border="0" cellpadding="0" cellspacing="5" bgcolor="#EED4A3">
<tr>
<td valign="top" bgcolor="#FFFFFF" class="333333_top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="bbs_kuang">
<tr>
<td width="12%" height="20" align="center" bgcolor="#FFFDE6"><img src="index_top_20.gif" width="3" height="5"></td>
<td width="88%" bgcolor="#FFFDE6"><a href="http://bbs.uaa.cn/viewthread.php?tid=7978" target="_blank">我的第二次啊!</a></td>
</tr>
</table>
</td>
</tr>
</table>
</span>
<span id=step_month style="display:none">
<table width="226" border="0" cellpadding="0" cellspacing="5" bgcolor="#EED4A3">
<tr>
<td valign="top" bgcolor="#FFFFFF" class="333333_top">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="bbs_kuang">
<tr>
<td width="12%" height="20" align="center" bgcolor="#FFFDE6"><img src="index_top_20.gif" width="3" height="5"></td>
<td width="88%" bgcolor="#FFFDE6"><a href="http://bbs.uaa.cn/viewthread.php?tid=7978" target="_blank">我的第三次啊!</a></td>
</tr>
</table>
</td>
</tr>
</table>
</span>
2006-07-04 16:17
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
我这个也应该是完整的啊,为什么就不行呢?
2006-07-04 16:21
白小痴
Rank: 1
等 级:新手上路
帖 子:61
专家分:0
注 册:2006-5-5
收藏
得分:0 
如果我用你的完整的就出现未定义那个错误;
如果加上定义,就出现缺少对象的错误
2006-07-04 16:22
快速回复:[求助]这个功能如何实现
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013405 second(s), 9 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved