home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 May
/
PCWorld_2003-05_cd.bin
/
Komunik
/
phoenix
/
chrome
/
browser.jar
/
content
/
browser
/
pref
/
pref-images.xul
< prev
next >
Wrap
Extensible Markup Language
|
2002-10-12
|
3KB
|
67 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<!DOCTYPE page [
<!ENTITY % prefImagesDTD SYSTEM "chrome://browser/locale/pref/pref-images.dtd" >
%prefImagesDTD;
]>
<page xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.initPanel('chrome://browser/content/pref/pref-images.xul');"
headertitle="&title;">
<script type="application/x-javascript">
<![CDATA[
var _elementIDs = ["imageLooping", "enableImages", "enableImagesForOriginatingSiteOnly"];
function viewImages() {
window.openDialog("chrome://communicator/content/wallet/CookieViewer.xul","_blank",
"chrome,resizable=yes", "imageManager" );
}
function Startup() {
var imagesEnabled = document.getElementById("enableImages").checked;
var imageBroadcaster = document.getElementById("imageBroadcaster");
imageBroadcaster.setAttribute("disabled", !imagesEnabled);
}
]]>
</script>
<broadcaster id="imageBroadcaster"/>
<groupbox orient="horizontal">
<caption label="&general.label;"/>
<vbox flex="1">
<checkbox id="enableImages"
oncommand="document.getElementById('imageBroadcaster').setAttribute('disabled', this.checked ? 'false' : 'true');"
label="&enableImages.label;" accesskey="&enableImages.accesskey;"
prefstring="network.image.enable"/>
<checkbox id="enableImagesForOriginatingSiteOnly" observes="imageBroadcaster"
label="&forOriginatingSiteOnly.label;"
accesskey="&forOriginatingSiteOnly.accesskey;"
prefstring="network.image.enableForOriginatingWebsiteOnly"
style="margin-left: 23px;"/>
</vbox>
<vbox>
<button id="manageImages"
label="&manageImages.label;" accesskey="&manageImages.accesskey;"
oncommand="viewImages();"
prefstring="pref.advanced.images.disable_button.view_image"/>
</vbox>
</groupbox>
<groupbox>
<caption label="&animLoopingTitle.label;"/>
<radiogroup id="imageLooping"
preftype="string" prefstring="image.animation_mode">
<radio value="normal" label="&animLoopAsSpecified.label;"
accesskey="&animLoopAsSpecified.accesskey;"/>
<radio value="once" label="&animLoopOnce.label;"
accesskey="&animLoopOnce.accesskey;"/>
<radio value="none" label="&animLoopNever.label;"
accesskey="&animLoopNever.accesskey;"/>
</radiogroup>
</groupbox>
</page>