Haz 9 2016
SAP UI5 open dialog, show pop-up html external page iframe
<!DOCTYPE html> <html><head> <meta http-equiv=’X-UA-Compatible’ content=’IE=edge’ /> <meta http-equiv=’Content-Type’ content=’text/html;charset=UTF-8’/> <title>Dialog popup</title> <script id=’sap-ui-bootstrap’ type=’text/javascript’ src=’https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js’ data-sap-ui-theme=’sap_goldreflection’ data-sap-ui-libs=’sap.ui.commons,sap.ui.ux3′> <script> // SAP UI5 open dialog, show pop-up // *************************************** function OpenPopup() { var html = new sap.ui.core.HTML(); html.setContent(“<iframe src=\”http://www.karadere.com\” style=\”height:600px;width:600px;\”></iframe>”); var SozDialog = new sap.ui.commons.Dialog({modal: true}); SozDialog.setTitle(“Popup title”); SozDialog.setWidth(“650px”); SozDialog.setHeight(“650px”); SozDialog.addContent(html); SozDialog.addButton(new sap.ui.commons.Button({text: “KAPAT”, press:function(){SozDialog.close();}})); SozDialog.open(); }; </script> </head> <body onload=”OpenPopup();” class=’sapUiBody’> <div id=’content’></div> <div id=’images1′></div> </body> </html>
Eyl 23 2016
SAP Fiori Open UI5 Carousel Örneği
<html> <head> <meta http-equiv=”X-UA-Compatible” content=”IE=edge” /> <meta http-equiv=”Content-Type” content=”text/html;charset=UTF-8/”> <script src=”https://sapui5.hana.ondemand.com/resources/sap-ui-core.js” id=”sap-ui-bootstrap” data-sap-ui-libs=”sap.m,sap.ui.layout,sap.ui.commons” data-sap-ui-theme=”sap_bluecrystal” type=”text/javascript”> </script> </head> <body class=”sapUiBody”> <div id=”carousel”></div> </body> </html> <script> //Create the Carousel control var oCarousel = new sap.m.Carousel(“Haberler” , { loop : true , pages: [ new sap.m.Image({ src: “http://cdn.jssor.com/demos/img/1920/blue.jpg”, width : “740px” , press : function() { window.open(“http://www.karadere.com?hid=0000000294”); […]
Devamı
By Burhan KARADERE • 2015 - 2016 • 0 • Tags: Carousel, fiori, SAP, SAP UI5, slider, UI, ui5, Uygulamaı