Hi,
How to ZOOM IN/OUT and rotate at 360 degree the pictures in asp.net, pls help me onthis...
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Note: Please observed carefully the
For Image rotation check the following link:
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=40954
Niradhip ChakrabortyPosted Jul 21, 2009, 1:37 PM
//Change the page docktype like this:
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
//Include the style in body tag.
<body bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" id="bdyLayOut" style="zoom: 100%">
<script language="javascript" type="text/javascript">
// Zoomin code
function zoomin()
{
var newZoom = parseInt(document.body.style.zoom)+15+'%'
document.body.style.zoom = newZoom;
}
//Zoomout code
function zoomout()
{
var newZoom = parseInt(document.body.style.zoom)-15+'%'
document.body.style.zoom = newZoom;
}
script>