Please Log-in or Register to get full access to the forums.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use html element as handle for dragging
8th August, 01:10
Post: #1
Use html element as handle for dragging
I'm using this to enable dragging

JS Code
events: {
             render: function(event, api) {
                 $(this).draggable({
                     containment: 'window',
                     handle: $('.personHeader')
                 });
             }
         }


using handle: $('.personHeader') for the drag handle

instead of handle: api.element.titlebar

api.element.titlebar works but $('.personHeader') does not.

whats up?

thanks

Scott
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  An element from different web page Thegodoflife462 0 173 8th June 16:41
Last Post: Thegodoflife462
  How to change tooltip associated with <select> element RobertStroud 1 642 13th February 10:15
Last Post: RobertStroud
  [Solved] Two tooltips on the same element yuco91 6 4,766 13th February 23:23
Last Post: MikrotikPa
  qtip2 is not working on dynamically added element aniket27 0 1,362 2nd July 12:27
Last Post: aniket27
  How to display an html page in qtip billyjoe 0 1,309 22nd June 21:48
Last Post: billyjoe
  HTML - display:none - content shift on mouseover FrankPrendergast 2 1,621 13th April 18:00
Last Post: FrankPrendergast
  Problem referencing an external html page with Ajax andreaangeli 0 1,410 21st February 17:44
Last Post: andreaangeli
  Not able to fill up form in html qtip tghmember 0 1,287 16th July 14:46
Last Post: tghmember
  Possible to manipulate element instead of creating new? mortigamer 0 1,352 2nd July 09:20
Last Post: mortigamer
  Inline JS and hidden HTML zXynK 0 1,266 23rd June 11:07
Last Post: zXynK



User(s) browsing this thread: 1 Guest(s)