зеркало из https://github.com/mozilla/gecko-dev.git
updates
This commit is contained in:
Родитель
1c82431258
Коммит
badf9c6831
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче