Member:
US-WebDesigner ⋅
Date: August 6, 2010, 12:45 AM
⋅ Subject: "Re: Module Menu li tags"
Thanks Marcus. That did it.
I was wondering - was that a bug? I was wondering because I had similar issue modifying the Main Menus, where the spacing seemed to go off.
Specifically, when moving your cursor over the main menu, in the default template and also in mine, when you move your cursor over the side of a menu item, the background changes before the link is active. This happens, as I see it, because the background change includes the left and right side table column blocks and the link is in the center td.
I believe this presents a problem, to me a somewhat significant one from the perspective of usability, as someone moving their cursor over the side of a nav button and seeing the change of state would assume it is now active, but it is not (until the cursor moved more to center and the text color changes). Users would invariably get frustrated with the fact that the navigation buttons are not working, or seem to sometimes not work because they would likely just be acting unconciously to standard input.
I wanted to solve this problem with my own design which did not need the left and right td backgrounds by simply changing the width of each td on the sides (classes top_button_right and top_button_left) to 0, (and a right border 1px for the border between menu items applied to the link tag), but the result was some unexpected spacing that threw it off in a wierd way - this time in Safari (Mac) and Explorer (PC testing). It seemed that the background highlight change per link was set off to the right by something like 6 to 12 pixels.
Not a big deal as I worked it out in another way, but I don't love the solution because I am still stuck with navigation that works in the way I explained up front with this, that a cursor over the button causes a state change before the link is actually active. (I figure I could change the code so that the state change does not include the right and left table cells, but that seemed like more code to keep track of on updates and would also cause the the highlight states per menu item not to be right up against each other, which I don't love aesthetically at all.
So I thought to ask if there was something easy that you knew of to make that work better?
Thanks,