SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2000
    Location
    London, UK
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good morning / afternoon / evening and season's greetings to you all.

    I'm trying to help a friend out. When a page is requested, he activates a javascript function using the onLoad. The function opens a new window of a particular size, and he wants to close the original window.

    It all seems to work ok, but the window.close function activates a pop-up prompt (i'm sure you know the one: "The web page you are viewing is trying to close the window"). I realise the importance of this prompt for security reasons but is there any way round it using PHP? i.e. using a different function to close the window?

    Thanks in advance for any light that can be shed on this! :-)

    Jon.

  2. #2
    Irritability Defined
    Join Date
    Jul 2000
    Location
    80,000 feet below the surface
    Posts
    1,442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, please avoid cross-posting in the future. You can find my response at http://www.sitepointforums.com/showt...threadid=13206
    My 2 Cents (or is that 2.2 Cents including GST?)


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
  •