I have all the classes. But How I call a CSS class??
this is my hole project. I already have the parent menus. But how to manage to child menus under the parent menu?
I realy hope somebody can help me.
I have this:
_Layout.cshtml
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- @Html.ActionLink("Home", "Index", "Home")
- @Html.ActionLink("Beheer", "Index", "Home")
- @Html.ActionLink("Uren", "Index", "Home")
- @Html.ActionLink("Home", "Index",new{id=1}, new{@class = "first"})
- Libero felis dolor
- @Html.DropDownList("PriorityID", new List(), new {@class="first"} )
- @Html.me
@RenderBody()
© .
[/code]
And I have added also the hole project. If u donwload the project u see 3 menu items: Home, Beheer and Uren. I just want under Uren 2 more itmes, like a dropdown box. The css classe:class="first" is responsible for this. But How to call that class in MVC?? I am using the Razor view Engine. AND i surfed the internet for hours. But I dont see any examples. I only see examples with simple navigation structure. But now dropdown menu navigation. I realy dont understand where there is so less information about.
Here is a link what I mean: http://www.freecsstemplates.org/preview/reinstated/
THX
Answers
Know the answer? Post it. Somebody with the same question will find it here.