|
qtip pointing at the wrong element when scroll down div
|
|
9th February, 15:52
(This post was last modified: 9th February 16:27 by ramalaks.)
Post: #1
|
|||
|
|||
|
qtip pointing at the wrong element when scroll down div
I have a div with overflow:auto. it has 2 tabs A and B (each tab is a form)
I have Qtip position, type as absolute. I have adjust resize set to true and screen set to true. 2 problems 1. when qtip is pointing an element, on the top, I scorll down, the qtip also comes down and looks like is point at a diff. element. I want to close the qtip when scrolling down and the element is visible and went up. 2. I scroll down all the way in tab A to fillup the form and submit the validation takes me to the tab B, scroll up and Qtip on the first top element. it is not happening, it is going to tab B and qtip appears. but not scrolling up, so seems to be pointing at the wrong element. Also, can anyone explain what absolute vs relative vs fixed vs static. I thought relative means relative to the element we are pointing at. But relative made it worse. the doucment only explains the posible options for position type and not explaining what that means. (9th February 15:52)ramalaks Wrote: I have a div with overflow:auto. it has 2 tabs A and B (each tab is a form) I am using Qtip version 55. JQuery 1.4 For the problem one. if the qtip also scrolls along with the element, should be fine. I tried position adjust scroll true and did not work. |
|||
|
9th February, 16:56
Post: #2
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
This is the qTip2 forum. Moving it to the 1.0 forums, watch for that next time please
![]() For positioning type explanations check here: http://www.barelyfitz.com/screencast/htm...sitioning/ You might try setting the position.container property to the element with the overflow applied. This might fix it. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
9th February, 18:30
Post: #3
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
do we use jQuery selector of the element (div with overflow applied) to identify in the position.container property? eg
container: $('#divid') ? Thanks Ramalaks (9th February 16:56)Craig Wrote: This is the qTip2 forum. Moving it to the 1.0 forums, watch for that next time please |
|||
|
9th February, 21:43
Post: #4
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
I think I am in the Qtip1.x fourm.
craigsworks.com - Support Forum > qTip 1.x > Help and support > What I see above. adding position.container did not make fix it. when qtip is pointing to an element, and when we scroll down, the element and qtip together is going up which is right. but when the element is up and can not be seen the qtip still is seen looks like pointing to another element in the form |
|||
|
10th February, 15:33
Post: #5
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
Please someone provide me with link to Qtip 1.0 fourms.
Also my scroll problem is solved. I had adjust screen: ture, resize: true and scroll: true. But screen and scroll is controdicting each other. that is why even when scrolling up, qtip is trying to be on the screen pointing to diff. field. once I remove the screen option, scroll works fine. but on certain sceens, i want the screen option. anyone have a fix ro solution to have both screen and scroll option? Thanks Ramalaks |
|||
|
10th February, 17:32
Post: #6
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
ramalaks, I moved this to the 1.0 forum for you, it was originally in the qTip2 one.
The positioning issue sounds like one of the many pitfalls of the 1.0 release. Upgrade to 2.0 and see if it works. Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
10th February, 21:27
Post: #7
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
Where do I download qtip2 from. Please provide with the link. Also, Qtip2 has any release version and still in Beta?
Thanks Ramalaks |
|||
|
11th February, 18:37
Post: #8
|
|||
|
|||
|
RE: qtip pointing at the wrong element when scroll down div
It's still in beta, but it's pretty stable. You can grab it here: http://github.com/Craga89/qtip2
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





