[Seaside] jQuery-->jQTabs
Lukas Renggli
renggli at gmail.com
Sun Dec 19 16:01:51 UTC 2010
You are likely missing the JavaScript and CSS libraries, see
http://book.seaside.st/book/web-20/jquery/getting-ready.
Lukas
On Sunday, 19 December 2010, alexandre bp <abalonpe at ulb.ac.be> wrote:
> Hi,
> I have a little problème with the jQTabs, I tried the example code with the berries but the problem is that the content of the previous tab doesn't disapear when I click on a new one.So at the end, the content of all my tabs are displayed on the webpage...
>
>
> here is the code (which is exactly the same than the one in the example):
> canvas div script: (canvas jQuery new tabs selected: selectedTab;
>
> onSelect: (canvas jQuery ajax callbackTabs: [ :event | selectedTab := event at: #index.])); with: [ canvas unorderedList: [ self berries keysAndValuesDo: [ :name :description |
>
> canvas listItem: [ canvas anchor url: (canvas jQuery ajax html: [ :h | h text: description]; fullUrl);
>
> with: name ] ] ] ].
> Also, where can I find the css corresponding to the example? I have looked in the browser but without succes...
> Thank you in advance
>
>
> alex
>
>
--
Lukas Renggli
www.lukas-renggli.ch
More information about the seaside
mailing list