christophedelory.playlist.asx
Class MoreInfo
java.lang.Object
christophedelory.playlist.asx.Child
christophedelory.playlist.asx.AsxElement
christophedelory.playlist.asx.URLElement
christophedelory.playlist.asx.MoreInfo
public class MoreInfo
- extends URLElement
Specifies an URL for a Web site, e-mail address, or script command associated with a show, clip, or banner.
The user can access the target of the URL by clicking on the graphic or text associated with the MOREINFO element.
The details depend on the parent element of the MOREINFO element:
- If the HREF parameter specifies a URL to a Web site, the browser opens and navigates to the URL.
- If the HREF attribute specifies an e-mail address, the user's e-mail application starts.
- If the HREF attribute specifies a script command, the script command executes in the browser.
If the MOREINFO element appears within an ASX or ENTRY element, when the mouse cursor is held over the title of the show (for an ASX element)
or clip (for an ENTRY element), the URL defined in the HREF attribute can be selected and accessed by Windows Media Player.
- Version:
- $Revision: 92 $
- Author:
- Christophe Delory
Method Summary |
String |
getTarget()
Returns a value defining the frame or window in which the browser will open the page defined by the HREF attribute. |
void |
setTarget(String target)
Initializes the target frame or window. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoreInfo
public MoreInfo()
getTarget
public String getTarget()
- Returns a value defining the frame or window in which the browser will open the page defined by the HREF attribute.
The values for this attribute follow standard HTML syntax and definitions.
In the case of a control embedded in a Web page, if no TARGET attribute is defined,
the URL loads the current browser window and replaces the existing page, which means the content stops playing.
Therefore, it is recommended that you always specify a TARGET attribute when embedding the Windows Media Player control in a Web page.
If the metafile is opened in the stand-alone Windows Media Player, the TARGET attribute is ignored, and the URL loads in an existing browser window.
If there is no browser window currently open, the URL loads in a new browser window.
This can be a string containing a window name, or one of the following values:
- _blank
- The document loads in a new browser window.
- _self
- The document loads in the same frame as the current document containing the Windows Media Player control.
- _parent
- The document loads in the immediate parent frame of the current frame, or the current frame if there is no parent frame.
- _top
- The document loads in the full browser window, replacing all other frames or documents.
The TARGET attribute is not supported in Windows CE.
This attribute is set to "" (an empty string) and any attempts to change it are ignored.
- Returns:
- the target frame or window. May be
null
. - See Also:
setTarget(java.lang.String)
setTarget
public void setTarget(String target)
- Initializes the target frame or window.
- Parameters:
target
- a target. May be null
.- See Also:
getTarget()
Copyright © 2008-2009 Christophe Delory. All Rights Reserved.