[MAGNOLIA-413] Attribute startLevel of tag cmsu:simpleNavigation has error Created: 26/May/05  Updated: 23/Jan/13  Resolved: 26/May/05

Status: Closed
Project: Magnolia
Component/s: taglibs
Affects Version/s: 2.1 Final
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Alessandro Gasparini Assignee: Fabrizio Giustina
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP SP1, FireFox 1.0.4


Attachments: HTML File main.jsp    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   

I tried to set the value of the attribute startLevel of the tag simpleNavigation to "1"
and the menu is disappeared.



 Comments   
Comment by Stojan Peshov [ 26/May/05 ]

when using <cmsu:simpleNavigation startLevel="1" />
the menu is hidden under the header image
and it's because of some css problems

it worked fine in 2.0 , but after the creation of SimpleNavigationTag in 2.1
i get the above problem

Comment by Alessandro Gasparini [ 26/May/05 ]

I have found a solution, it is necessary to enclose the tag with an element div and to specify through css the position of the div.

I think that this necessity goes eventually cited in the documentation
and that could be opportune dedicate to the problem one page on Wiki.

I've attached an example

Comment by Alessandro Gasparini [ 26/May/05 ]

Usage of the startLevel attribute on the simpleNavigation tag

Comment by Fabrizio Giustina [ 26/May/05 ]

the styles which add the absolute position to the menu are specific to the magnolia sample site, there is nothing related to the simple navigation tag. If you add the tag to a page without specific magnolia styles you will get a barebone html list, such as:

  • menu 1
  • menu 2
  • submenu 1
  • submenu 2
  • menu 3

...
you don't need to add any style to make the menu work, you simply should avoid copying from the sample css rules that are not needed

Generated at Mon Feb 12 03:17:11 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.