Menu

Menu Display Icon's Title

Anonymous
2009-08-14
2013-05-30
  • Anonymous

    Anonymous - 2009-08-14

    Greetings,

    In 4.2.2 Cloudy Theme, if you select one of the sub items in the Charts menu, e.g. Circle Diagram, and the cursor happens to be over the icon image, you will get the img title "Circle Diagram" displayed.  If your cursor is over the text "Circle Diagram" the title is not displayed.  Might it be possible to null the title for the img items?

    Second item - fyi.  I was QA'ing PGV withSafari  V4 under Windows 7 and I noticed that with the same example above, if you slowly move the cursor down for a sub menu, and its over the img, the drop down sub menu disappears after about the third submenu.

    Rob

     
    • Veit

      Veit - 2009-08-15

      Hi Rob,
      regarding to accessability guidelines every image tag should have an alt attribute. This is what you see. It woiuld be a step backward to null this. Different browsers have a little bit different behavior how to show a title if the image is a link also. Some browsers show the images alt text and some show the links title text if there is one.

      Do you have the Windows 7 RTM code available? I don't have. And in my opinion it makes no sense to do something for a 1 percent browser on a beta status of an operating system.
      Lets discuss this, if the final code is available to the public in october and is behavior already exists.

      Veit

       
    • Anonymous

      Anonymous - 2009-08-15

      Veit,

      The title attribute of the image tag that I was talking about.  Line 268 of class_menu.php controls  the img tag at the menu and submenu level.  If you change the code from

      $MenuIcon = "<img id=\&quot;menu{$id}_icon\&quot; src=\&quot;{$this->icon}\&quot; class=\&quot;icon\&quot; alt=\&quot;{$tempTitle}\&quot; title=\&quot;{$tempTitle}\&quot; />";

      to

      $MenuIcon = "<img id=\&quot;menu{$id}_icon\&quot; src=\&quot;{$this->icon}\&quot; class=\&quot;icon\&quot; alt=\&quot;{$tempTitle}\&quot; title=\&quot;\&quot; />";

      then all the icon titles are remove -- not the best solution.  My choice would be to have the title tage display on the menu item and not on the submenuitem.  

      This issue is not a big deal for the other standard PGV themes since they use the larger icon set and the submenuitem is displayed left shifted a bit.  With these themes, the user can naturally move their cursor down to the submenuitem with no problem.  However, on Cloudy, with the small icons and with the submenuitem image directly under the menu icon, it gets too messy with the title being displayed.

      Rob

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.