用JScript实现MembersTable

王朝html/css/js·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

在msdn online上讲解某个类的属性、方法、事件时,用到了一个MembersTable的表格。类似下图:

笔者研究其中的代码,经过简化也实现了这种效果,提供类似如下的<Table>,通过JScript,能够自动生成类似上图的MembersTable:

<BLOCKQUOTE>

<DIV id="oMTExplanation" style="display:none"></DIV>

<DIV id="oMT">

<P CLASS="clsRef" STYLE="display:none">属性</P>

<DIV tabName="属性">

<TABLE CLASS="clsStd" width="100%" STYLE="BACKGROUND: #FFFFFF">

<TR>

<TH>属性</TH>

<TH>说明</TH>

</TR>

<TR>

<TD>

<NOBR>

<A HREF="/workshop/author/behaviors/reference/properties/image.asp">image</A>

</NOBR>

</TD>

<TD>

Sets or retrieves the DirectAnimation Image (DAImage class) displayed by the <B>anim:DA</B> element.

</TD>

</TR>

<TR>

<TD>

<NOBR>

<A HREF="/workshop/author/behaviors/reference/properties/sound.asp">sound</A>

</NOBR>

</TD>

<TD>

Sets or retrieves the DirectAnimation sound (<B>DASound</B> class) played by the <B>anim:DA</B> element.

</TD>

</TR>

<TR>

<TD>

<NOBR>

<A HREF="/workshop/author/behaviors/reference/properties/statics.asp">statics</A>

</NOBR>

</TD>

<TD>

Retrieves an object containing the <B>DAStatics</B> class library used with DirectAnimation.

</TD>

</TR>

</TABLE>

</DIV>

<P CLASS="clsRef" STYLE="display:none">方法</P>

<DIV tabName="方法">

<TABLE CLASS="clsStd" width="100%" STYLE="BACKGROUND: #FFFFFF">

<TR>

<TH>方法</TH>

<TH>说明</TH>

</TR>

<TR>

<TD>

<NOBR>

<A HREF="/workshop/author/behaviors/reference/methods/adddabehavior.asp">addDABehavior</A>

</NOBR>

</TD>

<TD>

Adds a DirectAnimation behavior (DABehavior class) to the run list when the behavior is not part of the animation model.

</TD>

</TR>

<TR>

<TD>

<NOBR>

<A HREF="/workshop/author/behaviors/reference/methods/removedabehavior.asp">removeDABehavior</A>

</NOBR>

</TD>

<TD>

Removes a DirectAnimation behavior (DABehavior class) added by the <B>addDABehavior</B> method.

</TD>

</TR>

</TABLE>

</DIV>

</DIV>

</BLOCKQUOTE>

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航