safeframe
Version:
SafeFrame provides a consistent JS API to include 3rd party content
40 lines (34 loc) • 1.13 kB
HTML
<!--
THIS IS EMBEDDED AS scripted content .
Source here is provided as a mechanism to make the ad more readable.
Actual source is translated into Javascript string and placed in "billboardAdBootstrap.js" file.
-->
<style>
#showAdButton{
cursor: pointer;
text-decoration: underline;
text-align: right;
width:970px;
color: #888;
font-weight:bold;
font-size:0.8em;
font-family: Verdana;
}
#collapsedAd{
display: none;
}
</style>
<script>
function preCollapse(){
collapseAd();
}
</script>
<div id="collapsedAd">
<div id="showAdButton" onclick="expandAd()">Show ad <img src="https://s3-us-west-2.amazonaws.com/safeframe/examples/IAB_RisingStars/AdFiles/downarrow.png" /></div>
</div>
<div id="expandedAd">
<a href="javascript:collapseAd();" onclick="collapseAd();return false;"><img src="https://s3-us-west-2.amazonaws.com/safeframe/examples/IAB_RisingStars/AdFiles/backupImage.png"
id="adImage"
style="width:970px;height:250px;border:0;" /></a>
</div>
<script src="https://s3-us-west-2.amazonaws.com/safeframe/examples/IAB_RisingStars/AdFiles/adScriptBehavior.js"></script>