jquery图像缩放效果中的问题 [英] Problem in jquery image zoom effect
本文介绍了jquery图像缩放效果中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Friends,
以下是我下载图片缩放效果演示的链接 http://www.visual-blast.com /source/jqzoom/jqzoom_v1.2.rar
我在我的页面中应用了这个,但我的图像尺寸很大,缩放效果尺寸小时我在下面更改缩放效果更改结果不能只获得缩放100得到的结果我想要大缩放效果我该怎么做:
Hello Friends,
Here is the link when i download the demo of the image zoom effect http://www.visual-blast.com/source/jqzoom/jqzoom_v1.2.rar
I apply this in my page but my image size is large and in zoom effect size is small when i change zoom effect in below changes result not get only zoom 100 got result i want large zoom effect how can i do this:
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function(){
$("img.jqzoom").jqueryzoom({
xzoom: 150, //zooming div default width(default width value is 200)
yzoom: 150, //zooming div default width(default height value is 200)
offset: 10 //zooming div default offset(default offset value is 10)
//position: "right" //zooming div position(default position value is "right")
});
});
</script>
推荐答案
( img.jqzoom)。jqueryzoom({
xzoom: 150 , // 缩放div默认宽度(默认宽度值为200)
yzoom: 150 , // 缩放div默认宽度(默认高度值为200 )
offset: 10 // 缩放div默认偏移量(默认偏移值为10)
// position:对了//缩放div osition(默认位置值为right)
});
});
< / script >
("img.jqzoom").jqueryzoom({ xzoom: 150, //zooming div default width(default width value is 200) yzoom: 150, //zooming div default width(default height value is 200) offset: 10 //zooming div default offset(default offset value is 10) //position: "right" //zooming div position(default position value is "right") }); }); </script>
这篇关于jquery图像缩放效果中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文