我做的一个在线看电影的网站,播放的代码是从网上下载 的,可是打开的是一个大的IE窗口,,
我想吧他做成和网上的一些在线听的网站一样, 弹出的窗口和播放器的大小相同,,并且可以实现全屏,不知道该怎么做,请高手帮忙,谢谢了

解决方案 »

  1.   

    用window.open():<input type="button" Value="打开新窗口" 
    ONCLICK="window.open('index.htm','Sample','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=200,left=100,top=100')"><!--说明:将其中的链接文件test.htm改为你的路径,窗口参数如下: toolbar=yes, 显示工具条
    location=yes,显示网址栏
    directories=no,导航条
    status=no,状态条
    menubar=yes,菜单
    scrollbars=yes,滚动条
    resizable=no,是否可以改变大小
    copyhistory=yes,历史按钮
    width=300,宽
    height=200'高
    left=1000,距离左边100
    top=100,距离顶端100-->
      

  2.   

    这样的话不知道参数怎么传阿?
    -------------------------------------------------------------------------------------
    一样的传法:
    <input type="button" Value="打开新窗口" 
    ONCLICK="window.open('show.aspx?id=8','Sample','toolbar=yes,location=no,directories=no,status=no,menubar=yes,scrollbars=no,resizable=no,copyhistory=yes,width=300,height=200,left=100,top=100')">