Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto Position problem
28th July, 10:58
Post: #1
Auto Position problem
Hi,

in order to reposition the tooltip when there is not enoght screen space I've aded tip: true which works a treat.

The problem is that this creates a stem on the tool tip. I've managed to almost hide this by setting size: { x: 0, y: 0 } and color: to something appropriate to help blend it in to the back ground, seems a bit of a hack is there a cleaner way of doing this?

I'm using jquery-1.3.2.min.js and jquery.qtip-1.0.0-rc3.min.js.

I've just started using this so sorry if it's too basic a question.

Alex
Find all posts by this user
Quote this message in a reply
28th July, 21:09
Post: #2
RE: Auto Position problem
Alexm, you mean screen.adjust: true right? Setting tip to true will just create a tooltip stem, nothing else.

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
29th July, 13:36
Post: #3
RE: Auto Position problem
Hi Craig,

I tried the following initially:

jQuery_1_3_2('*[title]').qtip(
{
position: {
target: 'mouse',
adjust: { x: 10, y: -10, mouse: true, screen: true, resize: true },
corner: {target: 'rightTop', tooltip: 'leftTop'}
},
show: { solo: true, delay: 200 },
style: {name: 'tooltip' }
});

And the tooltip didn't reposition itself when there was not enough space.

I then added the tip: true and the tooltip now repositions itself and hence me hiding the stem.

Alex
Find all posts by this user
Quote this message in a reply
2nd August, 09:07
Post: #4
RE: Auto Position problem
Alexm, that definitely doesn't sound right... what qTip version are you using?

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
4th August, 08:37
Post: #5
RE: Auto Position problem
Hi Craig,

qTip: 1.0.0- rc3 (v54)
jQuery 1.3.2

Problem occurs in Firefox, IE8 and IE8 compatibility mode.
Find all posts by this user
Quote this message in a reply
5th August, 00:55
Post: #6
RE: Auto Position problem
Do you have a live page I can take a look at?

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
  Hiding tooltip problem sohailanwarpk 2 407 31st January 12:13
Last Post: sohailanwarpk
  [Solved] Problem with Fixed Position div and scrolling homerlex 7 1,473 26th October 19:35
Last Post: Craig
  [Solved] Starter problem enne87 1 634 12th July 17:29
Last Post: Craig
  [Solved] z-index problem RickardL 3 1,386 31st March 19:48
Last Post: kiddailey
  Simpel problem with qtip SnowJim 4 1,048 22nd February 20:08
Last Post: SnowJim
  Viewport problem dynamicmindset 8 1,419 18th February 02:12
Last Post: Craig
  [Solved] Newbie problem :( todsa 4 1,075 24th December 01:03
Last Post: todsa
  [Solved] Position problem - target: mouse zmenezes 0 691 30th November 15:09
Last Post: zmenezes
  Problem with tip: 'buttomLeft' amunsen 1 410 29th September 17:30
Last Post: Craig
  [Solved] Auto-hide after page is loaded bcoppens 2 1,497 20th September 12:15
Last Post: bcoppens



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