I am using the following code to display as an iframe some link inside another applet. I use the following code:
I want only the SRC URL found in this IFRMAE to be of some height, let’s say 800px. Because the normal script in which it sits is 400px. I want that when this URL is displayed according to the following code, only then the height of the iframe will be 800px. How do you define a specific class or edit this code so that when displaying the IFRMAE it will be 800px high?
<script>
document.body.addEventListener('th:order:external-p1', function(event) {
var order = event.detail;
console.log(order)
document.querySelector('iframe[src*="sy"]').src = 'https://example;
});
</script>
I am using the following code to display as an iframe some link inside another applet. I use the following code:
I want only the SRC URL found in this IFRMAE to be of some height, let’s say 800px. Because the normal script in which it sits is 400px. I want that when this URL is displayed according to the following code, only then the height of the iframe will be 800px. How do you define a specific class or edit this code so that when displaying the IFRMAE it will be 800px high?
fdfdghkjdfket5jrldf fdfdghkjdf is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.