I solved it via Javascript following the approach of 
http://blogs.sitepointstatic.com/examples/tech/animation-api/index.html 
<http://blogs.sitepointstatic.com/examples/tech/animation-api/index.html>.

thanks, Chris


> Am 03.02.2015 um 22:52 schrieb Warren Bell <warrenbe...@gmail.com>:
> 
> Chris,
> 
> Seems like a lot of work just to get a div to blink. Write a behavior with 
> some javascript for the blinking and do that on the client only separate from 
> your form submission or whatever else your button is doing.
> 
> Warren
> 
>> On Feb 3, 2015, at 1:30 PM, Chris <chris...@gmx.at> wrote:
>> 
>> Hi guys,
>> 
>> I would like to control a DIV element when clicking on a button, so that it 
>> sort of reacts to this event by „blinking“ for a short time.
>> Currently, when clicking the button, a CSS attribute is added to the DIV’s 
>> class and the page is reloaded so that this event is triggered.
>> However, the event should fire only once so I would therefore need to delete 
>> the attribute after that.
>> 
>> Is there a more elegant solution so that the „CSS event“ is fired once when 
>> clicking the button?
>> 
>> Thanks,
>> Chris
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 

Reply via email to