Need help!
I have used jQuery to animate a div... The code is given below...
- jq("#light2").animate ({
width: 800,
height: 500
}, 2000);
The code above increases width & height of the div (#light2) with the animation duration of 2 seconds. The code works fine but I need to do something little different. The current animation's origin point is "top-left." The div expands to right & bottom simultaneously. Can someone tell me that how can I make this div to expand on all four directions, making the orgin center.
I hope I made my problem clear to understand. Please, help me!
Thanx in advance!
Regards!!!
MU