Putting a link in the label while using jQuery tabs add:label:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Putting a link in the label while using jQuery tabs add:label:

Paul DeBruicker
Hi -


When using add:label: to add tabs, how can I put an anchor in as part of
the label?

When I follow the tabs example here:
http://demo.seaside.st/seaside/tests/jquery-ui/tabswidget  I can change
this:


with: name

to

with: [ html render: request keywords.
        html anchor
                callback: [self session results removeKey: request];
                with: [html span class: 'ui-icon ui-icon-circle-close']].


and I get a link that will close the tab when clicked.  But add:label:
expects a string in the label: slot.


Thanks

Paul
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside