Tag: 图像放大

隐藏其他div时展开图像

我目前正在使用fancybox thambnails和button helper。 目前我已经完成了我想要的工作,但我希望当图像扩展并且放大图像上方的多余空间消失时,幻灯片下方的缩略图会消失。 这两者都很混乱,它们重叠并做各种奇怪的事情,当图像被放大时我并不认为你需要缩略图(导航点)。 任何帮助都会很棒。 如果有帮助,您可以在我的网站shereewalker.com上查看该问题 这是我的HTML: 和CSS #fancybox-buttons { position: fixed; left: 0; width: 100%; z-index: 9000; } #fancybox-buttons.top { top: 10px; } #fancybox-buttons.bottom { bottom: 10px; } #fancybox-buttons ul { display: block; width: 166px; height: 30px; margin: 0 auto; padding: 0; list-style: none; border: 1px solid #111; border-radius: 3px; -webkit-box-shadow: inset 0 […]

图像放大hover,内容在div框中附加到图像

我想知道是否有人可以指导我建立一个脚本,我可以通过鼠标hover来放大图像,但图像不仅会被放大,图像周围的div也会附加到它上面当你盘旋 谢谢!

简单的Jqueryhover放大

我不确定我哪里出错了。 我正在尝试使用缩放function使用Jquery创建一个非常简单的hover-enlarge插件。 这是我的代码: $(document).ready(function(){ $(“#content img”).toggle(“scale”,{ percent: “80%” },0); $(‘#content img’).hover(function() { $(this).css(“cursor”, “pointer”); $(this).toggle(“scale”,{ percent: “90%” },500); }, function() { $(this).toggle(“scale”,{ percent: “80%” },500); }); }); 这是一个小例子: http : //jsfiddle.net/8ECh6/ 这是页面: http : //samples.zcardna.com/health.html 如果somone知道我哪里出错那会很棒! 谢谢!