Popup

popup(<top>, <left>, <width>, <height>, <url>)

Pop up a window above the current contents of the browser. This is a pop-up. <top> is pixels to position the new window from the top of the current window <left> is pixels to position the window from the left of the current window <width> is width of the new window in pixels <height> is height of the new window in pixels <url> is the place where the window content will be retrieved. Because this is a separate window, the URL can be on any site.

popup(250, 250, 150, 400, "/kynetx/google_ad.inc");

See this action in action!

ruleset a60x118 {
  meta {
    name "Popup Example"
    author "Mike Grace"
    description <<
      Popup example for documentation 
    >>
    logging on
  }
  dispatch {
    domain "docs.kynetx.com"
  }
  rule dont_annoy_me_with_popups is active {
    select using "http://docs.kynetx.com/krl/kynetx-rule-language-documentation/actions/popup/" setting ()
    popup(0, 0, 1000, 800, "http://api.jquery.com/");
  }
}