## DFrameAPI: checkStyles

The Style checker controls all properties of Styles and alert if there is error(s). As once all Styles are correct and the application in production this Style checker is no longer useful but take time it is possible to disconnect it with this method.

Example

<script language="Javascript">

//Style

DFrameAPI.include('styles/windows/styleWindows.js')

DFrameAPI.checkImages()

DFrameAPI.onLoad = function(){

### Syntax

DFrameAPI.checkStyles(flag)

### Parameters

flag

Boolean. If true the Style checker works. Default value is false

### Return value

no return values

### Comment

Caution: The Style checker does not work with Netscape 4.x