|
Dynamic Position of Qtip?
|
|
23rd June, 22:33
Post: #1
|
|||
|
|||
|
Dynamic Position of Qtip?
I tried this to change the position of the qtip before showing it, but it doesn't work. Can anyone help?
JS Code
This is just a test, I want to be able to set different target corners depending on the space available. Any help very much appreciated. |
|||
|
25th June, 14:25
Post: #2
|
|||
|
|||
|
RE: Dynamic Position of Qtip?
Try this Squashed:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
26th June, 00:06
Post: #3
|
|||
|
|||
RE: Dynamic Position of Qtip?
(25th June 14:25)Craig Wrote: Try this Squashed: Thanks for the reply Craig, however the code above appears to position at target: leftTop, tooltip: leftTop. I have managed to make it work by borrowing an idea from one of the examples and use a mouseenter function to destroy/recreate the tip each time. However this doesn't seem to be a very efficient approach. I also want to set the tip size depending on the space available in the browser window and the position of the target, so that the tip is always fully visible (I also set overflow: auto). I have worked out how to do that bit, the question is how to best update the tip dimensions and position. |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




