What's New in Microsoft Internet Explorer 6 (Script)

Note  As of December 2011, this article has been archived and is no longer actively maintained. For more information, see Archived Content. For information, recommendations, and guidance regarding the current version of Windows Internet Explorer, see Internet Explorer Developer Center.
 

The latest release of Microsoft Internet Explorer 6 is better than ever. This section contains a list of the new features. Building on the superior performance and stability of Microsoft Internet Explorer 5.5, it provides a fast and robust development platform while further improving the Web experience for the user. For example, Internet Explorer 6 provides additional support for the Document Object Model (DOM) Level 1 and Cascading Style Sheets, Level 1 (CSS1) standards. Internet Explorer 6 also offers extended Synchronized Multimedia Integration Language (SMIL) 2.0 HTML+TIME (Timed Interactive Multimedia Extensions) functionality, restricted SECURITY Iframes, new cursor styles, the onmousewheel event, and other features.

HTML+TIME

TopicContents
Abstract

Gets theAbstractcontent of the entry banner in anAdvanced Stream Redirector (ASX)file by using theeventobject.

addFragment

Adds a fragment to the composer site. Consults the registered composer factories to find the proper composer.

banner

Gets thebannercontent of an entry in anASXfile.

Banner

Gets theBannercontent of an entry in anASXfile using theeventobject.

bannerAbstract

Gets thebannerAbstractcontent of an entry in anASXfile.

bannerMoreInfo

Gets thebannerMoreInfocontent of an entry in anASXfile.

bufferingProgress

Gets a value that indicates the current percent of buffering completed.

by

Specifies a relative offset value for the progress of thetransitionFilterelement.

calcMode

Sets or gets the interpolation mode for the progress of thetransitionFilterelement.

detachFromComposer

Notifies the fragment to detach itself from the animation composer.

downloadCurrent

Gets a value that indicates the current number of bytes downloaded from streaming content.

downloadProgress

Gets a value that indicates the current percent of download completed.

downloadTotal

Gets a value that indicates the total size (in bytes) of the downloaded file.

earliestMediaTime

Gets a value that indicates the earliest time for efficient seeking.

enumerateFragments

Enumerates the fragments on the composer registered for the given attribute name.

from

Sets or gets a progress value indicating the point from which to begin the transition.

get_value

Retrieves an animated attribute's current value.

hasDownloadProgress

Gets aBooleanvalue that indicates whether a media file has started to download.

How to Create a Basic HTML+TIME Transition

This tutorial shows you how to use HTML+TIME transitions to allow an element to transition into view and then transition the element out of view. This is an example of using HTML+TIME transitions at a very basic level.

How to Create An Animated Presentation Using HTML+TIME Transitions

This tutorial shows you how to use HTML+TIME transitions to make an animated presentation. This presentation consists of several elements transitioning in and out of view. This is an example of using HTML+TIME transitions to coordinate the transitioning of several elements with one another. No scripting is used.

How to Make a Slide Show Using HTML+TIME Transitions

This tutorial shows you how to create a slide show where each slide transitions into view when the user clicks a "back" or "forward" button. Some scripting is used to transition the appropriate slide into view when the user clicks a button. This is an example of integrating scripting with HTML+TIME transitions to make applications utilizing transitions more dynamic.

How to Make An Animated Menu Using HTML+TIME Transitions

This tutorial shows you how to transition a menu in and out of view using a randomly selected type of HTML+TIME transition. Some scripting is used to enable the user to activate the transition by opening and closing the menu and dynamically changing the type of transition applied to the menu. This is an example of integrating scripting with HTML+TIME transitions to make applications that utilize more dynamic transitions.

insertFragment

Inserts a fragment into the composer site at the specified index.

isStreamed

Gets aBooleanvalue that indicates if the source of themediaobject is streamed.

latestMediaTime

Gets a value that indicates the latest time for efficient seeking.

mimeType

Gets theMIMEtype of theobject.

mode

Sets or gets a variable that indicates whether an element transitions in or out.

MoreInfo

Gets theMoreInfocontent of an entry banner in anASXfile through theeventobject.

ontrackchange

The event fires when a track changes in aplayListdefined in anASXfile.

onURLFlip

