Returns the width (in pixels) of client area where the page is displayed.
// If there is not enough available size
IF BrowserWidth() < 500 THEN
...
END
Syntax
<Result> = BrowserWidth()
<Result>: Integer
- In Zoning mode, corresponds to the width of client area in pixels.
- In "Responsive Web Design", corresponds to the width (in pixels) of the current slice in a page.
Remarks
- This width includes the possible scrollbars.
- For a page displayed in an "iFrame" control, the returned width is the one corresponding to the dimension of the iFrame control.