HBCMS更多的中文手册参考:

httpFolder Behavior

DHTML文档教程

Contains scripting features that enable browser navigation to a folder view.

dhtml语法

XML <Prefix: CustomTag ID=sID STYLE="behavior:url('#default#httpfolder')" />
HTML <ELEMENT STYLE="behavior:url('#default#httpFolder')" ID=sID>
Scriptingobject.style.behavior = "url('#default#httpfolder')"
object.addbehavior ("#default#httpfolder")

dhtml可能的值

prefixprefix that associates the CustomTag with an XML namespace. This prefix is set using the xmlns attribute of the HTML tag.
CustomTagUser-defined tag.
sIDString that specifies a unique identifier for the object.

Members Table

MethodDescription
navigate Navigates the window to the specified location and displays the contents in folder view.
navigateFrame Navigates the window or frame to the specified location and displays the contents in folder view.

Remarks

The httpFolder behavior can be defined in a style block, or inline with the element.

the httpfolder behavior is available as of microsoft® internet explorer 5, only in the microsoft win32® platform.

DHTML代码范例

This example uses the httpFolder behavior to navigate to a folder view.

<STYLE>
.hhFolder{behavior:url(#default#httpFolder);}
</STYLE>
<SCRIPT>
function fnNavigate(){
var sFolder=location.href.substring(0,location.href.lastIndexOf("/"));
oViewFolder.navigate(sFolder);
}
</SCRIPT>
<SPAN ID=oViewFolder
CLASS = "hFolder"
onclick = "fnNavigate()"
>
Display this page in folder view.
</SPAN>

Applies To

A, ACRONYM, ADDRESS, AREA, B, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DFN, DIR, DIV, DL, DT, EM, FONT, FORM, hn, HR, I, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, KBD, LABEL, LI, LISTING, MAP, MARQUEE, MENU, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TEXTAREA, TT, U, UL, VAR, XMP

更多语法参考

About Web Folder Behaviors