View Single Post
Old 07-02-2009, 04:25 PM   #9
DougBarned
Senior Member
 
DougBarned's Avatar
 
Join Date: Jun 2009
Location: London / U.K.
Posts: 181
Thanks: 6
Thanked 12 Times in 12 Posts
Default

This should do the trick for you (hopefully):

HTML Code:
<!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" lang="en" xml:lang="en">

<head>

	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />


	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="icon" href="/favicon.ico" type="image/ico" />

	<title>Simplepop - Joe White - Motion/Graphics/Website/Design 2009</title>


	<script type="text/javascript" src="swfobject.js"></script>
	<script type="text/javascript">
		var flashvars = {};
		var params = {};
		params.play = "true";
		params.menu = "false";
		params.quality = "best";
		params.scale = "noscale";
		var attributes = {};
		attributes.align = "middle";
		swfobject.embedSWF("index.swf", "myAlternativeContent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
	</script>

	<style type="text/css" media="screen">
		html, body, #containerA, #containerB { height:100%; }
		body { margin:0; padding:0; overflow:hidden; }
	</style>	

</head>

<body>

	<div id="myAlternativeContent">

		<a href="http://www.adobe.com/go/getflashplayer">
			<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
		</a>

	</div>

</body>
</html>
This ones for free but you should probably get to grips with these basic bits - NO upper-case tags in XHTML Strict doc type and NO style elements inside your body tags.

Just out of interest, does SWF Object cater for accessibility issues as well as SEO optimisation in flash sites?
__________________
design-is.co.uk - freelance projects
dougbarned.co.uk - personal site & blog - twitter
feralinteractive.com - designer day job - twitter - facebook
DougBarned is offline   Reply With Quote