以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 IMS/SCORM/E-learning 』 (http://bbs.xml.org.cn/list.asp?boardid=9) ---- 关于页面的XML表现 (http://bbs.xml.org.cn/dispbbs.asp?boardid=9&rootid=&id=70558) |
-- 作者:zk72706271 -- 发布时间:12/16/2008 3:08:00 PM -- xml文件我是这样写的 function renderActiveXActivatorString(divid, objString) { var d = document.getElementById(divid); if(objString.indexOf('clsid:CAFEEFAC-0015-0000-0006-ABCDEFFEDCBA') !=-1){ document.write(objString); }else{ d.innerHTML = objString; } } 注:objString是xml文件名 |
-- 作者:zk72706271 -- 发布时间:12/16/2008 3:17:00 PM -- 网页代码调用JS的是 <div id="activeXIde1014235693031" align=center><script language='JavaScript'> <!-- var e1014235693031_XML = 'gc_e1014235693031.xml'; renderActiveXActivatorString('activeXIde1014235693031', getLeoGrammar('gc_e1014235693031.xml', 700,300)); --> </script> </div> |
-- 作者:zk72706271 -- 发布时间:12/16/2008 3:29:00 PM -- function getLeoGrammar(xmlfilename, width, height) { var html = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' + 'width="' + width + '" height="' + height + '" ' + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" ID="xmlflashVars">' + '<PARAM NAME="MOVIE" VALUE="../../dswMedia/controls/grammar.swf">' + '<PARAM NAME="QUALITY" VALUE="high">' + '<PARAM NAME="FlashVars" VALUE="XMLFile=' + rPath + xmlfilename +'&rPath=' + rPath + '">' + '<param name="scale" value="noscale">' + '<param name="salign" value="tl">' + '<param name="bgcolor" value="#ffffff"> <PARAM NAME="wmode" VALUE="opaque"> ' + '<EMBED SRC="../../dswMedia/controls/grammarCoach.swf" NAME="xmlflashVars" ' + 'FlashVars="XMLFile=' + rPath + xmlfilename +'&rPath=' + rPath + '" ' + 'width="' + width + '" height="' + height + '" WMODE="opaque" ' + 'QUALITY="high" ' + 'WMODE="opaque" ' + 'scale="noscale" ' + 'salign="tl" ' + 'swLiveConnect="true" ' + 'BGCOLOR="#ffffff" ' + 'TYPE="application/x-shockwave-flash" ' + 'PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">' + '</EMBED>' + '</OBJECT>'; return html; |
-- 作者:scormexplorer -- 发布时间:12/16/2008 6:05:00 PM -- 可能是你的中文路径的原因,好好整整。 |
-- 作者:zk72706271 -- 发布时间:12/17/2008 9:41:00 AM -- 我把 “通用English 2 (U.S.)” 里面得“通用“去掉啦,但是和是不行 中文路径得原因会是哪里得呢 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
62.500ms |