silverstripe-iframe/templates/SilverStripe/IFrame/Layout/IFramePage.ss

16 lines
765 B
Scheme
Raw Normal View History

2009-02-27 03:41:21 +01:00
<div class="typography">
<h2>$Title</h2>
$Content
<% if $IFrameURL %>
2013-10-24 22:24:39 +02:00
<span id="Iframepage-loading" style="display: none;">
<%t SilverStripe\\IFrame\\IFramePage.Loading "Loading content..." %>
2013-10-24 22:24:39 +02:00
</span>
<div class="nonvisual-indicator" style="position: absolute; overflow: hidden; clip: rect(0 0 0 0); height: 1px; width: 1px; margin: -1px; padding: 0; border: 0;">
<%t SilverStripe\\IFrame\\IFramePage.ExternalNote "Please note the following section of content is possibly being delivered from an external source (IFRAME in HTML terms), and may present unusual experiences for screen readers." %>
2013-10-24 22:24:39 +02:00
</div>
<iframe id="Iframepage-iframe" style="$Style" src="$IFrameURL" class="$Class">$AlternateContent</iframe>
<% end_if %>
$BottomContent
</div>