Opened 11 years ago

Closed 10 years ago

Last modified 7 years ago

#4250 closed feature (wontfix)

Add callback at beginning of effects

Reported by: mercenary Owned by:
Priority: minor Milestone: 1.6
Component: ui.effects.core Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

Description

I having been using the plugin and effects such as explode, fold, shake. I am web developer and would welcome a way for the effects to play a sound. If possible could you please post an example. I have tried on a few occasions using the library [Here]http://www.blog.mediaprojekte.de/webdevelopment/add-sound-effects-to-html-with-javascript-and-flash/#comment-191623.

Change History (6)

comment:1 Changed 11 years ago by rdworth

I think we could reasonably assist by having effects trigger an event at the start of the effect. The playing of sound would be handled outside of jQuery UI, by a callback function.

comment:2 Changed 11 years ago by rdworth

Component: ui.coreeffects.core

comment:3 Changed 11 years ago by Scott González

Milestone: TBD1.next

comment:4 Changed 10 years ago by Scott González

Summary: sound to jquery ui effectsAdd callback at beginning of effects
Type: bugfeature

comment:5 Changed 10 years ago by Scott González

Resolution: wontfix
Status: newclosed

I wouldn't want to add additional callbacks for when an effect is used that doesn't exist for all animations. If this is truly needed, the user can proxy the effect method to support a before callback or trigger an event.

comment:6 Changed 7 years ago by Scott González

Milestone: 1.next1.6
Note: See TracTickets for help on using tickets.