出现问题:请看http://www.myrongyao.com/bbs
滚动到第二条时,状态栏上面(注意状态栏)就会出现一个滚动框,可以向右拉了,就是把原来的表格撑大了,这样看起来很不美观。不知道是哪里出错了,望能解决一下,谢谢。
index.htm页面代码:
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:512px;
top:1799px;
width:340px;
height:31px;
z-index:1;
}
#Layer2 {
position:absolute;
width:362px;
height:106px;
z-index:2;
left: 412px;
top: 761px;
}
#Layer3 {
position:absolute;
width:338px;
height:23px;
z-index:3;
left: 391px;
top: 940px;
}
#Layer4 {
position:absolute;
left:414px;
top:813px;
width:340px;
height:22px;
z-index:3;
}
#Layer5 {
position:absolute;
width:200px;
height:115px;
z-index:4;
}
#Layer6 {
position:absolute;
width:339px;
height:23px;
z-index:1;
top: 43px;
left: 6px;
}
#Layer7 {
position:absolute;
width:200px;
height:115px;
z-index:5;
}
-->
</style>
{template header}
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" style="table-layout: fixed">
<tr><td class="nav" width="85%" align="left" nowrap> <a href="index.php">$bbname</a> $navigation</td>
<td align="right" width="15%"><!--{if $rssstatus}--><a href="rss.php?auth=$rssauth" target="_blank"><img src="images/common/xml.gif" border="0" align="absmiddle" alt="{lang rss_subscribe_all}"></a><!--{/if}-->
<a href="#bottom"><img src="{IMGDIR}/arrow_dw.gif" border="0" align="absmiddle"></a></td>
</tr></table><br>
</div>
<div class="maintable">
<table cellspacing="{TABLESPACE}" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="outertxt">
<tr><td class="smalltxt">
{lang timenow} $currenttime, {lang your_lastvisit} $lastvisittime<br>
{lang credits}: <span class="bold">$credits</span>
<!--{loop $extcredits $id $credit}-->
$credit[title]: <span class="bold">$GLOBALS[extcredits.$id]</span>$credit[unit]
<!--{/loop}-->
/ {lang index_status}:
<!--{if $validdays}--><a href="member.php?action=groupexpiry"><span class="bold">$grouptitle</span>($validdays)</a><!--{else}--><span class="bold">$grouptitle</span><!--{/if}-->
<!--{if !empty($invisible)}--> / {lang login_invisible_mode}<!--{/if}-->
</td><td align="right" nowrap class="smalltxt">
<a href="search.php?srchfrom=$newthreads&searchsubmit=yes">{lang show_newthreads}</a> |
<!--{if $discuz_uid}-->
<a href="search.php?srchuid=$discuz_uid&mytopics=yes&searchsubmit=yes">{lang show_mytopics}</a> |
<!--{if $allowuseblog}-->
<a href="blog.php?uid=$discuz_uid" target="_blank">{lang blog}</a> |
<!--{/if}-->
<!--{/if}-->
<a href="digest.php">{lang digest}</a> |
<a href="member.php?action=markread">{lang mark_read}</a>
| {lang welcome_newmember} <a href="viewpro.php?username=$memberenc"><span class="bold">$lastmember</span></a><br>
{lang total} <span class="bold">$threads</span> {lang index_threads} / <span class="bold">$posts</span> {lang index_posts} / {lang index_today} <span class="bold">$todayposts</span> {lang index_posts} / <span class="bold">$totalmembers</span> {lang index_members}
</td></tr></table>
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#660000">
<tr>
<td width="225" bgcolor="#efdebd"><div align="center"><a href="http://www.myrongyao.com/bbs/viewthread.php?tid=1222&extra=page=1" target="_blank">公会制度</a></div></td>
<td width="225" bgcolor="#efdebd"><div align="center"><a href="http://www.myrongyao.com/bbs/viewthread.php?tid=1261&extra=page=1" target="_blank">魔兽世界 DKP RAID制度 </a></div></td>
<td width="225" bgcolor="#efdebd"><div align="center"><a href="http://www.myrongyao.com/dkp/" target="_blank">魔兽世界DKP系统</a></div></td>
<td width="220" bgcolor="#efdebd"><div align="center"><a href="http://www.myrongyao.com/bbs/plugin.php?identifier=download&module=download" target="_blank">语音插件/工具下载</a></div></td>
</tr>
</table>
<br />
</div>
<!--{if empty($gid)}-->
<div class="maintable">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="{TABLESPACE}" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr class="header"><td colspan="3">$bbname {lang index_announcements}</td></tr>
<tr class="altbg2" align="center">
<td colspan="3" align="center">
<!--{if empty($announcements)}-->
{lang index_noannouncement}
<!--{else}-->
<div id="so1">
$announcements
</div><div id='so2' style='position:absolute;z-index:1;visibility:hidden'></div>
<script>
marqueesHeight=16;
stopscroll=false;
document.all.so1.scrollTop=0;
with(so1){
style.width=776;
style.height=marqueesHeight;
style.overflowX='visible';
style.overflowY='hidden';
noWrap=true;
onmouseover=new Function('stopscroll=true');
onmouseout=new Function('stopscroll=false');
}
preTop=0; currentTop=0; stoptime=0;
function init_srolltext(){
document.all.so2.innerHTML='';
document.all.so2.innerHTML+=document.all.so1.innerHTML;
document.all.so1.innerHTML=document.all.so2.innerHTML+document.all.so2.innerHTML;
setInterval('scrollUp()',1);
}
function scrollUp(){
if(stopscroll==true) return;
currentTop+=1;
if(currentTop==16)
{
stoptime+=1;
currentTop-=1;
if(stoptime==200)
{
currentTop=0;
stoptime=0;
}
}
else {
preTop=document.all.so1.scrollTop;
document.all.so1.scrollTop+=1;
if(preTop==document.all.so1.scrollTop){
document.all.so1.scrollTop=document.all.so2.offsetHeight-marqueesHeight;
document.all.so1.scrollTop+=1;
}
}
}
setTimeout('init_srolltext()', 3000)
</script>
<!--{/if}-->
</td></tr>
<!--{if $qihoo_status && $searchboxstatus}-->
<tr class="altbg2"><td>
<table width="100%" border="0" cellpadding="1" cellspacing="0">
<tr><td width="50%">
<!--{if $qihoo_links['keywords']}-->
<span class="bold">{lang qihoo_hot_searches}</span>
<!--{loop $qihoo_links['keywords'] $link}-->
$link
<!--{/loop}-->
<!--{/if}-->
</td><td align="right">
<img src="{IMGDIR}/search.gif" border="0" align="bottom" width="16" height="16"> <input type="text" name="searchbox" value="{lang qihoo_keyword}" size="30" class="altbg2" onmouseover="this.focus()" onfocus="this.select()">
<select name="stype"><option value="" selected>{lang qihoo_search_filltext}</option><option value="1">{lang qihoo_search_title}</option></select>
<input name="button" type="button" style="height: 1.8em" onclick="window.open('search.php?srchtype=qihoo&srchtxt='+findobj('searchbox').value+'&stype='+findobj('stype').value+'&searchsubmit=yes');" value="{lang qihoo_search}">
</td></tr>
<tr><td>
<!--{if $qihoo_links['topics']}-->
<span class="bold">{lang qihoo_topics}</span>
<!--{loop $qihoo_links['topics'] $url}-->
{$url}
<!--{/loop}-->
<!--{/if}-->
</td><td align="right">
<!--{if $customtopics}-->
<span class="bold">{lang qihoo_custom_topics}</span> $customtopics [<a href="#" onclick="window.open('misc.php?action=customtopics', '', 'width=320,height=450,resizable=yes,scrollbars=yes');">{lang edit}</a>]
<!--{/if}-->
</td>
</tr>
</table>
</td></tr>
<!--{/if}-->
</table><br></div>
<!--{/if}-->
<!--{if !empty($newpmexists)}-->
<div class="maintable">
{template pmprompt}
</div>
<!--{/if}-->
<!--{if !empty($advlist['text'])}-->
<!--{/if}-->
<!--{loop $forumlist $key $forum}-->
<!--{if $forum['type'] == 'group' && $forumlist[($key + 1)]['type'] == 'forum'}-->
<!--{if $key}-->
</tbody>
</table>
</div>
<!--{/if}-->
<div class="maintable">
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="4" width="{TABLEWIDTH}" align="center" class="tableborder">
<tr><td colspan="7" class="header"><table cellspacing="0" cellpadding="0" width="100%">
<tr class="smalltxt"><td class="bold"><a href="index.php?gid=$forum[fid]">$forum[name]</a></td><td align="right">
<!--{if $forum['moderators']}--><font color="{HEADERTEXT}">{lang forum_category_modedby}: $forum[moderators]</font> <!--{/if}-->
<a href="#" onclick="toggle_collapse('category_$forum[fid]');"><img id="category_$forum[fid]_img" src="{IMGDIR}/$forum[collapseimg]" border="0"></a>
</td>
</tr></table></td></tr>
<tr class="category" align="center">
<td width="5%"> </td>
<td width="51%">{lang forum_name}</td>
<td width="5%">{lang forum_threads}</td>
<td width="5%">{lang forum_posts}</td>
<td width="5%">{lang forum_todayposts}</td>
<td width="13%">{lang forum_lastpost}</td>
<td width="16%">{lang forum_moderators}</td>
</tr><tbody id="category_$forum[fid]" style="$collapse['category_'.$forum[fid]]">
<!--{elseif $forum['permission']}-->
<tr>
<td height="52" align="center" class="altbg1">$forum[folder]</td>
<td class="altbg2" align="left" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
$forum[icon]<a href="forumdisplay.php?fid=$forum[fid]"><span class="bold">$forum[name]</span></a>
<br><span class="smalltxt">$forum[description]<!--{if isset($forum['subforums'])}--><br><span class="bold">{lang forum_subforums}:</span> $forum[subforums]<!--{/if}--></span></td>
<td class="altbg1" align="center">$forum[threads]</td>
<td class="altbg2" align="center">$forum[posts]</td>
<td class="altbg1" align="center">$forum[todayposts]</td>
<!--{if $forum['permission'] == 1}-->
<td class="altbg2" align="center"><span class="smalltxt"></span>{lang private_forum}</span></td>
<!--{else}-->
<!--{if is_array($forum['lastpost'])}-->
<td class="altbg2"><table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr><td align="right" class="smalltxt" title="{lang forum_lastpost_in}: $forum[lastpost][subject]" nowrap>
$forum[lastpost][dateline]<br>{lang forum_lastpost_by} <!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--></td>
<td nowrap> <a href="redirect.php?tid=$forum[lastpost][tid]&goto=lastpost#lastpost"><img src="{IMGDIR}/lastpost.gif" border="0"></a></td>
</tr></table></td>
<!--{else}-->
<td class="altbg2" align="center"><span class="smalltxt">{lang never}</span></td>
<!--{/if}-->
<!--{/if}-->
<td class="altbg1" align="center" style="word-break: keep-all"><span class="smalltxt">$forum[moderators]</span></td></tr>
<!--{/if}-->
<!--{/loop}-->
<!--{if empty($gid) && ($_DCACHE['forumlinks'] || $whosonlinestatus || $bdaystatus == 1 || $bdaystatus == 3)}-->
<!--{if empty($forumlist)}--><br><br><!--{else}--></table>
<br />
</div>
<div class="maintable"><!--{/if}-->
<table cellspacing="{INNERBORDERWIDTH}" cellpadding="4" width="{TABLEWIDTH}" align="center" class="tableborder">
<!--{/if}-->
<!--{if empty($gid)}-->
<!--{if $_DCACHE['forumlinks']}-->
<tr><td colspan="3" class="header"><a href="#" onclick="toggle_collapse('forumlinks');"><img id="forumlinks_img" src="{IMGDIR}/$linkcollapseimg" align="right" border="0"></a>
<span class="bold">{lang board_links}</span></td>
</tr>
<tbody id="forumlinks" style="$collapse[forumlinks]">
<!--{loop $_DCACHE['forumlinks'] $flink}-->
<!--{if $flink['type'] == 1}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="77%" valign="middle" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
<td class="altbg2" width="18%" align="center" valign="middle"><img src="$flink[logo]" border="0"></a></td>
</tr>
<!--{elseif $flink['type'] == 2}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
</tr>
<!--{else}-->
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/forumlink.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">$flink[content]</td>
</tr>
<!--{/if}-->
<!--{/loop}-->
</tbody>
<!--{/if}-->
<!--{if $bdaystatus == 1 || $bdaystatus == 3}-->
<tr><td colspan="3" class="header"><a href="#" onclick="toggle_collapse('birthdays');"><img id="birthdays_img" src="{IMGDIR}/$linkcollapseimg" align="right" border="0"></a>
<span class="bold">{lang todays_birthdays}</span></td>
</tr>
<tbody id="birthdays" style="$collapse[birthdays]">
<tr>
<td class="altbg1" width="5%" align="center" valign="middle"><img src="{IMGDIR}/birthday.gif"></td>
<td class="altbg2" width="95%" colspan="2" valign="middle" style="word-break: keep-all" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
<!--{if $_DCACHE['settings']['todaysbdays']}-->$_DCACHE['settings']['todaysbdays']<!--{else}-->{lang todays_birthdays_none}<!--{/if}-->
</td></tr>
</tbody>
<!--{/if}-->
<!--{if $whosonlinestatus}-->
<!--{if $detailstatus}-->
<tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
<a name="online"></a><a href="index.php?showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" align="right" border="0"> </a>
<span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
<span class="bold">$onlinenum</span> {lang onlines} - <span class="bold">$membercount</span> {lang index_members}(<span class="bold">$invisiblecount</span> {lang index_invisibles}),
<span class="bold">$guestcount</span> {lang index_guests} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
</td></tr>
<!--{else}-->
<tr class="header"><td colspan="3" class="smalltxt" style="font-weight: normal; color: {HEADERTEXT}">
<a name="online"></a><a href="index.php?showoldetails=yes#online"><img src="{IMGDIR}/collapsed_yes.gif" align="right" border="0"></a>
<span class="bold"><a href="member.php?action=online">{lang index_activeusers}</a></span> -
{lang total} <span class="bold">$onlinenum</span> {lang onlines} | {lang index_mostonlines} <span class="bold">$onlineinfo[0]</span> {lang on} <span class="bold">$onlineinfo[1]</span>.
</td></tr>
<!--{/if}-->
<tr><td class="altbg1" width="5%" align="center"><img src="{IMGDIR}/online.gif"></td>
<td class="altbg2" colspan="2" onMouseOver="this.className='altbg1'" onMouseOut="this.className='altbg2'">
<table cellspacing="0" cellpadding="0" border="0" width="98%" align="center" class="smalltxt">
<tr><td colspan="7" valign="middle">$_DCACHE[onlinelist][legend]</td></tr>
<!--{if $detailstatus}-->
<tr><td colspan="7"><hr noshade size="0" width="100%" color="{BORDERCOLOR}" align="center"></td></tr><tr><td nowrap>
<!--{if $whosonline}-->
<!--{loop $whosonline $key $online}-->
<!--{if $key % 7 == 0}--></td></tr><tr><td width="15%" nowrap><!--{else}--></td><td width="15%" nowrap><!--{/if}-->
<img src="images/common/$online[icon]" align="absmiddle">
<a href="viewpro.php?uid=$online[uid]" title="{lang time}: $online[lastactivity]{LF}
{lang action}: $online[action]
<!--{if $online['fid']}-->{LF}{lang forum}: $online[fid]<!--{/if}-->
">$online[username]</a>
<!--{/loop}-->
<!--{else}-->
{lang online_only_guests}
<!--{/if}-->
<!--{/if}-->
</td></tr></table></td></tr>
<!--{/if}-->
<!--{/if}-->
</table>
<br />
<br>
</div>
<table width="100%" border="0" cellpadding="8" cellspacing="1">
<tr>
<td width="120"> </td>
<td width="370"><div id="Layer7">
<div align="right">
<script src="http://search.wowshell.com/js/WowSearch.js"></script>
</div>
</div></td>
<td width="50%"><div id="Layer5">
<div id="Layer6">
<script src='http://so.iknowgame.com/barjs.php'></script></div>
<img src="ddo.jpg" width="346" height="104" border="0" usemap="#MapMap" />
<map name="MapMap" id="MapMap">
<area shape="rect" coords="105,80,160,100" href="http://ddo.sdo.com" target="_blank" />
<area shape="rect" coords="184,82,239,101" href="http://bbs.ddo.sdo.com/" target="_blank" />
</map>
</div></td>
</tr>
</table>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table cellspacing="0" cellpadding="0" border="0" width="{TABLEWIDTH}" align="center" class="outertxt">
<tr><td align="center" class="smalltxt">
<img src="{IMGDIR}/red_forum.gif" align="absmiddle"> {lang forum_newposts}
<img src="{IMGDIR}/forum.gif" align="absmiddle"> {lang forum_nonewpost}</td></tr></table>
{template footer}
[ 本帖最后由 天下寻龙 于 2006-6-10 03:33 编辑 ] |