ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Browser functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
BrowserWidth (Function)
In french: NavigateurLargeur
Returns the width (in pixels) of client area where the page is displayed.
Example
// 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.
Component: WDJS.DLL
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help