SAP open UI5 fiori Dialog popup image

Paylaş.

 

<!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>

 

 

<script>

var PoPImage = new sap.ui.commons.Image();

PoPImage.setSrc(“http://www.prins.com.tr/images/PRS_15096_WebBannerlar-04.png“);

 

 

 

 

// Function to create the first dialog

function openFirstDialog() {

var oFirstDialog = new sap.ui.commons.Dialog({modal: true});

oFirstDialog.setTitle(“Normal Dialog”);

oFirstDialog.setWidth(“720px”);

oFirstDialog.setHeight(“300px”);

oFirstDialog.setKeepInWindow(true);

oFirstDialog.setScrollTop(100);

 

oFirstDialog.addContent(PoPImage);

oFirstDialog.addButton(new sap.ui.commons.Button({text: “OK”, press:function(){oFirstDialog.close();}}));

oFirstDialog.open();

};

 

 

 

 

</script>

</head>

<body onload=”openFirstDialog();” class=’sapUiBody’>

<div id=’content’></div>

<div id=’images1′></div>

</body>

</html>

VN:F [1.9.22_1171]
Rating: 8.0/10 (1 vote cast)
VN:F [1.9.22_1171]
Rating: +1 (from 1 vote)
SAP open UI5 fiori Dialog popup image, 8.0 out of 10 based on 1 rating