Solved

ASP.net ,Jquery

Posted on 2014-04-13
5
163 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
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…
This video teaches users how to migrate an existing Wordpress website to a new domain.

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now