Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey folks,
As the question it self says all about it but to be more specific i would like to implement Elevate Zoom jQuery plugin in my asp.net mvc application but had no luck yet. Either its because i am new to jQuery and JavaScript or it's not better documented. Any step by step tutorial or ideas will be much appreciated. Thanks in Advance.

What I have tried:

@model EShopperTheme.Domain.Entities.Product

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>jQuery elevateZoom Demo</title>
<script src='jquery-1.8.3.min.js'></script>
<script src='jquery.elevatezoom.js'></script>
</head>
<body>

Basic Zoom Example


<img id="zoom_01" src='~/Images/Home/girl1.jpg' data-zoom-image="~/Images/Home/girl1.jpg" />



see more examples online http://www.elevateweb.co.uk/image-zoom/examples
<script>
$('#zoom_01').elevateZoom({
zoomType: "inner",
cursor: "crosshair",
zoomWindowFadeIn: 500,
zoomWindowFadeOut: 750
});
</script>
</body>
</html>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900