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 <a...@alexblack.ca> 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 lift...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com>
> > .
> > 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 lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.


Reply via email to