XUL - Menu für Firefox/Prism mit Icons für "back" und "forward" versehen.
authorSven Donath <lxo@dexo.de>
Thu, 8 Jul 2010 16:10:13 +0000 (18:10 +0200)
committerSven Donath <lxo@dexo.de>
Thu, 8 Jul 2010 19:38:17 +0000 (21:38 +0200)
Das Menü ist aber ohnehin alles andere als fertig. Die Tooltips gehen nicht
und noch ein paar Dinge sind "komisch".

new file:   image/icons/24x24/leftarrow_24.png
new file:   image/icons/24x24/rightarrow_24.png
modified:   xslt/xulmenu.xsl

Hallo, ich bin der Neue. Ich komme jetzt öfter. :-)

image/icons/24x24/leftarrow_24.png [new file with mode: 0644]
image/icons/24x24/rightarrow_24.png [new file with mode: 0644]
xslt/xulmenu.xsl

diff --git a/image/icons/24x24/leftarrow_24.png b/image/icons/24x24/leftarrow_24.png
new file mode 100644 (file)
index 0000000..8786f74
Binary files /dev/null and b/image/icons/24x24/leftarrow_24.png differ
diff --git a/image/icons/24x24/rightarrow_24.png b/image/icons/24x24/rightarrow_24.png
new file mode 100644 (file)
index 0000000..b5f43b9
Binary files /dev/null and b/image/icons/24x24/rightarrow_24.png differ
index c4b5dde..cd3df0b 100644 (file)
@@ -253,16 +253,17 @@ document.getElementById("main_window").contentWindow.history.forward()
 <!-- ***************************************************************************  -->
 
 <!-- special buttons ( logout , print, open new window )
+The tooltips, like tooltip="Neues Fenster", do not appear in my Firefox/Prism browsers. Why?
 ****************************************************************************  -->
 <xsl:template name="specialbuttons">
-  <toolbarbutton image="image/icons/24x24/Batch Printing.png" tooltiptext="hallo" oncommand="PrintW(event)"/>
+  <toolbarbutton image="image/icons/24x24/Batch Printing.png" tooltip="Drucken" oncommand="PrintW(event)"/>
   <toolbarbutton image="image/icons/24x24/Neues Fenster.png" tooltip="Neues Fenster" link="menuXML.pl?action=display" target="_top" oncommand="openLinkNewWindow(event)"/>
   <toolbarbutton label="Logout" link="{/*//item[@id='Programm--Logout']/@link}" target="_top" oncommand="openLink(event)">
     <image src="image/icons/24x24/Programm--Logout.png" width="24" height="24" />
   </toolbarbutton>
 <toolbarseparator/>
<toolbarbutton label="back" tooltiptext="hallo" oncommand="MyGoBack()"/>
-  <toolbarbutton label="forward" tooltip="Neues Fenster" oncommand="MyGoForward()"/>
 <toolbarbutton image="image/icons/24x24/leftarrow_24.png" tooltip="Schritt zurück" oncommand="MyGoBack()"/>
+  <toolbarbutton image="image/icons/24x24/rightarrow_24.png" tooltip="Schritt vor" oncommand="MyGoForward()"/>
 </xsl:template>
 <!-- ***************************************************************************  -->