Soldato
- Joined
- 12 Feb 2006
- Posts
- 17,625
- Location
- Surrey
is there a simple way to get a mootools effect to run only after ajax returns true.
at the moment mootools seems to be giving ajax a problem in that it randomly will stop ajax running, sometimes until refresh, sometimes just once twice, sometimes never and i'm hoping this will fix the problem if it's do able?
thanks
also (although this is far less priority atm) i tried using the fx.slide effect to hide the element clicked which can be in a vertical list of other elements. although the element was hidden the margin wasn't removed so as each element was hidden the gap between each became bigger and bigger. i tried using morph to do this, which it does though only if it's the first element otherwise same problem, it's far uglier as it kind of jumps to the side. i also used javascript to remove the margin but then it jumps the element up 10px then slides it away so again looks ugly.
any fix for this?
at the moment mootools seems to be giving ajax a problem in that it randomly will stop ajax running, sometimes until refresh, sometimes just once twice, sometimes never and i'm hoping this will fix the problem if it's do able?
thanks
also (although this is far less priority atm) i tried using the fx.slide effect to hide the element clicked which can be in a vertical list of other elements. although the element was hidden the margin wasn't removed so as each element was hidden the gap between each became bigger and bigger. i tried using morph to do this, which it does though only if it's the first element otherwise same problem, it's far uglier as it kind of jumps to the side. i also used javascript to remove the margin but then it jumps the element up 10px then slides it away so again looks ugly.
any fix for this?
Last edited: