Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto Position problem
28th July, 10:58
Post: #1
Rainbow 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
  [Solved] Problem with Fixed Position div and scrolling homerlex 7 852 26th October 19:35
Last Post: Craig
  Viewport problem dynamicmindset 8 1,213 18th February 02:12
Last Post: Craig
Sad [Solved] Position problem - target: mouse zmenezes 0 609 30th November 15:09
Last Post: zmenezes
  [Solved] Auto-hide after page is loaded bcoppens 2 1,280 20th September 12:15
Last Post: bcoppens
  Auto width with Ajax Call sisilone 1 1,313 2nd September 12:34
Last Post: Craig
  I have problem for IE and Chrome . yourself 0 820 30th July 18:45
Last Post: yourself
  [Solved] position container or position target Bluepurl 2 839 11th February 01:12
Last Post: Bluepurl
  [Solved] qTip auto width? crackeuro 2 2,310 20th January 15:17
Last Post: Craig
  IE not auto adjusting width of tooltip atDev 2 1,257 10th December 01:09
Last Post: atDev
  qTip for auto complete using onkeyup problem atDev 7 2,470 9th December 00:01
Last Post: atDev



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