Functiondojox.image.SlideShow._fitImage

dojo.require("dojox.image.SlideShow");
defined in dojox/image/SlideShow.js

Ensures that the image width and height do not exceed the maximum.

Usage

function (/*Node*/ img) (view source)
parametertypedescription
imgNodeThe image DOM node to optionally resize