asp.net.ph

Menu.ScrollDownText Property

System.Web.UI.WebControls Namespace   Menu Class


.NET Framework version 2.0

Sets or retrieves the alternate text for the image specified in the ScrollDownImageUrl property.

Syntax


Inline <asp:menu scrolldowntext = strText ... >
Script Menu.ScrollDownText = strText

Property Value


strText String specifying the alternate text for the image specified in the ScrollDownImageUrl property.

The property is read/write with no default value.

Remarks

Use the ScrollDownText property to specify or determine the alternate text displayed for the image specified in the ScrollDownImageUrl property.

When a dynamic menu item contains additional items at the bottom of the menu, an image is displayed to indicate that the user can scroll down to view additional menu items. The text that you specify provides assistive technology devices with a description of the image that can be used to make the control more accessible.

Example

The following example demonstrates how to use the ScrollDownText property to specify the alternate text for the image used to indicate that the user can scroll down in a dynamic menu.

<asp:menu id = "navigationMenu"
   staticdisplaylevels=2
   staticsubmenuindent=10
   scrolldownimageurl = "~/images/scrolldownimage.jpg"
   scrolldowntext = "Down"
   scrollupimageurl = "~/images/scrollupimage.jpg"
   scrolluptext = "Up" 
   runat = "server">

   <dynamicmenustyle Height=50 />

   <items>
      ...
   </items>

</asp:menu>
See Also

Menu Members   ScrollUpText Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph