External Link-to Window
linkToWindow -- Specifies the window to use to open all external links.
This option can be used to direct hyperlinks out of the player to a targeted window. This option is set to "_blank" by default. When this option is changed, Wimpy directs the 'target"for the link to the defined window name.
Hyperlinks out of the player include:
If the "infoButtonAction" is set to "Link to Page" (gotoURL) the resulting page will open in the window defined for this option.
If clickWindowAction is set to "Link to Page" (gotoURL) the resulting page will open in the window defined for this option.
If onTrackComplete is set to "Go to Page" (gotoURL) the resulting page will open in the window defined for this option.
As HTML option:
As Wimpy Configs Option:
NOTE: Internet Explorer only recognizes lowercase characters when using "standard" window naming conventions such as _blank, _parent, _self and _top.
Sub-Note: When we say "main page" we also refer to "window instance" -- the reason we say both is because the "window instance" is the open browser window, if a person clicks on a link on the "main page" they will go to another page your your site, but a new browser window will not open... the same browser window will stay open, or, the same browser window instance will stay open, the user has just gone to another page and they are using the same browser window instance. Each browser window has a set of things that the browser keeps track of (attributes)... that is why when you click on the "back" or "next" or "refresh" button in the browser, other browser windows don't change, only the browser window instance that you are focusing on changes. One of the browsers attributes that needs to be set explicitly is the name of the instance.
Where "mainWindow" is the name we set for the window instance.
<div id="flashcontent">This DIV contents to be replaced by Rave.</div>
// Enable handler events:
enableWimpyEvents = true;
// Re-write the handler function:
// Set the default playlist:
defaultWimpyConfigs.wimpyApp = "playlist.xml";
// Render the player using the default configs:
See examples 8 and 9 in the Rave download package for details on how to set up this functionality.