Thanks Chris, I'll look into that.

On Dec 24, 4:23 am, Chris Reeves <[email protected]> wrote:
> I believe you'll need to subclass Loc to do that, though you may be
> able to do it with a Link subclass. There may be an easier way to do
> it, but I'm still new at lifting so I'm not very familiar with all 
> ofsitemap'sconveniences.
>
> I'd start with net.liftweb.sitemap.Loc.Link.createLink and then move
> on to net.liftweb.sitemap.Loc.createLink if that doesn't work. I
> suppose ideally you'd end up with something like
> Menu(Loc("SomeLink", MyLink("path" :: "to" :: "link" :: Nil, "title
> goes here"), "Some  Link", ...))
>
> Thanks, Chris
>
> On Wed, Dec 23, 2009 at 2:25 PM, Alex Black <[email protected]> wrote:
> > Hi Xuefeng, I think will produce 1 tooltip for the entiresitemap,
> > what i'm looking for is a tooltip for each link in thesitemap.
>
> > On Dec 21, 11:39 pm, Xuefeng Wu <[email protected]> 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 <[email protected]> wrote:
> >> > Hi Xuefeng,
>
> >> > I'm using the default LiftSitemap, so I don't think I can use either
> >> > of your suggestions, or, I don't see how to use them.  Thesitemap
> >> > 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 mysitemap?
>
> >> > > > 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 
> > athttp://groups.google.com/group/liftweb?hl=en.

--

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