Im getting the X and Y co-ordinates or a selected area, Im then using that to set the position of an image in another DIV.
Vars:
selection.x1 (This will need to be a negative value)
selection.y2
I need to write using Javascript or jQuery the following:
div.css('background-position', -selection.xl selection.y2);
But this just give me an error, how can I add two background postion values to the CSS?