Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
av-styles-and-scripts [2020/05/25 13:30] avsetula |
av-styles-and-scripts [2020/05/25 13:30] avsetula |
||
---|---|---|---|
Line 117: | Line 117: | ||
| | ||
function setHeight(e) { | function setHeight(e) { | ||
- | var iframeWidth = e.offsetWidth; | + | e.style.height = e.offsetWidth*0.5625+"px"; |
- | e.style.height = iframeWidth*0.5625+"px"; | + | |
} | } | ||
</script> | </script> |