Forrest
  1. Forrest
  2. FOR-20

add "title" attribute to menu links

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Skins (general issues)
    • Labels:
      None

      Description

      Both Mozilla and MSIE 6 nicely display additional information to a link.

      I put ' title="{@title}"' in book2menu.xsl into the
        <xsl:template name="unselected">
          <a href="{@href}" title="{@title}"><xsl:value-of select="@label"/></a>
        </xsl:template>


      Now, when I add 'title="IndexBookTitle1"' to book.xml as in the next line,
         <menu-item label="Index" href="index.html" title="IndexBookTitle1"/>,
      this gets displayed very nicely!

      Therefore, please enhance the two files accordingly in the distribution!

        Activity

        Hide
        David Crossley added a comment -
        Thanks Ralf, sorry that it took so long. Your suggestion is now applied.
        --David
        Show
        David Crossley added a comment - Thanks Ralf, sorry that it took so long. Your suggestion is now applied. --David
        Hide
        Ralf Hauser added a comment -
        sure, description is fine too!
        Show
        Ralf Hauser added a comment - sure, description is fine too!
        Hide
        Jeff Turner added a comment -
        'label' and 'title' are rather synonymous.. how about calling the extra attribute 'description'?

        --Jeff
        Show
        Jeff Turner added a comment - 'label' and 'title' are rather synonymous.. how about calling the extra attribute 'description'? --Jeff

          People

          • Assignee:
            Unassigned
            Reporter:
            Ralf Hauser
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development