Jump to content
Search Community

Crtl-Alt-Delete

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

1,221 profile views

Crtl-Alt-Delete's Achievements

0

Reputation

  1. Hi there, Did u find any better apporch to do this, i am stuck on similar situation as well. thanks
  2. Hi Diaco thanks for the reply, that worked like a dream :smile: :smile:
  3. Hey Guys, i was playing around with the awesome Draggable Library and i wondered how i go about saving(DB) the postion of the currecnt object and load it again later? https://greensock.com/draggable i tried the following, but not sure if it's correct approach( since the values return includes translate3d): onDragEnd: function() { var obj = $(this._eventTarget); // option one var pos = item.position();; var posx = pos.left; var posy = pos.bottom; console.log(parseInt (posx ) ); console.log( parseInt (posy )); // option two console.log(parseInt (this.y) ); console.log( parseInt (this.x)); }
×
×
  • Create New...