How to swap div blocks with timed interval?

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

How to swap div blocks with timed interval?

dirk newbold
Newbie question:
 
How do I swap rendered blocks with a timed interval?
 
Cheers,
 
Dirk

_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to swap div blocks with timed interval?

Lukas Renggli
> How do I swap rendered blocks with a timed interval?

html div id: 'block'; with: [ self renderBlockOn: html ].
html script: (html updater
   id: 'block';
   callback: [ :r | self renderBlockOn: r ];
   every: 10 seconds)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: How to swap div blocks with timed interval?

dirk newbold
As always - Thanks heaps

On 9/18/07, Lukas Renggli <[hidden email]> wrote:
> How do I swap rendered blocks with a timed interval?

html div id: 'block'; with: [ self renderBlockOn: html ].
html script: (html updater
  id: 'block';
  callback: [ :r | self renderBlockOn: r ];
  every: 10 seconds)

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


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