fixed CSS style names
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 21 Apr 2013 15:22:16 +0000 (18:22 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sun, 21 Apr 2013 15:22:16 +0000 (18:22 +0300)
src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java

index 1731043..3a07bbd 100755 (executable)
@@ -38,15 +38,16 @@ public class Navigation {
                final NavigationItem selectedItem = getSelectedItem(requestUrl);
                final StringBuffer result = new StringBuffer();
 
-               result.append("<div id=\"topNavigation\">");
+               result.append("<div class=\"navigationMenu\">");
 
                for (final NavigationItem item : rootNavigationItem.getSubElements()) {
 
                        if (item == selectedItem)
-                               result.append("<a class=\"selected\" href=\"" + item.getLink()
-                                               + "\">");
+                               result.append("<a class=\"menuItemSelected\" href=\""
+                                               + item.getLink() + "\">");
                        else
-                               result.append("<a href=\"" + item.getLink() + "\">");
+                               result.append("<a class=\"menuItem\" href=\"" + item.getLink()
+                                               + "\">");
 
                        result.append(item.getTitle());
                        result.append("</a>");