smkmenu

Hi,

Has anyone here used the skmmenu assembly for asp.net webmenus?

If you have, how do i make the mouseover indicator to show as the "hand" rather than a "pointer"

2) asp.net doesn't seem to like the <selectedmenustyle> tag ------ e.g
      <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
 how do i fix this?

the documentation doesn't make sense to me.
thanks in advance

sirreadalot

SirReadAlotAsked:
Who is Participating?
 
AerosSagaCommented:
If you set the highlight color of themenu to the same color as the background would it not appear as if it is not highlighting?

0
 
AerosSagaCommented:
You need to expose the mousecursor enumeration:
 The MouseCursor enumeration specifies the different cursors for the menu.
public enum MouseCursor
Remarks

The Pointer option will only display a pointer cursor for clickable menu items.
Members
Member Name      Description
Default      Default pointer or pointer controlled by CSS.
Pointer      Pointer normally associated with links (usually a hand).
Requirements

Namespace: skmMenu

Assembly: skmMenu (in skmMenu.dll)
0
 
AerosSagaCommented:
so in your codebehind in your page load type MyskmmenuControlName.MouseCurser = pointer

Aeros
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
AerosSagaCommented:
or just set it in your aspx page

<cc1:Menu id="Menu2" runat="server" Font-Names="Arial" Font-Size="Small" BackColor="#E0E0E0"
      Cursor="Pointer" ItemSpacing="0" ItemPadding="5">
      <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
</cc1:Menu>
0
 
SirReadAlotAuthor Commented:
what about this tag that keep being highligted  <SelectedMenuItemStyle BackColor="#FFC080"></SelectedMenuItemStyle>
0
 
AerosSagaCommented:
change it to this

<SelectedMenuItemStyle BackColor="#E0E0E0"></SelectedMenuItemStyle>
0
 
SirReadAlotAuthor Commented:
didn't make a difference
this is what i have---------------
<table height="30" cellSpacing="0" cellPadding="0" width="100%" bgColor="#000000">
<tr>
<td id="header" vAlign="middle">
<skm:menu id="Menu1" runat="server" layout="Horizontal" menufadedelay="1" Cursor="Pointer"      HighlightTopMenu="True" Width="312px">
<UnselectedMenuItemStyle Font-Bold="True" BorderWidth="1px" BorderStyle="Solid" BorderColor="#404040" width="100px"></UnselectedMenuItemStyle>
<SelectedMenuItemStyle Font-Bold="True" BorderWidth="1px" ForeColor="White" BorderStyle="Solid" BorderColor="#404040"
Width="100px" BackColor="#E0E0E0"></SelectedMenuItemStyle>
</skm:menu></td>
</tr>
</table>

0
 
AerosSagaCommented:
try
HighlightTopMenu="false"
0
 
SirReadAlotAuthor Commented:
yeah, tried that as well. I think its a bug anfd the skm people are not even answering my questions.

0
 
AerosSagaCommented:
so you want no highlight at all and a hand right?
0
 
SirReadAlotAuthor Commented:
yeap, i have sorted out the hand problem.  in the xml i did not specify a url e.g <url>admin.aspx</url>

and yes i don't want this to be highlighted <SelectedMenuItemStyle>
0
 
AerosSagaCommented:
I don't understand why you can't set the hex the same color as your page background for each style to keep it from doing this
0
 
SirReadAlotAuthor Commented:
hang on, i will do that
0
 
SirReadAlotAuthor Commented:
<SelectedMenuItemStyle Font-Bold="True" BorderWidth="1px" ForeColor="White" BorderStyle="Solid" BorderColor="#E0E0E0"
Width="100px" BackColor="#E0E0E0"></SelectedMenuItemStyle>
0
 
SirReadAlotAuthor Commented:
page background??? pls explain
0
 
SirReadAlotAuthor Commented:
no, that not what i ment. I mean  in the actually asp.net where all the codes go into asp.net highlights this tag <SelectedMenuItemStyle> with read lines.

its na eye saw, it doesnt harm the codes, am just wondering why??/


0
 
AerosSagaCommented:
oh, geez man why worry about such if it works then forget about it.
0
 
SirReadAlotAuthor Commented:
I guess so, But am not in charge of the dept, i need to answer ther questions.

I guess i will leave it at that.


thanks for your  patience
0
 
AerosSagaCommented:
You would have to ask the controls developer why intellisense is marking the tag
0
 
SirReadAlotAuthor Commented:
i have, since yesterday, but no replies
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.