SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Guru
    Join Date
    Apr 2001
    Location
    BC, Canada
    Posts
    630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey all,
    Having a window pop up when a link is clicked.. the window will open up a php script. In this script how would I go around makeing the window a certain size, no scrollbars,no address bar.. no nothing except the little blue title bar and the display area?

    thanx

  2. #2
    ********* wombat firepages's Avatar
    Join Date
    Jul 2000
    Location
    Perth Australia
    Posts
    1,717
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP can not afect the browser window or status, you need javascript for that .... something like

    <script language="javascript">
    function openpopup(){
    window.open("whatever.php","","width=300,height=300")
    }
    </script>

    should work


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
  •