This commit is contained in:
law%netscape.com 2001-12-04 22:15:45 +00:00
Родитель 1c82431258
Коммит badf9c6831
2 изменённых файлов: 11 добавлений и 18 удалений

Просмотреть файл

@ -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>