Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Image Zooming

$
0
0

Hi Michael,

 

Can you elaborate a bit more about what exactly goes wrong?

 

Out of curiosity I tried it out myself and it works perfect -- so thanks for pointing out this nice functionality:

 

<!DOCTYPE html><html>  <head>  <meta http-equiv="X-UA-Compatible" content="IE=edge" />  <meta charset="utf-8">  <title>OpenUI5 Bin</title>  <script src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"          id="sap-ui-bootstrap"          data-sap-ui-theme="sap_bluecrystal"          data-sap-ui-libs="sap.ui.commons,sap.m"></script>  <script src="ddpowerzoomer.js"></script>  <script type="text/javascript">    jQuery(document).ready(function($){      $('#id_image').addpowerzoom();    })    //UI5 view    sap.ui.jsview("local.view", {      getControllerName: function() {        return "local.controller";      },      createContent: function(oController) {        var oImg = new sap.ui.commons.Image({          id : "id_image",          src : "http://static.jsbin.com/images/logo.png"        });        return oImg;      },    });    //UI5 controller    sap.ui.controller("local.controller", {});    sap.ui.view({      type: sap.ui.core.mvc.ViewType.JS,      viewName: "local.view"    })    .placeAt("uiArea");  </script>  </head>  <body class="sapUiBody">    <div id="uiArea"></div>  </body></html>

Viewing all articles
Browse latest Browse all 8124

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>