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:













how do you create a dynamic vertical menu?

trouble applying skinid to an <asp:tablerow> tag

smart navigation, div inside a div, menu extra line issue.. help please

large sitemap

master pages css problem

reference menuitems in javascript

new style class with arrays

dynamically expand treeview

css anchor problem

treeview, sitemapdatasource, sitemap and caching

sitemap path problem

the file 'myweb/masterpage.master' does not exist.

update web pages without a refresh

css adapters horizontal menu images

url mapping to folder

help!!!!! on page themes!

how to populate treeview control with this database schema?

problems with a treeview

do masterpages have a preinit event?

rootnodetemplate being overriden by currentnodetemplate

master pages version 1.*

ie7, opera 9 layout best practices

content page control clientid

cannot access sqldatasource in master page

sitemap per user

dynamic images with treeview

master page design time render issue - am i going mad?

menu staticitemtemplate without databinding?

master page not applying properly

master page

addcontenttemplate syntax help!

how to use master with multiple contentplaceholders

inheritence of skinid's

making the menu within my master page unmovable

menu control keep menu item selected

safari is duplicating controls on masterpage on response.redirect

how to centralized content?

treeview control accross pages asp.net 2.0

using roles with sitemaps to display menus

master page login form problems

menu size

character needed for theme directory

masterpage problem with images

change color of 1 menu item

site maps and query strings

problem in positioning asp.net menu control using css position:fixed property

menu - dynamic menu - font sizes question

.net menu control speed ie6

custom treeview

how to make a friendly url?

   
  Privacy | Contact Us
All Times Are GMT