如何使用其内容缩放DIV [英] How to Zoom a DIV with its contents
本文介绍了如何使用其内容缩放DIV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hello Everyone
我正在搜索任何代码/脚本来缩放div而点击div。
我有条件在缩放div时,div的内容(图像,文本)也会变焦.....
如果有人知道怎么做,请帮助
提前感谢
Hello Everyone
I am searching for any code/scripting to zoom a div while clicking on div.
I have a condition that while zooming the div the contents(images,text) of the div also gets zoom.....
If anyone know how to do this then please help
thanks in advance
推荐答案
<html>
<header>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
(#centerimage)。live(click,function(){
console.log(Show cart点击.....);
("#centerimage").live("click", function() { console.log("Show cart Clicked .....");
(#LoginContainer)。show(slow);
//
("#LoginContainer").show("slow"); //
这篇关于如何使用其内容缩放DIV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文