Zoom() FunctionZooms the current browser window. Syntax:Zoom(factor) Parameters: factor - Specifies the zoom factor. Remarks:
Example: <xml id="toolbar"> <control type="toolbar"> <button caption="Zoom In" action="Zoom(+0.2"></button> <button caption="Zoom Out" action="Zoom(+0.2)"></button> </control> </xml> The above code creates a simple toolbar with a zoom in and a zoom out buttons. Each click of the button increases or decreses the screen magnification by 20%. Compatibility: Requires ToolbarBrowser version 2.2.2 or later. See Also: |