Mixed units
A live example of popunder opening, geometry or click selection.
Adok UI
- Popunder type
Popup- Pop width
640 px- Pop height
50 %- Pop position
Bottom right
Backend response
- config.under / config.newTab
"false" / "false"- config.dimensions.width
"640px"- config.dimensions.height
"50%"- config.dimensions.position
"bottom_right"
New Adscript
- PopunderConfig.openMode
"popup"- PopunderConfig.popDimensions
Calculated numeric width, height, top and left; see below.
The width stays at 640 pixels while the height uses half the screen. The bottom-right position is calculated from those dimensions.
Pixels supplied to the script:
Preparing…
These examples call window.AdScript.start() without a master-spot ID and supply spots through window.AdScript.addSpot(). Backend values above are references; this page does not fetch spots or run the backend-response parser.
Each spot gets one attempt per pageview. Reset this demo to try again. Browsers may block openings or adjust window size, position and focus; “Attempt used” does not confirm ad delivery.