updates
git-svn-id: svn://10.0.0.236/trunk@109669 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2,17 +2,6 @@
|
||||
|
||||
<!DOCTYPE window>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
function onload() {
|
||||
var n = window.arguments[0] - 1;
|
||||
if ( n ) {
|
||||
// We need to open more windows.
|
||||
window.opener.openWindows(n);
|
||||
//window.openDialog("chrome://navigator/content/miniXul.xul","_blank","chrome,all", n);
|
||||
}
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
id="miniXul">
|
||||
</window>
|
||||
|
||||
@@ -3,15 +3,19 @@
|
||||
<!DOCTYPE window>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="window.setTimeout( 'onload(11);', 2000 );">
|
||||
id="open10Windows"
|
||||
onload="onload();">
|
||||
<script type="application/x-javascript">
|
||||
<![CDATA[
|
||||
function onload(n) {
|
||||
if ( n ) {
|
||||
window.openDialog("chrome://navigator/content/miniXul.xul","_blank","chrome,all");
|
||||
window.setTimeout( 'onload(n-1);', 2000 );
|
||||
var n = 11;
|
||||
function onload() {
|
||||
while( n-- ) {
|
||||
window.setTimeout( 'openMiniXul();', n*2000 );
|
||||
}
|
||||
}
|
||||
function openMiniXul(n) {
|
||||
window.openDialog("chrome://navigator/content/miniXul.xul","_blank","","chrome,all");
|
||||
}
|
||||
]]>
|
||||
</script>
|
||||
</window>
|
||||
|
||||
Reference in New Issue
Block a user