i found this jquery code on jsfiddle and have been able to modify it to suit my plans, only thing i still want to change is to add the jquery .resizable to the beach divs..
every time i try to implement it, it just messes up the rest of the code.
it's probably super easy but i'm a bit new to this


$(document).ready(function() {
    var a = 3;
        start: function(event, ui) {
            $(this).css("z-index", a++);

    $('#dragZone div').click(function() {
        $(this).css("z-index", a++);