[Scriptaculous] How to trigger effects on page load?

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

[Scriptaculous] How to trigger effects on page load?

Boris Popov, DeepCove Labs (SNN)
Please excuse my newbieness, but how would I go about triggering a set of
effects on page load? I'd tried a few places, but couldn't quite get it to
work, whereas putting

(html effect)
 id: 'recentrow';
 highlight

into an onClick of a submit button worked just fine.

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

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

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: [Scriptaculous] How to trigger effects on page load?

Boris Popov, DeepCove Labs (SNN)
This seems to do the trick,

updateRoot: aHtmlRoot
        super updateRoot: aHtmlRoot.
        (self session effect)
                id: 'recentrow';
                highlight

Is this a "correct" way of doing it? Should I use #renderContentOn: instead?

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Boris Popov
Sent: Wednesday, June 21, 2006 8:06 AM
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: [Seaside] [Scriptaculous] How to trigger effects on page load?

Please excuse my newbieness, but how would I go about triggering a set of
effects on page load? I'd tried a few places, but couldn't quite get it to
work, whereas putting

(html effect)
 id: 'recentrow';
 highlight

into an onClick of a submit button worked just fine.

Thanks!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

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

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [Scriptaculous] How to trigger effects on page load?

Lukas Renggli
> Is this a "correct" way of doing it? Should I use #renderContentOn: instead?

Yeah, it doesn't matter.

Cheers,
Lukas

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