Results 1 to 2 of 2

Thread: opening a popup

  1. #1
    Join Date
    Dec 2005
    Posts
    133
    Thanks
    23
    Thanked 0 Times in 0 Posts

    Default opening a popup

    how can I call for a popup from a link and also define the position of the popup on the screen?

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Code:
    <a href="mypage.html" onclick="window.open(this.href, 'newwin', 'scrollbars=yes,width=400,height=550, LeftPosition=200, TopPosition=150'); return false;">Test Link</a>
    Edit the parts in red to suit your needs. Hope this helps.
    Last edited by thetestingsite; 03-21-2007 at 03:23 AM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

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