We use the same setup as in examples 5 and 6, however, we need to "tack on" the popped up window object to the beginning of each function call:
<a href="javascript:;" onClick="wimpy_popout_window.wimpy_play();">Play </a>
When Wimpy detaches the player or when you use the wimpy_popout(), a new object named "wimpy_popout_window" is created, which allows "this" page to communicate with the popped up page.
Wimpy is also set up so that if a user navigates from "this" page to another page on your site, the popped up player can still be controlled from the other page. |