This event fires when anAdvanced Streaming Format (ASF)file, played by aHTML+TIME mediatag, processes script commands embedded in theASFfile.

registerComposerFactory

Registers a new composer factory with this site.

removeFragment

Removes a fragment from the composer site.

repeatCount

.

The begin repeatCount applies to the transitionFilter

This property is not supported for Windows Store apps using JavaScript.

repeatDur

.

The repeatDur property applies to the transitionFilter

This property is not supported for Windows Store apps using JavaScript.

subtype

Sets or gets the name of the subtype that will be applied to the transition.

targetElement

.

The targetElement property applies to the transitionFilter

This property is not supported for Windows Store apps using JavaScript.

to

Sets or retrieves a value that indicates the point in the transition's progress at which the transition ends.

transitionFilter

Animates the progress of a transition on an element or elements with renderable content.

type

Sets or gets the type of transition to be applied.

unregisterComposerFactory

Unregisters a composer factory on this site.

updateMode

Sets or gets a value that indicates how theobjectis to be updated.

URL

Gets theURLspecified by theASFfile script command after theonURLFlipevent is fired.

Using HTML+TIME Transitions

It is now possible to create visual transitions with HTML+TIME easily without any knowledge of scripting.

values

Sets or retrieves a list of one or more values specifying the progress of the transition.

 

Support for World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 and CSS Level 1 Standards

TopicContents
!DOCTYPE

You can use this declaration to switch Internet Explorer 6 and later into strict standards-compliant mode.

Color Table

Colors can be specified in HTML pages by using numbers to denote an RGB color value, or by using a color name. In Windows Internet Explorer 9 and later, you can also define colors by hue, saturation, luminosity (HSL) values and alpha transparency.

display

This property supports the list-item value.

font

When you use the !DOCTYPE declaration to specify standards-compliant mode, the default p value for this composite property is small, not medium.

fontSize

When you use the !DOCTYPE declaration to specify standards-compliant mode, the default value for this property is medium, not small.

height

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property specifies only the distance between the top and bottom edges of the content box— that is, within the padding.

minHeight

the minimum height for an element.

overflow

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.

overflowX

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.

overflowY

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property applies to the html object.

textOverflow

a value that indicates whether to render ellipses(...) to indicate text overflow.

textUnderlinePosition

The auto and auto-pos values apply to this property as of Internet Explorer 6. The default value of this property is auto as of Internet Explorer 6. With Internet Explorer 5.5, the default value of this property is below.

Understanding CSS Selectors

The basic building blocks of a Cascading Style Sheets (CSS) style sheet are its style rules. Selectors are used to "select" elements on an HTML page so that they can be styled. Without selectors, there would be no way to determine how the rules should be applied. This article introduces the fundamentals of CSS declaration syntax, to describe how selectors are used.

whiteSpace

This property now applies to the currentStyle element. The pre value of this property is now supported.

width

When you use the !DOCTYPE declaration to specify standards-compliant mode, this property specifies only the distance between the left and right edges of the content box— that is, within the padding.

wordSpacing

This property now applies to the currentStyle element.

 

Custom Cursor

TopicContents
cursor

The cursor property supports progress, not-allowed, no-drop, vertical-text, all-scroll, col-resize, row-resize, and url(uri) as new cursor styles.

 

Frames Security

TopicContents
SECURITY

Sets the value indicating whether the source file of a frame or iframe has specific security restrictions applied.

 

Other New Features

TopicContents
abbr

abbreviated text for the object.

About My Pictures Photo Support

Obsolete. My Pictures is a simple feature that allows users to more easily save, print, and e-mail images found in web pages, without having to right-click the image. The My Pictures user interface is a small set of common buttons that appear in a hovering toolbar when a user mouses over an image.

About the W3C Document Object Model

Internet Explorer 6 and later support all of the properties, methods, and collections defined in the World Wide Web Consortium (W3C) Document Object Model (DOM) specification.

About Window Restrictions

