Solved

ASP.net ,Jquery

Posted on 2014-04-13
5
167 Views
Last Modified: 2014-06-22
How can i zoom an image in asp.net .

there are several code available , but none is working
0
Comment
Question by:BeyondBGCM
  • 3
5 Comments
 
LVL 5

Accepted Solution

by:
jayakrishnabh earned 500 total points
ID: 39998957
Please try with the following html5 code

<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#article1:hover {
          -webkit-transform: scale(1.5);
          -moz-transform : scale(1.5);
          -ms-transform : scale(1.5);
          -o-transform: scale(1.5);          
}
</style>
</head>
<body>
<div id="article1">
     <img src="../Images/Penguins.jpg" />
</div>
</body>
</html>
0
 

Author Comment

by:BeyondBGCM
ID: 39999201
i am new to HTML 5 , but can i use it in aspx page of ASP.net 3.5 with Visual studio 2010

or in other words ,what i need to have to run the above script, as it is not working with above mentioned configuration.
0
 

Author Comment

by:BeyondBGCM
ID: 40010053
<html>
<head>
<style>
div
{
width:100px;
height:75px;
background-color:red;
border:1px solid black;
}
#img2
{
margin:100px;
-ms-transform:scale(2,4); /* IE 9 */
-webkit-transform:scale(2,4); /* Chrome, Safari, Opera */
transform:scale(2,4); /* Standard syntax */
}
</style>
</head>
<body>
<!--
<div><img id="" /></div>-->

<img id="img2" src="Images/test.jpg" />


<div id="div2">Hello. This is a DIV element.</div>

</body>
</html>
0
 

Author Comment

by:BeyondBGCM
ID: 40010074
I've requested that this question be closed as follows:

Accepted answer: 0 points for BeyondBGCM's comment #a40010053

for the following reason:

I would like to accept multiple solution , as the previous answer provided lead me , to this soultion .
0
 

Expert Comment

by:zalak shah
ID: 40150350
with the use of magnifier concept you can zoom image so download js of magnifier and icon of magnifier so that you can easyly zoom image
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
      Install BugTracker on Windows 2008 server Step 1:  Install windows 2008 server 32 bit OS and configure IIS. Step 2:  Install SQL server ( SQL server 2005 or SQL server 2005 Express edition. The installer for 2008  version isn’t very f…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question