Hi Marc,
Quote from Marc==================================================
To what does the name menuWebPart_gwpcal1Verbs refer?
- cal1 is your calender - why is this important? the MenuVerbHoverStyle is
a
property of a webpartzone.
- menuWebPart: to what does this refer?
- gwp: to what does this refer?
==================================================
All above are generated by WebPartZone. When you view the source of the
page you can see following JavaScript code:
<script type="text/javascript">
var menuWebPart_gwpcal1Verbs = new
WebPartMenu(document.getElementById('WebPart_gwpcal1Verbs'),
document.getElementById('WebPart_gwpcal1VerbsPopup'),
document.getElementById('WebPart_gwpcal1VerbsMenu'));
menuWebPart_gwpcal1Verbs.itemStyle = '';
menuWebPart_gwpcal1Verbs.itemHoverStyle = '';
menuWebPart_gwpcal1Verbs.labelHoverColor = '';
menuWebPart_gwpcal1Verbs.labelHoverClassName = '';
</script>
The name is hard coded and has no special meaning.
Quote from Marc ==================================================
Because I'm in a masterpage scenario - I guess I have to take account of
the
special naming.
==================================================
I tested it in a masterpage scenario and it works. I wonder if you're using
FireFox or IE (or other browsers). Currently the WebParts verb menu is only
supported in IE. If you're using IE please send a demo project to me. I'll
try to find the root cause. My email is (e-mail address removed).
You're welcome to send a feature request in the Connect if you want
WebParts verb menu to be supported in FireFox in the future:
http://connect.microsoft.com/VisualStudio/Feedback
It will help us to make our products better.
Regards,
Allen Chen
Microsoft Online Support
--------------------
| Thread-Topic: webpartzone: set backgroundimage for MenuVerbHoverStyle
| thread-index: AckEMP01e4btW06NRw2w4IoaWyrJOw==
| X-WBNR-Posting-Host: 207.46.19.168
| From: =?Utf-8?B?TWFyYw==?= <
[email protected]>
| References: <
[email protected]>
<#
[email protected]>
<
[email protected]>
<
[email protected]>
| Subject: RE: webpartzone: set backgroundimage for MenuVerbHoverStyle
| Date: Fri, 22 Aug 2008 01:28:01 -0700
| Lines: 17
| Message-ID: <
[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3119
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:3943
| NNTP-Posting-Host: tk2msftibfm01.phx.gbl 10.40.244.149
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| Hi Allen
|
| Thanks for this workaround!
| I tried it but have some problems with the name of the
| menuWebPart_gwpcal1Verbs.itemHoverStyle. My app reports the following
error:
| "Microsoft JScript runtime error: 'menuWebPart_gwpcal1Verbs' is undefined"
|
| Because I'm in a masterpage szenario - I guess I have to take account of
the
| special naming. To what does the name menuWebPart_gwpcal1Verbs refer?
| - cal1 is your calender - why is this important? the MenuVerbHoverStyle
is a
| property of a webpartzone.
| - menuWebPart: to what does this refer?
| - gwp: to what does this refer?
|
| Kind regards,
|
| Marc
|