In Internet Explorer, scripts can open two different types of windows and can resize and reposition existing windows. Malicious coders have used these script-opened windows and the script-driven window positioning to mislead and deceive users. The Window Restrictions security feature in Internet Explorer 6 for Windows XP Service Pack 2 (SP2) now restricts the opening and placement of windows by script to prevent malicious coders from misleading users. These restrictions include constraints on new Internet Explorer windows created by the window.open method and HTML pop-up windows created by the window.createPopup method, and positioning and sizing of Internet Explorer windows. By understanding Window Restrictions and how they work, you can write your scripts so that your Web pages function as expected.

accept

a comma-separated list of content types.

Adjusting Scale for Higher DPI Screens

To improve the browsing experience for users with higher-resolution systems, Internet Explorer 6 and later can automatically adjust the scale of the display.

alt

This property now applies to the object object.

appendChild

This method now applies to the attribute object.

appendData

Adds a new character string to the end of the object.

archive

a character string that can be used to implement your own archive functionality for the object.

attributeCount

Obsolete. Retrieves the count of the attributes associated with the media object.

attributes

This collection now applies to the attribute object.

axis

a comma-delimited list of conceptual categories associated with the object.

blockFormats

Retrieves a collection of strings that specify the names of the available block format tags.

body

When you use the !DOCTYPE declaration to specify standards-compliant mode, this object no longer represents the entire surface onto which a document's contents can be rendered. The object can obtain its size from its content, or you can set its size explicitly like a div object.

border

This property now applies to the object object.

ch

a value that you can use to implement your own ch functionality for the object.

charset

This property now applies to the a, link, and script objects.

childNodes

This collection now applies to the attribute object.

chOff

a value that you can use to implement your own chOff functionality for the object.

ChooseColorDlg

Opens the system color-selection dialog box.

cite

reference information about the object.

cloneNode

As of Internet Explorer 6, this method applies to the attribute object.

Colors by Hue

The named colors, sorted by hue.

Colors by Lightness

The named colors, sorted by lightness.

Colors by Name

The named colors, sorted by name.

Colors by Saturation

The named colors, sorted by saturation.

compact

This property now applies to the menu and dir objects.

Compatibility in Internet Explorer 6 for Windows XP Service Pack 2

This document describes the features in Windows XP SP2 that may be incompatible with applications you developed for earlier versions of Internet Explorer.

compatMode

Gets a value that indicates whether standards-compliant mode is switched on for the object.

coords

This property now applies to the a object.

Count

Retrieves the number of available block format tags.

createAttribute

Creates an attribute object with a specified name.

createComment

Creates a comment object with the specified data.

currentItem

Obsolete. Retrieves the current media item.

data

This property now applies to the comment object.

dateTime

the date and time of a modification to the object.

declare

a character string that can be used to implement your own declare functionality for the object.

deleteData

Removes a specified range of characters from the object.

deviceSupports

Checks whether the printer supports a specified feature.

deviceXDPI

Retrieves the actual number of horizontal dots per inch (DPI) of the system's screen.

deviceYDPI

Retrieves the actual number of vertical dots per inch (DPI) of the system's screen.

disabledUI

Obsolete. Sets or retrieves a Boolean value that specifies whether an instance of theMedia BarUIis disabled.

doctype

Gets an object that represents the document type declaration that is associated with the current document.

duration

Obsolete. Retrieves the duration of the current media item.

enabled

Obsolete. Sets or retrieves a Boolean value that specifies whether theMedia Barplayer control is enabled.

expando

This property now applies to the attribute object.

Feature Control Registry Index

This article provides an index to the registry keys associated with Internet feature controls.

firstChild

This property now applies to the attribute object.

fonts

Retrieves a collection of all the system-supported fonts.

form

This property now applies to the fieldSet, isIndex, label, and legend elements.

frameActiveEnabled

Enables or disables the radio button labeled Only the selected frame in the Print frames section of the Print dialog box.

galleryImg

Obsolete. Sets or retrieves whether the My Pictures image toolbar is visible for the current image.

getAttributeName

Obsolete. Returns the name of the attribute whose index has been specified.

getAttributeNode

Retrieves an attribute object referenced by the attribute.name property.

getCharset

Gets a Variant that specifies the character set of a given font.

getItemInfo

Obsolete. Returns the value of the specified attribute for the current media.

getNamedItem

Gets an IHTMLDOMAttribute attribute specified with the name property, by using the attributes collectionIHTMLAttributeCollection interface.

