[prefwindow] reimplementing default-page-setting functionality

This commit is contained in:
rgoodger%ihug.co.nz 2006-05-17 02:22:51 +00:00
Родитель d897920b39
Коммит 8e03a6809b
1 изменённых файлов: 8 добавлений и 1 удалений

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

@ -54,7 +54,14 @@ Contributor(s): ______________________________________. -->
</html:div> </html:div>
<spring style="width: 10px;"/> <spring style="width: 10px;"/>
<!-- content frame --> <!-- content frame -->
<html:iframe id="panelFrame" name="panelFrame" src="chrome://pref/content/pref-appearance.xul" flex="60%"/> <html:iframe id="panelFrame" name="panelFrame" flex="60%"/>
<html:script language="javascript">
if( window.arguments[0] )
document.getElementById("panelFrame").setAttribute("src", window.arguments[0] );
else
document.getElementById("panelFrame").setAttribute("src", "chrome://pref/content/pref-navigator.xul" );
</html:script>
<spring style="width: 7px;"/> <spring style="width: 7px;"/>
</box> </box>
<html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/> <html:div class="separator" align="horizontal" style="margin-bottom: -2px;"/>