[Seaside] Scriptaculous - using the #toggleAppear effect

Squeaker squeakman at gmail.com
Thu Jul 10 14:53:26 UTC 2008

Hello All,

I would like to use the Scriptaculous effect #toggleAppear but I want to 
have the object to be toggled to be initially not visible. Then when the 
user clicks on the link, the toggle appears.

The code is have looks like this:

html anchor
    onClick: (html effect id: 'artistInfo';
               perform: #toggleAppear);
    with: 'Artist Info'.	
html div
    id: 'artistInfo';
    with: [html render: self artistView].

Is there a way to have the 'artistInfo' be initially not visible?

Thanks for your help,

More information about the seaside mailing list