那位大哥大姐帮我看一下这段代码怎么会没用!
<SCRIPT language=javascript>
function sinopart_DoFSCommand(command,args)
{if(command == "home"){
window.location.href="http://mstt.sinopart.com";}
if(command == "trade"){
window.location.href="/offer/shop/mstt.html";}
if(command == "product"){
window.location.href="/shop/productlist/mstt.html?type=all";}
if(command == "profile"){
window.location.href="/shop/companydetail/mstt.html";}
if(command == "sinopart"){
window.location.href="http://www.sinopart.com";}
if(command == "contact"){
window.location.href="mailto:mstt@sinopart.com";}
}
</SCRIPT>
<SCRIPT language=VBScript>
Sub sinopart_FSCommand(ByVal command, ByVal args)
call sinopart_DoFSCommand(command, args)
end sub
</SCRIPT>
这是一段FLASH按钮用到的JS
这段代码在FF怎么会没用,IE里面就没有问题,我要怎么改动才行呀?