Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {literal}
- <script type="text/javascript" charset="utf-8">
- // code for the IntroText form to work using AJAX
- window.addEvent('domready', function() {
- var successFx = new Fx.Tween('success', {
- property: 'opacity',
- duration: 500,
- transition: Fx.Transitions.Quart.easeInOut,
- link: 'chain'
- });
- $('IntroForm').addEvent('submit', function(e) {
- e.stop();
- UpdateFCKs();
- this.set('send', {
- onComplete: function(response) {
- if (response == 'ok')
- {
- successFx.start(1,0).start(0,1);
- }
- }});
- this.send();
- });
- });
- </script>
- {/literal}
Add Comment
Please, Sign In to add comment