Click here to Skip to main content
       

Web Development

 
AnswerRe: How safe is facebook connect PinmemberEddy Vluggen30-Oct-12 3:36 
QuestionWorking example for Javascript to call a java webservice Pinmembersekhar48429-Oct-12 3:10 
AnswerRe: Working example for Javascript to call a java webservice Pinmemberryanb315-Nov-12 9:34 
QuestionWidth issue with Rotated Image PinmemberSifar - 025-Oct-12 3:32 
I have written below code. Need to run on IE versions, so used filter for rotation. Clicking several times on the button, that will update the width of the image, will re-position the image.
 
Any help will be appreciated.
 
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Zoom Issue</title>
 
<style>
.ImgClass{
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
height : auto;
width : 100%;
 
}
.divClass{
width : 800px;
height : 750px;
}
 
</style>
</head>
 
<SCRIPT type="text/javascript">
function zoomImage(){
    document.getElementById('myImage').style.width = document.getElementById('myImage').offsetWidth  * 1.5;
}
</SCRIPT>
 
<body>
<input type="button" id='btnClick' value='Click' onClick="zoomImage();"/>
<DIV class='divClass'>
<IMG class='ImgClass' id='myImage' src='Image.jpg' />
</DIV>
 
</body>
</html>
Regards,
-SIFAR.

QuestionTechnical background of mailto: ? Pinmemberperi74723-Oct-12 20:43 
AnswerRe: Technical background of mailto: ? PinmemberJ4amieC23-Oct-12 21:38 
AnswerRe: Technical background of mailto: ? PinmvpRichard MacCutchan23-Oct-12 22:14 
GeneralRe: Technical background of mailto: ? Pinmemberperi74723-Oct-12 22:52 
GeneralRe: Technical background of mailto: ? PinmvpRichard MacCutchan23-Oct-12 22:55 
GeneralRe: Technical background of mailto: ? PinmvpRichard MacCutchan23-Oct-12 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 20 Apr 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid