Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Border width problem
20th February, 12:29
Post: #1
Border width problem
Hey,

I have a problem where it doesn't matter what value I put for the border with - it just has no effect. The border gets thicker when I increase the corner radius and narrower when I decrease it. You can see a working example here.
Here is my code:
JS Code
//Set Global Style
$.fn.qtip.styles.buttonsClick = { // Last part is the name of the style
	   width: 350,
	   background: '#a2a2a2',
	   color: '#555555',
	   //fontWeight: 'bold',
	   fontFamily: 'Lucida Sans Unicode',
	   fontSize: '13px',
	   textAlign: 'left',
	   border: {
		  width: 2,
		  radius: 10,
		  color: '#666666'
	   },
	   tip: 'bottomMiddle',
	   name: 'dark' // Inherit the rest of the attributes from the preset 'dark' style
	}
 
//Individual Tips	
	$("li.about").qtip({
	   content: $("#about"),
	   show: 'click',
	   hide:  { 
			effect: { 
			type: 'fade',
			length: 500
			},
			when: { 
			event: 'unfocus' 
			}
	   },
	   style: 'buttonsClick', // The name of the newly created custom style above
	   position: {
		  corner: {
			 target: 'topMiddle',
			 tooltip: 'bottomMiddle'
		  }
	   }
	});


Any advice would be great!

Thanks!
Find all posts by this user
Quote this message in a reply
22nd February, 18:31
Post: #2
RE: Border width problem
farsighted, this isn't a bug its actually the way the library works unfortunately. There isn't any way to simulate true border radius with the libraries internal corner engine. The 2.0 beta that's due out on the 28th with 1.0 final features a new corner engine that allows this, so make sure to look out for the announcement.

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
  How set width that's greater than default max on for exactly one tip? AlKoch 5 87 7th May 21:33
Last Post: Craig
  Border of 0 does not make the border go away username 4 633 21st February 14:53
Last Post: rd42
  Hiding tooltip problem sohailanwarpk 2 388 31st January 12:13
Last Post: sohailanwarpk
  [Solved] ajax tip width help jondow 2 693 10th November 21:21
Last Post: jondow
  [Solved] Ajax element width trogo 1 853 27th September 12:37
Last Post: Craig
  [Solved] Starter problem enne87 1 621 12th July 17:29
Last Post: Craig
  onContentUpdate set new width? tnorton25 1 691 13th June 14:40
Last Post: Craig
  [Solved] z-index problem RickardL 3 1,377 31st March 19:48
Last Post: kiddailey
  Simpel problem with qtip SnowJim 4 1,037 22nd February 20:08
Last Post: SnowJim
  Viewport problem dynamicmindset 8 1,399 18th February 02:12
Last Post: Craig



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