图像缩放jquery弹出窗口

时间:2013-07-24 11:34:18

标签: javascript jquery html5 jquery-mobile

我需要缩放jquery弹出窗口中的图像

当图像弹出时,图像需要能够缩放 我已经阻止了网页套件缩放,只需要缩放图像

这是我的HTML代码

<div data-demo-html="true">
    <a href="#popupParis" data-rel="popup" data-position-to="window" data-transition="fade"><img class="popphoto" src="images/paris.jpg" alt="Paris, France" style="width:30%"></a>
    <a href="#popupSydney" data-rel="popup" data-position-to="window" data-transition="fade"><img class="popphoto" src="images/sydney.jpg" alt="Sydney, Australia" style="width:30%"></a>
    <a href="#popupNYC" data-rel="popup" data-position-to="window" data-transition="fade"><img class="popphoto" src="../../_assets/img/newyork.jpg" alt="New York, USA" style="width:30%"></a>

    <div data-role="popup" id="popupParis" data-overlay-theme="a" data-theme="d" data-corners="false">
        <a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a><img class="popphoto" src="images/paris.jpg" style="max-height:512px;" alt="Paris, France">
    </div>
    <div data-role="popup" id="popupSydney" data-overlay-theme="a" data-theme="d" data-corners="false">
        <a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a><img class="popphoto" src="images/sydney.jpg" style="max-height:512px;" alt="Sydney, Australia">
    </div>
    <div data-role="popup" id="popupNYC" data-overlay-theme="a" data-theme="d" data-corners="false">
        <a href="#" data-rel="back" data-role="button" data-theme="a" data-icon="delete" data-iconpos="notext" class="ui-btn-right">Close</a><img class="popphoto" src="../../_assets/img/newyork.jpg" style="max-height:512px;" alt="New York, USA">
    </div>
</div>
请帮助...

0 个答案:

没有答案