Skip to content

Instantly share code, notes, and snippets.

@sporkd
Created June 4, 2009 02:16
Show Gist options
  • Save sporkd/123385 to your computer and use it in GitHub Desktop.
Save sporkd/123385 to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>test</title>
<style type="text/css" media="screen">
#chart {position:relative; width:670px; height:535px;}
#chart .clickmap {position:absolute; width:670px; height:535px; background:transparent; z-index:1000;}
#chart .swf {position:absolute; width:670px; height:535px;}
</style>
</head>
<body>
<div id="chart">
<div class="clickmap"><!-- Just here to catch events --></div>
<div class="swf">
<!-- Put your SWF here -->
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment