HTML 代码:
<!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>FlashObject embed by Geoff Stearns (basic) @ deconcept</title>
<!-- FlashObject embed by Geoff Stearns geoff@deconcept.com http://blog.deconcept.com/flashobject/ -->
<script type="text/javascript" src="flashobject.js"></script>
</head>
<body>
<script type="text/javascript">
// <![CDATA[
var fo = new FlashObject("fo_tester.swf", "fotester", "300", "300", "6", "#FF6600");
fo.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
fo.write("flashcontent");
// ]]>
</script>
</body>
</html>
|
上一篇:w3c技术架构介绍 下一篇:Web标准建站校验和常见错误 |


