Hi I am using this: jQuery resize div box at hover and it does exactly as I want but I have 4 squares though and they all open left, i want the first 2 to continue to open left but the last two to open right e.g:
first two:
–> will open left to right
last two:
<– will open right to left
Can anyone help me here?
I assume that the box opens right as from the link you provided. You can add another class for the box to open left (say boxleft)
As you can see i added the extra line left: ‘-=50’ and left: ‘+=50’ in the animate function.