Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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 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.

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.
Find all posts by this user
Quote this message in a reply
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 Smile

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
Visit this user's website Find all posts by this user
Quote this message in a reply
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 Smile

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.
Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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
Visit this user's website Find all posts by this user
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Dynamic Content From Page Element frogg3862 2 89 3rd May 17:12
Last Post: frogg3862
  [Solved] qTip Ajax data for text in a div akhil_csit 1 316 14th March 19:27
Last Post: Craig
  can't hide qtip in a “position: absolute;” div shdog 1 275 14th March 17:35
Last Post: Craig
  calling .html using the element id matthearn 0 308 24th February 15:08
Last Post: matthearn
  [Solved] Attach QTIP to any element with attribute "tooltip" slhilbert 7 402 15th February 14:44
Last Post: slhilbert
  [Solved] Form submit grabbing wrong value loveccb 3 567 26th January 16:53
Last Post: ramon.alvarez
  [Solved] How to append QTip to some other element instead of document body prateekbansal 2 497 11th January 07:01
Last Post: prateekbansal
  show qtip in a specified div or position myapweb 1 585 27th December 17:53
Last Post: Craig
  [Solved] QTip content from existing div element on page? dcash 4 2,519 8th December 18:29
Last Post: Craig
  [Solved] Problem with Fixed Position div and scrolling homerlex 7 1,462 26th October 19:35
Last Post: Craig



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