Results 1 to 2 of 2

Thread: Navigation with Caption

  1. #1
    User
    Join Date
    07-13-09.
    Posts
    83

    Default Navigation with Caption

    I´remeber that I´ve seen this somewhere but couldn´t find it anymore.
    I want to make a navigation menu, in which every has Menu Item has a caption.

    For example:

    About
    Find out more about me

    Works
    See some of my work

    etc.

    Does anyone know hot wo achive this?
    Best regards, Valentin

  2. #2
    User MacKP's Avatar
    Join Date
    06-19-09.
    Location
    Duisburg (Germany)
    Posts
    211

    Default Re: Navigation with Caption

    Hi Valentin,
    you can make it with html suport in the title atribute:
    Code:
       $GLOBALS['TL_DCA']['tl_page']['fields']['title']['eval']['preserveTags'] = true;
    That in the dcaconfig.php will help.
    Ore you make an own Template for the Navigation, with the alt Information not in the a-Tag... than you can make it with <span>alt-text</span> in the Link. Than you also don't need the alt Information for Blind users, because all user get the same Infomation ;-)

    regards
    Mediendepot Ruhr
    For real-time chat the (inofficial) Chatroom in IRC:
    -> irc.freenode.net #contao | irc.freenode.net #contao.de

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •