Sorry I misunderstand you.

And I do not know how to too.

Maybe you should use
<li><span title="about this site"><lift:Menu.item name="about"/></span></li>
instead of <lift:Menu.builder />


On Tue, Dec 22, 2009 at 11:29 AM, Alex Black <[email protected]> wrote:

> Hi Xuefeng,
>
> I'm using the default Lift Sitemap, so I don't think I can use either
> of your suggestions, or, I don't see how to use them.  The sitemap
> renders the links for me... I have seen how to set the class of the
> elements that it renders, but not how to add other attributes such as
> title.
>
> - Alex
>
> > You could add MetaData 'title' by Elem 's method '%'
> > <a href="link">some page</a> % ("title" -> "what will happen when you
> click
> > on this
> > link")
> >
> > or use { }
> > <a href="link" title={myLinkTitle}>some page</a>
> >
> >
> >
> > On Mon, Dec 21, 2009 at 10:38 PM, Alex Black <[email protected]> wrote:
> > > Can someone point me in the right direction to get tooltips (title
> > > attributes) rendered in my sitemap?
> >
> > > I'd like to add text to each link, so they get rendered like this:
> >
> > > <li><a href="link" title="what will happen when you click on this
> > > link">some page</a></li>
> >
> > > thx
> >
> > > - Alex
> >
> > > --
> >
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Lift" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<liftweb%[email protected]>
> <liftweb%[email protected]<liftweb%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/liftweb?hl=en.
> >
> > --
> > Scala中文社区:  http://groups.google.com/group/scalacn
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Lift" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<liftweb%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/liftweb?hl=en.
>
>
>


-- 
Scala中文社区:  http://groups.google.com/group/scalacn

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to