hasChildNodes

This method now applies to the attribute object.

hasFeature

Returns a value that indicates whether the object implements a specific Document Object Model (DOM) standard.

hasNextItem

Obsolete. Retrieves a value that indicates whether any successive items follow the current item in the playlist.

headers

a list of header cells that provide information for the object.

How to Create an HTML Editor Application

This tutorial describes how to use features found in Internet Explorer 5.5 or later to create an HTML Editor Application. The application you create in this tutorial contains an editable region where users can type and format text using all of the standard formatting commands.

hreflang

the language code of the object.

html

When you use the !DOCTYPE declaration to specify standards-compliant mode, this element represents the canvas— the entire surface onto which a document's contents can be rendered.

HtmlDlgSafeHelper

Provides access to the color dialog box, block formats, and system fonts collections.

HTTP Response Headers

The MSTHEMECOMPATIBLE constant disables theming support within Web pages.

implementation

Contains information about the modules supported by the object.

implementation

Gets the implementation object of the current document.

insertBefore

This method now applies to the attribute object.

insertData

Inserts a new character string in the object at a specified offset.

Feature Controls

Feature controls allow you to manage selected features of Windows Internet Explorer and applications hosting the WebBrowser Control control.

Internet Feature Controls (A)

This article describes feature controls with names that begin with the letter A.

Internet Feature Controls (B..C)

This article describes feature controls with names that begin with the letters B or C.

Internet Feature Controls (D..H)

This article describes feature controls with names that begin with the letter D, E, F, G, or H.

Internet Feature Controls (I..L)

This article describes feature controls with names that begin with the letter I, J, K, or L.

Internet Feature Controls (M..R)

This article describes feature controls with names that begin with the letter M, N, O, P, Q, or R.

Internet Feature Controls (S..T)

This article describes feature controls with names that begin with the letter S or T.

Internet Feature Controls (U..Y)

This article describes feature controls with names that begin with the letter U, V, W, or Y.

Internet Feature Controls (Z)

This article describes feature controls with names that begin with the letter Z.

Introduction to Viewlink

A new section on Themes has been added.

Item

Retrieves a string that specifies the name of a block format tag.

label

Sets or retrieves the label for the option group.

label

a value that you can use to implement your own label functionality for the object.

lastChild

This method now applies to the attribute object.

length

This property now applies to the comment object.

logicalXDPI

Retrieves the normal number of horizontal dots per inch (DPI) of the system's screen.

logicalYDPI

Retrieves the normal number of vertical dots per inch (DPI) of the system's screen.

longDesc

a Uniform Resource Identifier (URI) to a long description of the object.

Introduction to the Media Bar

The Media Bar default behavior exposes much of the Media Bar functionality to scripting, giving you control over playback, navigation, and the player UI.

mediaBar

Obsolete. Provides a basicUIfor locating and playing media within the browser window.TheMedia Bar default behaviorexposes much of theMedia Barfunctionality to scripting, giving you control over playback, navigation, and the playerUI. It also enables you to loadHTMLin theMedia Barcontent area.

MediaItem

Obsolete. Represents a single item in a media player playlist.

name

Obsolete. Retrieves the name of the media.

name

The name property is now read/write.

name

This property now applies to the attribute object.

namedItem

Retrieves an object from an areas collection.

namedItem

Retrieves an object or a collection from a specified collection.

namedItem

Retrieves a form object or an object from an elements collection.

namedItem

Retrieves a select object or an object from an options collection.

nextItem

Obsolete. Retrieves the next media item in a playlist, if there is one.

nextSibling

This property now applies to the attribute object.

nodeType

This property now applies to the attribute object.

normalize

Merges adjacent DOM objects to produce a normalized document object model.

Obsolete Feature Controls

This article describes feature controls that are obsolete or are no longer supported.

onbeforeactivate

Fires immediately before the object is set as the active element.

ondeactivate

The event.toElement is now exposed by this property.

onfocusin

Fires for an element just prior to setting focus on that element.

onfocusout

Fires for the current element with focus immediately after moving focus to another element.

onhide

Obsolete. Fires when theMedia Barplayer is hidden.

onmousewheel

Fires when the wheel button is rotated.

onopenstatechange

