DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Full Page Template Xhtml Css Swfobject

07.05.2011
| 5140 views |
  • submit to reddit
        // Full Page Template xhtml css swfobject

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Page Template</title>
		<script type="text/javascript" src="swfobject.js" charset="iso-8859-1"></script>
		<script type="text/javascript">
			var flashvars = {
				ticketsPath: "http://www.andculture.com"
			}
		    swfobject.embedSWF("PATH.swf", "flashReplace", "800", "500", "8.0.0", null, flashvars);
		</script>
		
    </head>
    <body>

		<style type="text/css">
			#flashReplace{
				width:800px;height:500px;
			}
		</style>

		<div id="flashReplace">
			Replaced with flash
		</div>

    </body>
</html>