Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Post How to display the popup window always on the top

    I have a popup window as below:

    function ShowVirtualAvatar()
    {
    var avatarURL = "<%=BasePage.AvatarURL%>";
    var popup = window.open(avatarURL,"VCCP","toolbar=no,
    location=no,directories=no,status=no,menubar=no,
    scrollbars=no,resizable=no,left=590,top=200,width=277,
    height=455,bookmarking disabled");
    popup.focus();
    }

    I'm displaying it on the click of an image button. I want this pop up window to be displayed always on the top..ie.even the user navigates through different windows, this popup should always be displayed on the top.

    Tried with self.focus(). But this didnt work..

    Any idea..how we can achieve it?

    Your help appreciated..

    Thanks in advace..!!!

    -Neelima

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,863
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    You'd need to use a dhtml popup window for this, see http://www.dynamicdrive.com/dynamici...htmlwindow.htm

    PS: welcome to CF
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thank you..!!

    But in the given example it works only when the parent window is active.
    Is there any way that the window is always active irrespective of the parent window?

    Thanks again..!!


  •  

    Tags for this Thread

    Posting Permissions

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