Views
Actions

Property: value

From Turn.js Documentation
Jump to: navigation, search

Gives the current zoom value.

Example:

function zoomedIn() {
	if ($("#zoom-viewport").turn("value")==1)
		alert("No zoom");
	else if ($("#zoom-viewport").turn("value")>1)
		alert("Zoomed In");
}
Main Page > API > Zoom Properties > Property: value