$(document).ready(function() {
$("#wb1,#wb2,#wb3,#wb4,#wb6,#square").draggable({
stop: function() {
if($(this).css("left")>="195");
$(this).removeClass("slidebar1b");
if(this==wb1)
if($(this).css("left")<"195"){
$(this).addClass("slidebar1b");
$(this).animate({"top":"125","left":"6"}, "slow")
};
[...]
when I drop "wb1" to a point that absolute coordinate "left" is 1000px or higger,
the second if be activated and "wb1" has the class and return to original position... why??