add atribute to menu's items(asp.net2)

Last post 03-03-2006 12:56 PM by dannychen. 4 replies.

Sort Posts:

  • add atribute to menu's items(asp.net2)

    02-25-2006, 3:43 AM
    • Member
      141 point Member
    • fahima
    • Member since 01-28-2006, 10:36 AM
    • Posts 73

    Hi

    i want to bring an image on every menu item when the mouse is over it.

    how i can do this?

    tnxSmile [:)]

    ::A Day without Learning is a Lost Day::
  • Re: add atribute to menu's items(asp.net2)

    03-01-2006, 5:33 AM
    • Member
      141 point Member
    • fahima
    • Member since 01-28-2006, 10:36 AM
    • Posts 73
    I need your help Crying [:'(]
    ::A Day without Learning is a Lost Day::
  • Re: add atribute to menu's items(asp.net2)

    03-02-2006, 2:34 PM
    • Contributor
      4,347 point Contributor
    • dannychen
    • Member since 08-24-2004, 8:17 AM
    • Redmond, WA
    • Posts 840
    • AspNetTeam
      Moderator

    You can do this with templating.  Simply determine the html code you want to use for making the items appear/disappear and place that code in the template.

    --
    Danny

    disclaimer: Information provided is 'as is' and conveys no warranties or guarantees.
  • Re: add atribute to menu's items(asp.net2)

    03-03-2006, 2:51 AM
    • Member
      141 point Member
    • fahima
    • Member since 01-28-2006, 10:36 AM
    • Posts 73

    thank you for ur answering.

    but plz give me an example.

    i never work with tamplate in menu.

     

    tnx agian my friend.

    ::A Day without Learning is a Lost Day::
  • Re: add atribute to menu's items(asp.net2)

    03-03-2006, 12:56 PM
    • Contributor
      4,347 point Contributor
    • dannychen
    • Member since 08-24-2004, 8:17 AM
    • Redmond, WA
    • Posts 840
    • AspNetTeam
      Moderator

    You can use the tutorials for some great examples of how to use the menu.  Templating is included:  http://www.asp.net/QuickStart/aspnet/doc/ctrlref/navigation/menu.aspx

     

    disclaimer: Information provided is 'as is' and conveys no warranties or guarantees.
Page 1 of 1 (5 items)