Web Analytics Made Easy -
StatCounter closing windows - CodingForum

Announcement

Collapse
No announcement yet.

closing windows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • closing windows

    I have a html page (sample1.htm) that opens a window,
    a = window.open("sample2.htm","pop","");

    and sample2.htm opens another window
    b = window.open("sample3.htm","pop2","");

    So how, from sample1.htm ,
    do we close the window containing sample3.htm?

  • #2
    err.. we do not open them windows in the first place ..
    Vladdy | KL
    "Working web site is not the one that looks the same on common graphical browsers running on desktop computers, but the one that adequately delivers information regardless of device accessing it"

    Comment


    • #3
      granted b is a global variable

      b.close();
      Glenn
      vBulletin Mods That Rock!

      Comment

      Working...
      X