Hi Xuefeng, I think will produce 1 tooltip for the entire sitemap, what i'm looking for is a tooltip for each link in the sitemap.
On Dec 21, 11:39 pm, Xuefeng Wu <ben...@gmail.com> wrote: > 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 <a...@alexblack.ca> 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 <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> > > <liftweb%2bunsubscr...@googlegroups.com<liftweb%252bunsubscr...@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<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.