Results 1 to 5 of 5

Thread: Control Popup from leaving browser bounds.

  1. #1
    Addicted Member skea's Avatar
    Join Date
    Mar 06
    Posts
    187

    Control Popup from leaving browser bounds.

    I have a popup which i show on mouse down. Now i can press near the edges of the browser window or the screen and this popup shows, but it popus up with a big fraction of it out of the bowser window bounds or say screen blounds.
    I would like to control this so that if i click near the edges, the popup is offset backwards relative to the edge and the mouse position.
    I have looked every where but failed to achieve this. Any one has an idea?
    Using:VS 2008 Team System :: SQL Server 2005 Standard Edition.
    ----------------------------------------------------------------

  2. #2
    Frenzied Member
    Join Date
    Jul 08
    Location
    Rep of Ireland
    Posts
    1,381

    Re: Control Popup from leaving browser bounds.

    You would need to do this via java script as silverlight does not interact with the browser!

  3. #3
    Frenzied Member
    Join Date
    Jul 08
    Location
    Rep of Ireland
    Posts
    1,381

    Re: Control Popup from leaving browser bounds.

    Eh, whats with the links?

  4. #4
    Addicted Member skea's Avatar
    Join Date
    Mar 06
    Posts
    187

    Re: Control Popup from leaving browser bounds.

    Thanks DeanMc. Though i am now meant to use it with my SL applications, I hadly ever use javascript. Last time i used it was 2003. May you share a small example with me.
    Using:VS 2008 Team System :: SQL Server 2005 Standard Edition.
    ----------------------------------------------------------------

  5. #5
    Frenzied Member
    Join Date
    Jul 08
    Location
    Rep of Ireland
    Posts
    1,381

    Re: Control Popup from leaving browser bounds.

    Im not "up" on Java Script myself, you would be best to ask in the Javascript section of the forum.

Posting Permissions

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