mirror of
https://github.com/silverstripe/silverstripe-iframe
synced 2024-10-02 22:28:24 +02:00
12 lines
326 B
Scheme
12 lines
326 B
Scheme
<div class="typography">
|
|
<h2>$Title</h2>
|
|
|
|
$Content
|
|
<% if DynamicHeight %>
|
|
<iframe src="$IFrameUrl" class="iframeautosize" style="width: 100%;">$AlternateContent</iframe>
|
|
<% else %>
|
|
<iframe src="$IFrameUrl" style="width: 100%; height: {$FixedHeight}px;">$AlternateContent</iframe>
|
|
<% end_if %>
|
|
$BottomContent
|
|
</div>
|