Skip to content

Instantly share code, notes, and snippets.

@m-pokrovskii
Created September 14, 2013 04:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m-pokrovskii/6558817 to your computer and use it in GitHub Desktop.
Save m-pokrovskii/6558817 to your computer and use it in GitHub Desktop.
Add a Link Around an Embedded Flash File
.flash-wrap{
position: relative;
}
.flash-link{
position: absolute; top:0px; left:0px;
width:180px; /*Flash Size*/
height:220px;
/*background: url('images/0.gif') no-repeat;*/ /*You should uncommented this line for support old IE version.*/
}
<div class="flash-wrap">
<a class="flash-link" href="#"></a>
<object type="application/x-shockwave-flash" data="flash.swf" width="180" height="220">
<param name="wmode" value="opaque">
<param name="movie" value="flash.swf" />
<param name="quality" value="high" />
</object>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment