New: CuteMenus
-
- Posts: 673
- Joined: June 10th, 2003, 2:20 pm
Neptune for CuteMenus v1.0 (+Aaron Spuler): <a href="http://adblock.mozdev.org/cutemenus/neptune.xpi">Installer</a>
.
The second Iconpack for Aaron's theme series -- this time straight from Aaron himself! Be sure and scope his <a href="http://mozthemes.tk">theme-page</a>, while you're at it.
.
(requires CuteMenus <a href="http://forums.mozillazine.org/viewtopic.php?t=33787&postdays=0&postorder=asc&start=105#273844">v.3.1</a>.)
.
The second Iconpack for Aaron's theme series -- this time straight from Aaron himself! Be sure and scope his <a href="http://mozthemes.tk">theme-page</a>, while you're at it.
.
(requires CuteMenus <a href="http://forums.mozillazine.org/viewtopic.php?t=33787&postdays=0&postorder=asc&start=105#273844">v.3.1</a>.)
- cheeaun
- Posts: 826
- Joined: November 5th, 2002, 10:55 pm
- Location: Malaysia
- Contact:
-
- Posts: 296
- Joined: January 4th, 2004, 6:02 am
- Location: Welly
- Contact:
-
- Posts: 673
- Joined: June 10th, 2003, 2:20 pm
cheeaun:
CuteMenus adds the attribute "class='menuitem-iconic' to affected menuitems. The only way to accomplish this from a skin's css would be with an xbl-binding.
.
If you'd like to try, here's a sample declaration for the context-forward menuitem's css:
iconfile: forward.png;
-moz-binding: url("chrome://myskin/subdir/myskinBindings.xml#menuicons") !important;
.
Then, in the specified xml-file, you'd have some code that looked like this:
CuteMenus adds the attribute "class='menuitem-iconic' to affected menuitems. The only way to accomplish this from a skin's css would be with an xbl-binding.
.
If you'd like to try, here's a sample declaration for the context-forward menuitem's css:
iconfile: forward.png;
-moz-binding: url("chrome://myskin/subdir/myskinBindings.xml#menuicons") !important;
.
Then, in the specified xml-file, you'd have some code that looked like this:
Code: Select all
<bindings id="myskinBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<binding
id="menuicons"
extends="chrome://global/content/bindings/menu.xml#menuitem"
>
<implementation>
<constructor>
<![CDATA[
// Any code placed here is run once,
// when the element is constructed.
// set the image-attribute, for our icon
var iconFile = this.style.getPropertyValue("iconfile");
this.setAttribute("image",
"jar:resource:/Chrome/myTheme.jar!/subdir/"
+ iconFile);
// change this menuitem to an iconic-class
this.setAttribute("class", "menuitem-iconic");
]]>
</constructor>
</implementation>
</binding>
</bindings>
- aaron
- Posts: 3130
- Joined: November 4th, 2002, 8:49 pm
- Location: Texas
- Contact:
-
- Posts: 673
- Joined: June 10th, 2003, 2:20 pm
CuteMenus v.3.4 (+Lotsa Icons): <a href="http://adblock.mozdev.org/cutemenus/cutemenus-03-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/cutemenus/cutemenus.jar">jar-file</a>.
What's New: thanks to Aaron Spuler, many more menuitems are iconified. Aaron has updated his iconpacks to support them, so feel free to step <a href="http://mozthemes.tk">right this way</a>. Oh, and there's no need to restart after intalling a pack -- CuteMenus now updates its listing on-the-fly.
.
As before: pop the context-menu, then hold shift and move to configure.
.
(original is <a href="http://cute.mozdev.org">here</a>)
What's New: thanks to Aaron Spuler, many more menuitems are iconified. Aaron has updated his iconpacks to support them, so feel free to step <a href="http://mozthemes.tk">right this way</a>. Oh, and there's no need to restart after intalling a pack -- CuteMenus now updates its listing on-the-fly.
.
As before: pop the context-menu, then hold shift and move to configure.
.
(original is <a href="http://cute.mozdev.org">here</a>)
-
- Posts: 65
- Joined: November 22nd, 2003, 8:05 pm
- Location: Japan
- Contact:
Suggestions about localizability
Thank you rue. CuteMenus is a nice extension.
But Japanese users are disappointed because this extension does not work well with Japanese Lanugage Packs.
I've modified CuteMenus v0.3.4 for use with non-English locale packs.
# As temporal, the version string of this package set to 'v0.4'.
To use with your locale pack, you must create locale pack of CuteMenus before. With my 'modified CuteMenus' and your locale packs, you can use it in your language!
Note: labels in locale/xx-XX/cutemenus.js (it contains hash 'iconLabels[]' definition only) should be written in escaped unicodes like *.properties files. And write locale/xx-XX/cutemenus.dtd in UTF-8N.
This is an experimental build and for a proposal.
http://www1.ttcn.ne.jp/~amotohiko/ya-cutemenus.0119.xpi
IMPORTANT: This is not compatible with previous versions. Do not install when previous version has been installed.
And rue, ppplease do not use directory name includes empty spaces...
I'm grad if original CuteMenus becomes to have localizability.
Sorry about funny English.
Thanks.
But Japanese users are disappointed because this extension does not work well with Japanese Lanugage Packs.
I've modified CuteMenus v0.3.4 for use with non-English locale packs.
# As temporal, the version string of this package set to 'v0.4'.
To use with your locale pack, you must create locale pack of CuteMenus before. With my 'modified CuteMenus' and your locale packs, you can use it in your language!
Note: labels in locale/xx-XX/cutemenus.js (it contains hash 'iconLabels[]' definition only) should be written in escaped unicodes like *.properties files. And write locale/xx-XX/cutemenus.dtd in UTF-8N.
This is an experimental build and for a proposal.
http://www1.ttcn.ne.jp/~amotohiko/ya-cutemenus.0119.xpi
IMPORTANT: This is not compatible with previous versions. Do not install when previous version has been installed.
And rue, ppplease do not use directory name includes empty spaces...
I'm grad if original CuteMenus becomes to have localizability.
Sorry about funny English.
Thanks.
-
- Posts: 47
- Joined: January 8th, 2004, 4:11 am
- Contact:
- frease
- Posts: 3981
- Joined: September 16th, 2003, 1:17 pm
rue wrote:CuteMenus v.3.4 (+Lotsa Icons): <a href="http://adblock.mozdev.org/cutemenus/cutemenus-03-dev.xpi">Installer</a>, and <a href="http://adblock.mozdev.org/cutemenus/cutemenus.jar">jar-file</a>.
What's New: thanks to Aaron Spuler, many more menuitems are iconified. Aaron has updated his iconpacks to support them, so feel free to step <a href="http://mozthemes.tk">right this way</a>. Oh, and there's no need to restart after intalling a pack -- CuteMenus now updates its listing on-the-fly.
.
As before: pop the context-menu, then hold shift and move to configure.
.
(original is <a href="http://cute.mozdev.org">here</a>)
How do I update? Just install it over?
-
- Posts: 1974
- Joined: November 5th, 2002, 3:25 am
- Location: Lancaster, UK
- Contact:
rue wrote:cheeaun:
CuteMenus adds the attribute "class='menuitem-iconic' to affected menuitems. The only way to accomplish this from a skin's css would be with an xbl-binding
but you don't need to!
http://forums.mozillazine.org/viewtopic ... 303#268303
and your hackish piece of XBL probably wouldn't work anyway, since themes aren't allowed to run scripts ordinarily.
-
- Posts: 673
- Joined: June 10th, 2003, 2:20 pm
-
- Posts: 673
- Joined: June 10th, 2003, 2:20 pm