HighDots Forums  

Window Set Focus

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Window Set Focus in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Miro
 
Posts: n/a

Default Window Set Focus - 02-07-2006 , 03:18 PM






On click of a button i open a window. I am trying to set focus to the
window if that window is already opened. I am stuck as to what i am
missing.
The name of the window is "ShipRec" so i would assume it would be
ShipRec.focus() ; but i get an error.

Im missing something. Can anyone help ?

Thanks,

Miro

Example

function OpenScreenWindow(cScreenToShow)
{
if( cScreenToShow == "PMXParts" )
{
window.open('PMX/Parts.htm','ShipRec','height=625px,width=920px,too lbar=no,directories=no,status=no,menubar=no,scroll bars=no,resizable=no,modal=yes');//Code Required Here }}


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.