(Classic) popup()

Engine Compatibility

popup is not supported by the Node engine.

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");

The following ruleset shows popup() being used

ruleset a1299x178 {
	meta {
		name "Popup Example"
		description <<
			
		>>
		author "nathan cerny"
		logging off
	}
	dispatch {
		// domain "exampley.com"
	}
	global {
	}
	rule popup_example is active {
      select using ".*" setting ()
      popup(0, 0, 1000, 800, "http://apps.kynetx.com/");
    }
}

The following demonstrates the preceding rule:

Copyright Picolabs | Licensed under Creative Commons.