主题:  这个全屏如何实现?

ceehoo

职务:普通成员
等级:1
金币:0.0
发贴:59
注册:2003/5/12 13:01:55
#12004/6/21 22:20:36
请教高手,如果用普通链接和FLASH链接两种方式实现如下全屏效果(全屏只留滚动条)?http://snowto.net/down/flash/wedding/ 非常感谢!



=ridincal=

职务:管理员
等级:7
金币:20.0
发贴:5886
注册:2004/1/13 11:47:04
#22004/6/22 9:15:55
function fullscreen()
{
	var Pop;
            if (self.screen) {
            sw = screen.width;
            sh = screen.height;
			w = sw-10; // to center: use desired width
			h = sh - 70; // to center: use desired height
			cx = 0;  // to center: (.5*sw) - (w*.5)
			cy = 0; // to center: (.5*sh) - (h*.5)

		    var  dimentions_and_such = 'width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy+',toolbar=0,status=0,menubar=0,resizable=0';
	    	var  dimentions_and_such1 = 'scrollbars=0,width='+w+','+'height='+h+',' + 'screenX=' +cx+','+'screenY='+cy+','+'left='+cx+','+'top='+cy+',toolbar=0,status=0,fullscreen=0,menubar=0,resizable=0';
		if (screen.width < 900)
		{
			Pop=window.open("wedding.htm","","toolbar=0,location=0,fullscreen=1,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
		}
		else if (screen.width > 1200)
		{
			Pop=window.open("wedding.htm","",dimentions_and_such1);
		}
		else
		{

			Pop=window.open("wedding.htm","",dimentions_and_such1);
		}
	}

}



ceehoo

职务:普通成员
等级:1
金币:0.0
发贴:59
注册:2003/5/12 13:01:55
#32004/6/25 13:37:06
哦,谢谢,javascript,在FLASH 按钮如何实现?谢谢



缺缺

职务:管理员
等级:8
金币:41.0
发贴:9620
注册:2004/1/14 19:14:47
#42004/6/25 15:29:52
gotourl到这个函数