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: 165 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:













populating textbox on load with date - 14 days -- how?

databases and directories....

'reportviewer' is ambiguous in the namespace 'microsoft.reporting.webforms'

authenticate email

request.form & variable form name

please give me an example of ienumerable and ienumerator use

run a sql server job thru an aspx page

how do you create a confirm box using c# in asp.net?

the page cannot be displayed

response.contenttype = "image/jpeg" but ie tries to save picture as bmp

asp.net - writing to xmldocument file.. sending to a link using system.text.encoding.ascii.getbytes()

server.transfer and using session

embedding an image into email. should i try?

how to set authentication

select,edit,delete,update data in datagridview control[c#]

progress bar or indicator

report only showing static data

how do i connect to a sql database

copying a datatable for modification while retaining the original datatable

screen resolution problem?

bottom scroll bar does not appear

problem with authentication

how do you set the width and heigth of an image in asp.net? i have a trash can thats too big.

string manipulations with file names

can a user control communicate with another user control

excel to gridview

timet help??

long scripts

can not access file 'filename' because it is being used by another process

sending values to the client function

web.config configuration error assembly not found

how do i convert a sql server bigint to the equivalent in c#

determine whether button has been clicked for the first time

weird dropdown problem

how to test for numeric datatype

problem with an email attachment

skipping lines

creating forums

variable query

datasource and updatecommand in detailview

<asp:wizard ... /> dynamic creation

checkbox ??

what's the best asp.net books to learn it?

need help writing a file to a server....

asax help

opening text files and writing into them

problems with populating a dropdown - object reference not set to an instance of an object.

posting from a webform

several problems - page load, dropdownlist binding

how can i export to regular excel from dataset ?

   
  Privacy | Contact Us
All Times Are GMT