[Seaside] Automatically scroll a page

Lukas Renggli renggli at gmail.com
Wed Feb 7 16:16:54 UTC 2007


> It's possible to automatically scroll a page to a return point?

Yes, if A renders something like:

A>>renderContentOn: html
      html anchor name: 'a'.
      " rest the rendering code of A "

Then you can do before you call #answer: on B do something like:

   self session jumpToAnchor: 'a'.
   self answer: anObject

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list