Adding closing popups.

This commit is contained in:
hyatt%netscape.com 2000-01-28 03:27:44 +00:00
parent 39573f4597
commit 2193a79232
2 changed files with 7 additions and 7 deletions

View File

@ -576,14 +576,14 @@
<popup id="TextColorPopup" popupanchor="bottomleft">
<html:div id="TextColorCaption" class="color-caption" align="center">&textColorCaption.label;</html:div>
<!-- TODO: Add "Last color picked" button and text -->
<colorpicker id="TextColorPicker" palettename="standard" onclick="EditorSelectTextColor('TextColorPicker','TextColorPopupButton')"/>
<colorpicker id="TextColorPicker" palettename="standard" onclick="EditorSelectTextColor('TextColorPicker','TextColorPopupButton'); parentNode.closePopup();"/>
</popup>
<popup id="BackColorPopup" popupanchor="bottomleft">
<!-- Text Caption is filled in at runtime -->
<!-- TODO: Add "Last color picked" button and text -->
<html:div id="BackColorCaption" class="color-caption" align="center">Background Color</html:div>
<colorpicker id="BackColorPicker" palettename="standard" onclick="EditorSelectBackColor('BackColorPicker','BackColorPopupButton')"/>
<colorpicker id="BackColorPicker" palettename="standard" onclick="EditorSelectBackColor('BackColorPicker','BackColorPopupButton'); parentNode.closePopup();"/>
</popup>
<menupopup id="AlignmentPopup">

View File

@ -162,19 +162,19 @@
<popupset>
<popup id="textPopup">
<colorpicker id="textCP" palettename="standard" onclick="getColor('textCP', 'textCW');"/>
<colorpicker id="textCP" palettename="standard" onclick="getColor('textCP', 'textCW'); parentNode.closePopup();"/>
</popup>
<popup id="linkPopup">
<colorpicker id="linkCP" palettename="standard" onclick="getColor('linkCP', 'linkCW');"/>
<colorpicker id="linkCP" palettename="standard" onclick="getColor('linkCP', 'linkCW'); parentNode.closePopup();"/>
</popup>
<popup id="activePopup">
<colorpicker id="activeCP" palettename="standard" onclick="getColor('activeCP', 'activeCW');"/>
<colorpicker id="activeCP" palettename="standard" onclick="getColor('activeCP', 'activeCW'); parentNode.closePopup();"/>
</popup>
<popup id="followedPopup">
<colorpicker id="followedCP" palettename="standard" onclick="getColor('followedCP', 'followedCW');"/>
<colorpicker id="followedCP" palettename="standard" onclick="getColor('followedCP', 'followedCW'); parentNode.closePopup();"/>
</popup>
<popup id="backgroundPopup">
<colorpicker id="backgroundCP" palettename="standard" onclick="getColor('backgroundCP', 'backgroundCW');"/>
<colorpicker id="backgroundCP" palettename="standard" onclick="getColor('backgroundCP', 'backgroundCW'); parentNode.closePopup();"/>
</popup>
</popupset>