Re: [Proto-Scripty] Re: Effect.blindUp Disappears at End
I just faced the same issue, seems like we need afterFinish option, but I agree that BlindUp must check if scaleTo is 0 to hide it, and if it's not, do not hide the element... new Effect.BlindUp(element, { afterFinish: function() { this.show() }.bind(element) }); Mateo Mis principios... son mis fines -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
[Proto-Scripty] Re: Effect.blindUp Disappears at End
No one ... -- Jonathan On Mar 8, 9:55 am, Jonathan Rosenberg j...@tabbysplace.org wrote: I am using Effect.blindUp like so: Effect.BlindUp('linda', {duration: 4, scaleTo: 50, scaleContent: false, scaleMode: 'box' }); I was hoping the div would be visible at 50% when done, but it disappears. How can I get it to just stop at the 50% point? -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuaryhttp://www.tabbysplace.org/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: Effect.blindUp Disappears at End
The final step in any of the hiding Effects is to use Prototype hide() on the event, removing it from view with display:none. You might want to try Effect.Morph instead. Walter On Mar 10, 2011, at 11:04 AM, Hook wrote: No one ... -- Jonathan On Mar 8, 9:55 am, Jonathan Rosenberg j...@tabbysplace.org wrote: I am using Effect.blindUp like so: Effect.BlindUp('linda', {duration: 4, scaleTo: 50, scaleContent: false, scaleMode: 'box' }); I was hoping the div would be visible at 50% when done, but it disappears. How can I get it to just stop at the 50% point? -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuaryhttp://www.tabbysplace.org/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en . -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.
Re: [Proto-Scripty] Re: Effect.blindUp Disappears at End
Thanks for the explanation. __ JR On Mar 10, 2011 12:52 PM, Walter Lee Davis wa...@wdstudio.com wrote: The final step in any of the hiding Effects is to use Prototype hide() on the event, removing it from view with display:none. You might want to try Effect.Morph instead. Walter On Mar 10, 2011, at 11:04 AM, Hook wrote: No one ... -- Jonathan On Mar 8, 9:55 am, Jonathan Rosenberg j...@tabbysplace.org wrote: I am using Effect.blindUp like so: Effect.BlindUp('linda', {duration: 4, scaleTo: 50, scaleContent: false, scaleMode: 'box' }); I was hoping the div would be visible at 50% when done, but it disappears. How can I get it to just stop at the 50% point? -- Jonathan Rosenberg Founder Executive Director Tabby's Place, a Cat Sanctuaryhttp://www.tabbysplace.org/ -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en . -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en.