Zoom in /out
How to ZOOM IN/OUT and rotate at 360 degree the pictures in asp.net, pls help me onthis...
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
Note: Please observed carefully the
For Image rotation check the following link:
http://www.c-sharpcorner.com/Forums/ShowMessages.aspx?ThreadID=40954
Top experts
Arun PottiAnswers in the forums15answers02
Tahir AnsariAnswers in the forums5answers03
Kamlesh KumarAnswers in the forums5answers04
Sam HobbsAnswers in the forums4answers05
Željko PerićAnswers in the forums3answersFull leaderboard →
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Jul 21, 2009, 9:37 AM EDT
//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>