Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modify the tips
4th April, 19:57
Post: #1
Modify the tips
Hi!

There is some way of modify the tips?!
For Example:
If i wanna a circle instead triangle!?
Or if i wanna set the border / background color of the triangle?!

This is possible?!

Thanks a lot!
Find all posts by this user
Quote this message in a reply
4th April, 23:22
Post: #2
RE: Modify the tips
You can set the colour of the tip using the style.tip.color setting:
JS Code
style: {
	tip: {
		color: 'red',
		border: 'black'
	}
}


But other than that you're stuck with triangles I'm afraid Smile

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
5th April, 19:15
Post: #3
RE: Modify the tips
Yeah, but i was seeing the code and it set's the fill color on canvas getting the attribute collor || border, in other words, i can't set diferent color for border and background..

Am I right?
Find all posts by this user
Quote this message in a reply
5th April, 23:32
Post: #4
RE: Modify the tips
The code looks like this: self.options.style.tip.color || self.options.style.border.color;

That means adjust the style.tip.color value effects the tip colour. You cannot however adjust the border colour of the tip... if you want the tip to have a border or "stroke" you'll need to use qTip2 Smile

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
6th April, 12:06
Post: #5
RE: Modify the tips
(5th April 23:32)Craig Wrote:  The code looks like this: self.options.style.tip.color || self.options.style.border.color;

That means adjust the style.tip.color value effects the tip colour. You cannot however adjust the border colour of the tip... if you want the tip to have a border or "stroke" you'll need to use qTip2 Smile

Ok! Thanks for the help ^^
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] One Target Multiple Tool Tips rd42 1 267 19th February 18:24
Last Post: rd42
  [Solved] Multi tips not 100% times work dmhorse 1 272 9th January 18:19
Last Post: Craig
  [Solved] [Solved] Hide all other tips runge 2 1,050 30th September 14:31
Last Post: knowlton
  specify different positions for separate tool tips c_martini 2 1,008 6th July 19:58
Last Post: Craig
  [Solved] How to disable ugly standard yellow tool tips in IE ictman1105 1 691 22nd June 12:45
Last Post: Craig
  Tips Position samuelr7 1 366 16th June 12:45
Last Post: Craig
  On jQuery 1.5.1, tips don't appear in IE7 or IE8 panabee 3 1,432 23rd May 17:51
Last Post: Craig
  Tips that remain on screen McGaz 3 779 26th December 19:41
Last Post: Craig
  Tips don't show unless target areas left alone for a few seconds orchid 7 1,569 29th November 17:17
Last Post: Craig
  [Solved] Tips don't show when Modal is re-opened in Safari twitch 3 1,509 18th November 13:07
Last Post: twitch



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