Re: Problems with mootools 1.11 in my Joomla 1.5 website
Hi again!
Only one more question. Your code likes pretty different to the demo codes about the 1.2 MooTools version in his web. In all the examples , each time it's generated an event has been generate an instance before, in this way:
var myTransition = new Fx.Transition(''myEffect");
and then you can change the characteristics of an effect using the function set('slide', characteristics.
Unfortunately didn't work to me!
This is the code I have been trying to make work:
So,¿ where I can customize th effect in your code? ¿Where to put the transition type, etc...
I can see in your code any instance, and it's supposed than the customization of the effect must put it after the instance.
Thank you in advance for your incredible contribution!
My Best Regards!!
Only one more question. Your code likes pretty different to the demo codes about the 1.2 MooTools version in his web. In all the examples , each time it's generated an event has been generate an instance before, in this way:
var myTransition = new Fx.Transition(''myEffect");
and then you can change the characteristics of an effect using the function set('slide', characteristics.
Unfortunately didn't work to me!
This is the code I have been trying to make work:
- bt_open.addEvent('click', function(e)
- {
- var i = bt_open.indexOf(this);
- e.stop();
- bt_open.addEvent('click', function(e)
- {
- var i = bt_open.indexOf(this);
- e.stop();
- contents[i].set('slide',{
- mode:'vertical',
- transition: 'Sine.easeIn',
- duration: 500
- }).slide('in');
- infos[i].slide('hide');
- });
So,¿ where I can customize th effect in your code? ¿Where to put the transition type, etc...
I can see in your code any instance, and it's supposed than the customization of the effect must put it after the instance.
Thank you in advance for your incredible contribution!
My Best Regards!!