httpFolder Behavior

MS Office DHTML, HTML & CSS

httpFolder Behavior


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

Syntax

XMLN/A
HTML<ELEMENT STYLE="behavior:url('#default#httpFolder')" ID=sID>
Scriptingobject.style.behavior = "url('#default#httpFolder')"
object.addBehavior ("#default#httpFolder")

Possible Values

sID String that specifies a unique identifier for the object.

Members

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.

Sample Code

<STYLE>
.httpFolder{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 = "httpFolder"
      onclick = "fnNavigate()"
>
Display this page in folder view.
</SPAN>

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
Version data is listed when the mouse hovers over a link, or the link has focus.
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

web folder behaviorsInternet Link

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.