Results 1 to 3 of 3

Thread: Bring Browser to the front??

  1. #1

    Thread Starter
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102

    Bring Browser to the front??

    Hi,

    I want to bring the browser window to the front (i.e. give it Focus) on receiving an event from an ActiveX object on a page (this is in an Intranet environment - so security is not an issue)..

    Is there a command I can call in the javascript to bring the browser to the front???

    Thanks,
    Tim

  2. #2
    Member
    Join Date
    Aug 2002
    Location
    Pakistan
    Posts
    32
    If you know the winow name then you can do it like this in javascript.

    window.focus();
    You'll get life just for once so don't waste it .......

  3. #3

    Thread Starter
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102
    Thanks,

    Yes I was trying
    Code:
    top.focus;
    but unfortunately if the window was behind other things, XP would just flash the taskbar object (not actually bring it to the front)

    Cheers,
    Tim

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width