Return to Snippet

Revision: 3611
at May 13, 2008 09:16 by wintondeshong


Updated 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" 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>

Revision: 3610
at August 23, 2007 08:37 by wintondeshong


Updated 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" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Untitled</title>
		<script type="text/javascript" src="http://www.spostohq.com/javascript/swfobject.js" charset="iso-8859-1"></script>	
    </head>
    <body>

		<style type="text/css">
			#flashReplace{
				width:700px;height:368px;
				border:1px solid #333;
			}
		</style>

		<div id="flashReplace">
			Replaced with flash
		</div>
		<script type="text/javascript">
			// <![CDATA[
		     	so = new SWFObject("index.swf", "mainFlash", "100%", "100%", "8", "#FFFFFF");
		     	so.addParam("allowScriptAccess", "always");
		     	so.write("flashReplace");
			// ]]>
		</script>

    </body>
</html>

Revision: 3609
at August 22, 2007 07:02 by wintondeshong


Initial 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" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>Untitled</title>
		<script type="text/javascript" src="js/swfobject.js" charset="iso-8859-1"></script>	
    </head>
    <body>

		<style type="text/css">
			#flashReplace{
				width:700px;height:368px;
				border:1px solid #333;
			}
		</style>

		<div id="flashReplace">
			Replaced with flash
		</div>
		<script type="text/javascript">
			// <![CDATA[
		     	so = new SWFObject("dimmer_calculator_50.swf", "mainFlash", "100%", "100%", "8", "#FFFFFF");
		     	so.addParam("allowScriptAccess", "always");
				so.addVariable("xmlPath", "http://www.spostohq.com/dimmercalc/xml/settings.xml");
		     	so.write("flashReplace");
			// ]]>
		</script>

    </body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
Full Page Template xhtml css swfobject

Initial Tags
css, textmate, template, xhtml

Initial Language
HTML