httpFolder Behavior
Contains scripting features that enable browser navigation to a folder view.
Syntax
XML N/A HTML <ELEMENT STYLE="behavior:url('#default#httpFolder')" ID=sID> Scripting object.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 ] Platform Version 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 behaviors
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.