First, I have two items added to the context menu, but what I want to
do is to suppress the menu items if the page is not pointing to a
specific host...any quick suggestions on a good approach to solve this
problem?
Second, on both of these menu items, I'd really like to be able to add
an image next to the menu label...any suggestions on how to accomplish
this?
one more thing, in my status-bar panel that I added, it works perfect,
but when I hover over the panel image, I just get a regular mouse-
pointer, what I'd like to have is a hand cursor...
These seem like simple enough issues, I hope someone has some quick
advice :)
Thanks in advance for any help :)
Per question #1, I'm really wondering same thing right at the moment.
Hopefully will figure it out next half an hour...
TestPilot
You can add a listener on the popup for the "popupshowing" event. See:
~ Gijs
>Second, on both of these menu items, I'd really like to be able to add an image next to the menu label...any suggestions on how to accomplish this?
>
>one more thing, in my status-bar panel that I added, it works perfect, but when I hover over the panel image, I just get a regular mouse-pointer, what I'd like to have is a hand cursor...
>
>
Use CSS to solve both of these. Add an xml-stylesheet processing
instruction to your overlay to load a CSS file in your skin, then in
that file use CSS rules to apply a list-style-image to the menuitem and
a cursor to the statusbarpanel.
--
Warning: May contain traces of nuts.