Obsolete. Fires when theMedia Barplayer changes its open state.

onplaystatechange

Obsolete. Fires when theMedia Barplayer changes its play state.

onshow

Obsolete. Fires when theMedia Barplayer becomes visible.

open

As of Internet Explorer 6, the _media value of the name parameter specifies that this method loads a URL in the Media Bar.

open

As of Internet Explorer 6, the _media value of the name parameter specifies that this method loads a URL into the HTML content area of the Media Bar.

openState

Obsolete. Retrieves an integer that indicates the open state of theMedia Barplayer.

optGroup

Allows authors to group choices logically in a select element.

orientation

Sets or retrieves the printing orientation for the current printer.

ownerDocument

Retrieves the document object associated with the node.

parentNode

This property now applies to the attribute object.

playlistInfo

Obsolete. Retrieves playlist information, if a playlist exists.

PlaylistInfo

Obsolete. Contains information about a media player playlist.

playNext

Obsolete. Starts playback of the next media item in the playlist, if a playlist is present.

playState

Obsolete. Retrieves an integer that indicates the play state of theMedia Barplayer.

playURL

Obsolete. Loads media from a URL into the Media Bar and starts playback.

This method is not supported for Windows Store apps using JavaScript

previousSibling

This property now applies to the attribute object.

profile

one or more URIs in which the object properties and legal values for those properties are defined.

removeAttributeNode

Removes an attribute object from the object.

removeChild

This method now applies to the attribute object.

removeNamedItem

Removes an IHTMLDOMAttribute attribute specified with the name property from an element by using the attributes collectionIHTMLAttributeCollection interface.

replaceChild

This method now applies to the attribute object.

replaceData

Replaces a specified range of characters in the object with a new character string.

scheme

a scheme to be used in interpreting the value of a property specified for the object.

scope

the group of cells in a table to which the object's information applies.

scroll

When you use the !DOCTYPE declaration to specify standards-compliant mode, this attribute applies to the HTML element.

Security and Compatibility in Internet Explorer 6

Internet Explorer 6 for Windows XP SP2 and later builds on the groundwork laid by Microsoft Internet Explorer 4.0 by adding even more safegaurds against zone elevation and cross-domain attacks.

selectionEnabled

Enables or disables the Selection radio button on the Print dialog box.

setAttributeNode

Sets an attribute object node as part of the object.

setNamedItem

Adds an IHTMLDOMAttribute attribute to an element by using an attributes collectionIHTMLAttributeCollection interface.

shape

This property now applies to the a object.

sourceURL

Obsolete. Retrieves theURLof the media.

standby

a message to be displayed while an object is loading.

stop

Obsolete. Stops playback of the media that is currently playing.

substringData

Extracts a range of characters from the object.

summary

a description and/or structure of the object.

target

As of Internet Explorer 6, the _media value of the v parameter of this property specifies that a linked document loads in the HTML content area of the Media Bar.

type

Sets or retrieves the content type of the resource designated by the value attribute.

type

This property now applies to the a, link, and script objects.

useMap

this property now applies to the object and input objects.

usePrinterCopyCollate

Sets or retrieves a value that indicates whether the printer copy/collate feature is enabled.

User-Defined System Colors

As of Internet Explorer 4.0, system colors may be specified in Web pages in addition to the named colors. Unlike the other named colors however, user-defined system colors have no numeric RGB equivalent because the exact color is not known until the Web page is viewed on the user's system. Users can choose their own system color scheme from the Windows Control Panel.

Using the Media Bar in Internet Explorer

Obsolete. New in Internet Explorer 6, the Media Bar provides a straightforward UI for locating and playing media within the browser window. The Media Bar includes an HTML content area and a player control—essentially a smaller implementation of the Microsoft Windows Media Player—that enables the user to play music, video, or mixed-media files, search for additional media content, and display HTML in the bar without opening a separate window.

value

Gets or sets the value of the object.

value

The value property is now read/write.

valueType

Sets or retrieves the data type of the value attribute.

version

the Document Type Definition (DTD) version that governs the current document.

wheelDelta

Retrieves the distance and direction the wheel button has rolled.

width

Sets or gets a value that you can use to implement your own width functionality for the object.

 

 

 

Show: