External Link-to WindowlinkToWindow -- Specifies the window to use to open all external links. DescriptionThis 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:
UsageAs HTML option: wimpy.swf?linkToWindow=_self As Wimpy Configs Option: <linkToWindow>whatever</linkToWindow> As Javascript Option: wimpyConfigs.linkToWindow="mainWindow";
NOTE: Internet Explorer only recognizes lowercase characters when using "standard" window naming conventions such as _blank, _parent, _self and _top.
NOTE: If Wimpy is being opened in a popup window and you want to reference the page (or window instance) that opened Wimpy, you will need to explicitly set the main-page's "window name" using javascript. Since the only way to reference the main-page (or window instance) that opened the pop up is to give it a name that you can call using standard HTML. Some folks may be familiar with the javascript "window.opener" feature, but since our "linkToWindow" option only allows for a standard A HREF TARGET="whatever" and does not use Javascript to call or target a window, we need to pre-define the main-pages's window name so that Wimpy can reference the window name using out "linkToWindow" option.
Here is some Javascript code that you can use to explicitly set the window name. Put this code in the "head" of the page that is pops up Wimpy, then set our "linkToWindow" option to whatever you decide to use for winow.name="whatever." In this example, we've used "mainWindow" -- keep in mind that this is case-sensitive. <HTML> Where "mainWindow" is the name we set for the window instance.
.
|
| Wimpy Player Documentation Copyright ©2002-2008 Plaino LLC. All rights reserved. Use of this website signifies your agreement to the Terms of Use. |