[Seaside] Jump somewhere after rendering

Bob Houston bobh at agents.com
Tue Jun 7 03:50:02 CEST 2005


Michael,

I don't quite understand how this works.  Can you tell me when and  
from where you are calling "html jumpHere" ?

Thanks,
BobH

On Jun 6, 2005, at 7:31 AM, Michael Meyer wrote:

> That was easy enough.
> Thanks
>
> Avi Bryant schrieb:
>
>> On 6/3/05, Michael Meyer <sangria at gmx.net> wrote:
>>
>>> When i go to the bottom of the multi page and click the
>>> ++ link the page reloads and I'm at the top of the page
>>> again.
>>> It would be really nice if my application would jump back to
>>> the right component after reloading. Does anybody know if
>>> that is possible?
>>>
>> Well, if you can store the information somewhere about which of the
>> components you want to jump to, and if you don't mind using some
>> javascript, then you can try something like this (untested):
>> WAHtmlRenderer>>jumpHere
>>    html attributes at: 'name' put: 'jump'.
>>    html tag: 'a'.
>>    html script: 'document.location.hash="jump"'.
>> And then use "html jumpHere" from wherever you like.
>> Avi
>> _______________________________________________
>> Seaside mailing list
>> Seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/listinfo/seaside
>>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>



More information about the Seaside mailing list