CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: Date Entered: 3/28/2006 8:17:31 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 158 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
"cipher_nemo" <
NewsGroup User
.Menu and the Skip Link3/28/2006 8:17:31 PM

0

I am having some difficulty finding out how to modify the "skip link" that is put into a menu control by default. It seems all I can do is modify the "SkipLinkText" property.

It was originally invisible, but I now have a blank area that shows the "_SkipLink" link for keyboard/mobile user accessibility when the cursor hovers over it. This of course happend after I set the css style for the menu item links to display: block;. I needed to set this to allow a user to mouse-over an area that looks like a css-styled box (ie: resembling a button). Unofrtunately setting the element to display as a block sets the SkipLink to do the same thing.

After inspecting the generated xhtml from Visual Studio 2005, I noticed that this Skip Link isn't assigned an id from which I could have my css file in my theme modify. Is it possible to give it an id or class?

I'd really like to keep the SkipLink, but alter its css attributes and change it from an invisible image to just text, much like the invisible-until-hovered-over skip link at the top left of this page: (accessifyforum.com).

I'm not completely against removing it since the web site I'm working on is mostly for our select customers (none I know of access it via a mobile device). I assume if I went this route, I could do a find of the menuitem in my codebehind page and delete the menuitem at position 0? Any help would be appreciated, as I couldn't find much information for this topic via google or the search feature here. Thanks!


private object yummyFood(baggels,coffee){
foreach(byte in (baggles).code){eat[byte];drink(coffee);}
return discharge(burp);}
"dannychen" <>
NewsGroup User
Re: .Menu and the Skip Link3/29/2006 11:03:58 PM

0

There isn't really an easy way to do this.  You pretty much have 2 options:

1) Remove the skiplink by setting the SkipLinkText property to "" (empty string)

2) Remove the skip link as in #1 and render out your own link pair for accessibility.

--
Danny


disclaimer: Information provided is 'as is' and conveys no warranties or guarantees.
"cipher_nemo" <
NewsGroup User
Re: .Menu and the Skip Link3/30/2006 1:57:34 PM

0

Danny, thanks!  I don't mind making my own skip link.  It is strange that .NET 2.0's menu control by default puts in a SkipLink and to disable it the SkipLinkText property must be defined with an empty string.

Any ways, this answered my question.  Thank you! :-)

private object yummyFood(baggels,coffee){
foreach(byte in (baggles).code){eat[byte];drink(coffee);}
return discharge(burp);}
"Giskad73" <>
NewsGroup User
Re: .Menu and the Skip Link11/1/2007 4:37:45 PM

0

You're one of the good ones Danny! I thank you too!

"DavidKiff" <>
NewsGroup User
Re: .Menu and the Skip Link3/4/2008 9:48:51 AM

1

dannychen:
You pretty much have 2 options

There is a third!

Cascade any a styles from table like so:

#left_column table a

{

display:Block;

}

The SkipLink is not within the table so the styles will not be applied to it!


David Kiff
http://DavidKiff.co.uk

-- "Mark As Answer" If my reply helped you --
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:













even with full product, getting "about:blank" when using ie (7)

using findbyvalue (c#)

the operation has timed out in system.net.webexception

access to the path is denied

postback after a certain time? automated?

how to set smtp server setting in web.config file

how to convert error message to english

getting data out of my dataset

which major websites use asp.net and sql database?

databinding, access to datasource

how to escape from an iframe

adding flash to a project

how to display 1 row in textbox

password

testing for upper case in a text box

uploading .pdf file in asp.net

how to know how many unread pop3 email?

cross language web app

email and checkboxes

retrieving values from a dynamic radiobuttonlist

a namespace does not directly contain members such as fields or methods - datagrids

error:server application unavailable

where can i find wmi references?

need a good tutorial on asp.net 2.0 code behind

sql server 2000 and 2005 which editions?

dreamweaver and web form

problem in downloading a file in .net application

how to itterate trough a hashtable and change values

error while executing update using .executenonquery

windows 2000 event log on asp.net error

need help ---- could not load type issues

calling a class dll dynamically at runtime ?

binding to a checkbox in a datagrid

object-oriented

help with telrik editor

default value

rereading a textfile

software development kit help!!!

resize images

populate database with xls file uploading

using server 2003 with vs 2008

question: can a table be added to the aspnetdb.mdf file that was automatically generated in visual web developer

programming hyperlink

isp blocks port 25 - know a free workaround?

authentication in asp.net

instantiating

how to process a form stored in a db as an aspx page?

generating serial numbers help needed

<% %> vs <%= %>

variable assigment

   
  Privacy | Contact Us
All Times Are GMT