以下这段代码,实现一个隐藏行的功能。不过我想知道,在第一行有多个 的情况下,怎样和隐藏行对齐。

hobyyyy 2004-10-26 11:20:20
以下这段代码,实现一个隐藏行的功能。
不过我想知道,在第一行有多个<td> 的情况下,怎样和隐藏行对齐。

<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style>
body,td {
FONT: 9pt Arial;
}
.collapsed {
DISPLAY: none
}
.line {
CURSOR: hand
}
.article {
BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); POSITION: absolute; VISIBILITY: hidden
; background-color: #FFCC00; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px
}
.DEK {POSITION:absolute;VISIBILITY:hidden;Z-INDEX:200;}
.jj {vertical-align:bottom ;background-color:#ececc0;height:20;padding:3;}

</style>
<SCRIPT language=JScript>

function outliner()
{
var child = document.all[event.srcElement.getAttribute("child",false)];
if (null != child){
if(child.className == "collapsed")
{
child.className = "expanded";
return;
}
if(child.className == "expanded")
{
child.className = "collapsed";
return;
}
}
}



//-->
</SCRIPT>
</HEAD>

<BODY>
<table width="80%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td onMouseOver="this.style.color='#cc0033';" onMouseOut="this.style.color='#2A43A2';" class=title onclick=outliner()
bgColor=#B2CDE9 height=18 child="DALL"
NAME="NAME_BALL" style="cursor:hand" colspan="" >open&close</td>

</tr>
<tr>
<td>
<DIV class=collapsed id=DALL>
<DIV onclick=outliner() child="DALL1">
<TABLE cellSpacing="1" cellPadding=0 width="100%" border=0 class="jj">

<TR>
<TD width="32%"><a name="Market Place"></a>Market Place</TD>
<TD width="68%">Market Place </TD>
</TR>

</TABLE>
</DIV></DIV>

</td>

</tr>

</table>
</BODY>
</HTML>
...全文
160 1 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
JK_10000 2004-10-26
  • 打赏
  • 举报
回复
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<style>
body,td {
FONT: 9pt Arial;
}
.collapsed {
DISPLAY: none
}
.line {
CURSOR: hand
}
.article {
BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); POSITION: absolute; VISIBILITY: hidden
; background-color: #FFCC00; padding-top: 3px; padding-right: 3px; padding-bottom: 3px; padding-left: 3px
}
.DEK {POSITION:absolute;VISIBILITY:hidden;Z-INDEX:200;}
.jj {vertical-align:bottom ;background-color:#ececc0;height:20;padding:3;}

</style>
<SCRIPT language=JScript>

function outliner()
{
var child = document.all[event.srcElement.getAttribute("child",false)];
if (null != child){
if(child.className == "collapsed")
{
child.className = "expanded";
return;
}
if(child.className == "expanded")
{
child.className = "collapsed";
return;
}
}
}



//-->
</SCRIPT>
</HEAD>

<BODY>
<table width="80%" border="1" cellspacing="0" cellpadding="0">
<tr>
<td onMouseOver="this.style.color='#cc0033';" onMouseOut="this.style.color='#2A43A2';" class=title onclick=outliner()
bgColor=#B2CDE9 height=18 child="DALL"
NAME="NAME_BALL" style="cursor:hand" colspan="" >open&close</td>


<td onMouseOver="this.style.color='#cc0033';" onMouseOut="this.style.color='#2A43A2';" class=title onclick=outliner()
bgColor=#B2CDE9 height=18 child="DALL"
NAME="NAME_BALL" style="cursor:hand" colspan="" >open&close</td>


<td onMouseOver="this.style.color='#cc0033';" onMouseOut="this.style.color='#2A43A2';" class=title onclick=outliner()
bgColor=#B2CDE9 height=18 child="DALL"
NAME="NAME_BALL" style="cursor:hand" colspan="" >open&close</td>


<td onMouseOver="this.style.color='#cc0033';" onMouseOut="this.style.color='#2A43A2';" class=title onclick=outliner()
bgColor=#B2CDE9 height=18 child="DALL"
NAME="NAME_BALL" style="cursor:hand" colspan="" >open&close</td>

</tr>
<tr>
<td colspan=100>
<DIV class=collapsed id=DALL>
<DIV onclick=outliner() child="DALL1">
<TABLE cellSpacing="1" cellPadding=0 width="100%" border=0 class="jj">

<TR>
<TD width="32%"><a name="Market Place"></a>Market Place</TD>
<TD width="68%">Market Place </TD>
</TR>

</TABLE>
</DIV></DIV>

</td>

</tr>

</table>
</BODY>
</HTML>
内容概要:本文详细介绍了名为MoSca的系统,该系统旨在从单目随意拍摄的视频中重建和合成动态场景的新视角。MoSca通过4D Motion Scaffolds(运动支架)将视频数据转化为紧凑平滑编码的Motion Scaffold表示,并将场景几何和外观与变形场解耦,通过高斯融合进优化。系统还解决了相机焦距和姿态的问题,无需额外的姿态估计工具。文章不仅提供了系统的理论背景,还给出了基于PyTorch的简化实现代码,涵盖MotionScaffold、GaussianFusion、MoScaSystem等核心组件。此外,文中深入探讨了ARAP变形模型、2D先验到3D的提升、动态高斯表示、相机参数估计等关键技术,并提出了完整的训练流程和性能优化技巧。 适用人群:具备一定计算机视觉和深度学习基础的研究人员和工程师,特别是对动态场景重建和新视角合成感兴趣的从业者。 使用场景及目标:①从单目视频中重建动态场景的新视角;②研究和实现基于4D Motion Scaffolds的动态场景表示方法;③探索如何利用预训练视觉模型的先验知识提升3D重建质量;④开发高效的动态场景渲染和优化算法。 其他说明:本文提供了详细的代码实现,包括简化版和深入扩展的技术细节。阅读者可以通过代码实践加深对MoSca系统的理解,并根据具体应用场景调整和扩展各个模块。此外,文中还强调了物理启发的正则化项和多模态先验融合的重要性,帮助实现更合理的变形和更高质量的渲染效果。

87,996

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