呵呵,application/msword改为application/mspptL@_@K
window.open('Test.ppt','','left=100,top=150,width=600,height=300,menubar=no,status=no,resizable=yes,scrollbars=no,toolbar=yes,location=no,directories=nohttp-equiv="Content-Type" content="application/msppt"')
window.open('Test.ppt','','left=100,top=150,width=600,height=300,menubar=no,status=no,resizable=yes,scrollbars=no,toolbar=yes,location=no,directories=nohttp-equiv="Content-Type" content="application/msppt"')
window.open('Test.ppt','','left=100,top=150,width=600,height=300,menubar=no,status=no,resizable=yes,scrollbars=no,toolbar=yes,location=no,directories=no');
application/vnd.ms-Excel
这样标准些!IE可以直接打开Excel,但需要用户点击“打开”按钮!那叫MIME格式!
http://www.pc106.com/wzjs/aspjs/aspyy/200702/8570.html