[Proto-Scripty] Toggle opacity

2013-01-23 Thread Köd
Hi guys * To get a full view of my problem, please read: http://stackoverflow.com/questions/14478903/script-aculo-us-toggle-appear-on-multiple-divs *_ *I have a simple question to ask you:* Is it possible to use effect.opacity as a toggle effect? The

[Proto-Scripty] Toggle Opacity

2013-01-23 Thread René Fogtmann
Hi guys I was wondering if it was possible to *toggle opacity* so that it stops when it's either 0 or 1. * - Right now it is possible to spam opacity, hence making the dedicated element flashing each time you click.* The reason why, is because: when I'm using the *appear toggle*, it is

Re: [Proto-Scripty] Toggle opacity

2013-01-23 Thread Walter Lee Davis
On Jan 23, 2013, at 7:48 AM, Köd wrote: Hi guys To get a full view of my problem, please read: http://stackoverflow.com/questions/14478903/script-aculo-us-toggle-appear-on-multiple-divs _ I have a simple question to ask you: Is it possible

Re: [Proto-Scripty] Toggle opacity

2013-01-23 Thread Jason Westbrook
Instead of running each() on each element to run the Effect take a look a Effect.multiple() http://madrobby.github.com/scriptaculous/effect-multiple/ it will do the heavy lifting for you and makes the code more readable Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Wed, Jan 23,

Re: [Proto-Scripty] Toggle opacity

2013-01-23 Thread Walter Lee Davis
Could you please post your solution? I thought Effect.multiple was for applying different functions to the same element, not the other way round... Walter On Jan 23, 2013, at 11:28 AM, Köd wrote: Guys! It works! I don't know what was wrong with my code before - but I made the

[Proto-Scripty] Toggle

2012-11-06 Thread Tom
Hello, i want to use the toggle SUDE slide effect. is it possible that the area/text i want to slide (down), is not visible when the page is loaded? i want the area visible with a click on a text, and hide with a new click at the text... Thank you -- You received this message because

Re: [Proto-Scripty] Toggle

2012-11-06 Thread Jason Westbrook
Can you provide a code snippet, jsfiddle or a publicy viewable page? also make sure that the CSS is not setting the display:none on that element as Prototype/Scriptaculous will not override the display style Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Tue, Nov 6, 2012 at 11:39

[Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Phil Petree
OK, I have a form where the first row of the first colum is a checkbox designed to toggle the checked/unchecked state of all the other checkboxes in the form (select all/select none). Problem is, the state of the checkbox with the onclick state is not getting changed. The rest of the check boxes

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Jarkko Laine
Hi Phil, On 17.10.2010, at 18.15, Phil Petree wrote: OK, I have a form where the first row of the first colum is a checkbox designed to toggle the checked/unchecked state of all the other checkboxes in the form (select all/select none). Problem is, the state of the checkbox with the

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Phil Petree
Thanks Jarkko! That was the perfect solution... I moved it into the real form and worked flawlessly. Much appreciated. Side note: You are saying the form needs to come before the table so that the table resides inside the form? I never knew that... never knew there was any difference in the

Re: [Proto-Scripty] Toggle checkboxes???

2010-10-17 Thread Jarkko Laine
On 17.10.2010, at 20.52, Phil Petree wrote: Thanks Jarkko! That was the perfect solution... I moved it into the real form and worked flawlessly. Much appreciated. Side note: You are saying the form needs to come before the table so that the table resides inside the form? I never knew