Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Kinda OT: Changing the focus of browser windows.
From: Shaun Brazier
Date: Wed, 12 Apr 2000 09:43:31 +0100

Many thanks Sarah,..it works!
I have one problem though. How do I set the focus back to the main window?
The page is opening in the main window but my baby window (which is actually
85% x 65% of the screen size) stays in focus.

Any suggestions.
TIA
Shaun Brazier
----- Original Message -----
From: Sarah Lamont <slamontat2mtc [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, April 11, 2000 5:01 PM
Subject: Re: FLASH: How do you target the parent browser window from a
flash.swf in a pop-up window?


hi Shaun,

Use this javascript code in your baby window:

function updateParent(newURL) {
opener.document.location = newURL
}

and this in your flash button:

"javascript:updateParent('newpage.html')"

and it should work. :]
Hope that helps,

�arah

Shaun Brazier wrote:

> More or less the subject really. How do you open a page in the main
browser
> window from a movie in a child window?
>
--
"When I die, I hope it can be said of me that I plucked a thistle and
planted a flower where ever I thought a flower would grow." -Abraham
Lincoln

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com





flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Kinda OT: Changing the focus , Robert Bleeker

Replies
  FLASH: How do you target the parent brow, Shaun Brazier
  Re: FLASH: How do you target the parent , Sarah Lamont

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]