我的头部有 2 个 javascript。现在我想将 embedSWF 函数放在第一个脚本中。只有我不确定在哪里..
<!-- JQUERY Functions -->
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
// alert('DOM ready');
});
window.onload = function() {
// alert('page completely loaded');
}
</script>
<!-- write SWF -->
<script type="text/javascript">
function outputStatus(e) {
if (!e.success) { // alert('NO flash, alternative content');
}
else { // alert('flash embedded successfully');
}
}
var flashvars = {};
var params = {}
swfobject.embedSWF("test.swf", "album-wrap", "930", "530", "9.0.0", "js/expressInstall.swf", flashvars, params, null, outputStatus);
</script>