Take a look at this fiddle example: http://jsfiddle.net/c2mmQ/
In the fiddle, I have implemented a modal using jQuery that fades in and scales up with CSS animations when the show link is clicked. Inside the modal, there is another link that is supposed to resize the modal from the center, much like how popups work on an Xbox 360.
However, two issues arise. Firstly, the resizing does not trigger the transition end event, causing the centering code not to execute after the resize. Secondly, the resizing does not occur from the center as intended.
Do you have any suggestions on how to address these problems?
The code snippet is provided below:
// Code Block containing jQuery functions...