Jump to content
Xtreme .Net Talk

Recommended Posts

Posted (edited)

If I click on an element but not exactly on the writing, as in the attached picture, it doesn't select it.

 

How could I select that Item even if I don't click on the writing?

Edited by PROKA
Development & Research Department @ Elven Soft
Posted

I don't understand, are you doing the menu with ASP.NET, or client side JavaScript?

 

If you are using client side js, you will want to use the <tr onMouseDown="JS:CallFunction();"> or something similar.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Posted
I don't understand, are you doing the menu with ASP.NET, or client side JavaScript?

 

If you are using client side js, you will want to use the <tr onMouseDown="JS:CallFunction();"> or something similar.

 

it's an ASP.NET 2.0 Menu

 

check http://uniforme.elvensoft.ro and you'll see what I'm talkin' about.

Development & Research Department @ Elven Soft
  • 3 weeks later...
Posted

I know this is kind of old; however, I just found out that if you use

 

 

 

after the text in the menu item, for example

 

 

<asp:MenuItem Text="Corporate         " NavigateUrl="Default.aspx?pa=services&sid=corp" Value="Corporate" />

 

This allows the user to click on the non-breaking space as part of the text without having underscores or other characters.

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...