Contains scripting features that enable browser navigation to a folder view. Syntax XML |
<Prefix:
CustomTag ID=sID STYLE="behavior:url('#default#httpFolder')" />
|
---|
HTML |
<ELEMENT STYLE="behavior:url('#default#httpFolder')" ID=sID> |
---|
Scripting | object.style.behavior = "url('#default#httpFolder')" |
---|
object.addBehavior ("#default#httpFolder") |
Possible Values Prefix | Prefix that associates the CustomTag with an XML namespace. This prefix is
set using the XMLNS attribute of the HTML
tag.
| CustomTag | User-defined tag. | sID | String that specifies a unique identifier for the object. | |
Members Table
The following table lists the members exposed by the
httpFolder
object. Click a tab on the left to choose the type of member you want to view. Methods Method | Description |
---|
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.
Example
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 | |
See Also About Web Folder Behaviors
|