Detecting "Open in New Window"

Results 1 to 2 of 2

Thread: Detecting "Open in New Window"

  1. #1
    Join Date
    Dec 1969

    Default Detecting "Open in New Window"

    Does anyone know of a way within ASP to detect if a user has selected "Open in New Window" as opposed to just clicking on the link? We would like to know so we can build the required frameset.

  2. #2
    Join Date
    Dec 1969

    Default Forcing a pago into a frame w/ JavaScript

    I don&#039t believe that one can detect the action you described, but if you include the following code in all pages that should be framed, it should fix your problem: <BR>&#060;script language="JavaScript"&#062;<BR>if (top.location == self.location) {<BR>top.location.href = "frame.html"<BR>}<BR>&#060;/script&#062;

Posting Permissions

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