Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting focus on non-form window

Status
Not open for further replies.

lbrechler

Programmer
May 17, 2001
44
US
I've found a lot of posts about setting the focus, but nothing exactly like what I'm looking for...

I have a non-frame, non-form window that contains a Real Media player. When the page loads, the browser window immediately loses focus. If the player is not there, I don't get the focus problem either. Since I need to have the player there (it's the purpose of the page in the first place), I want to manually set the focus on the window as the last step in the page load.

I don't have any text boxes, buttons, etc. on which to set the focus, so can anyone provide me with the code to reset the focus on the displaying window itself?

Thanks in advance.

~Lindsay
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top