⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iframetest.xml

📁 ajax 框价.是个好工具.javascript 矿家.可以用在任何平台.
💻 XML
字号:
<?xml version="1.0"?><!--	Basic test with iframes inside internal windows--><Application>	<Window caption="Iframe Test" width="800" height="600"/>	<Resources>		<Script><![CDATA[function IframeTest() {	var appWin = application.getWindow();	var dp = new BiDesktopPane();	dp.setLocation(0,0);	dp.setRight(0);	dp.setBottom(0);	appWin.add(dp);	var w1 = new BiWindow("/");	w1.setOpaque(true);	w1.setSize(640, 480);	w1.setCanMinimize(false);	dp.add(w1);	var f = new BiIframe;	f.setLocation(0,0); f.setRight(0); f.setBottom(0);	//f.setSrc("http://webfx.eae.net");	f.setSrc("/");	w1.getContentPane().add(f);	var w2 = new BiWindow("Google");	w2.setOpaque(true);	w2.setSize(640, 480);	w2.setCanMinimize(false);	dp.add(w2);	var f2 = new BiIframe;	f2.setLocation(0,0); f2.setRight(0); f2.setBottom(0);	f2.setSrc("http://www.google.com");	w2.getContentPane().add(f2);	var w3 = new BiWindow("No Iframe");	w3.setOpaque(true);	w3.setSize(100, 100);	w3.setCanMinimize(false);	dp.add(w3);	w3.getContentPane().add(new BiButton("Hello World"));	var t = new BiTimer(100);	t.addEventListener("tick", function (e) {		try {			var d = f.getContentDocument();			w1.setCaption( d.title || d.location.href );		}		catch (ex) {			w1.setCaption( ex.message );		}	});	t.start();}IframeTest.main = function () { new IframeTest; };		]]></Script>	</Resources></Application>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -