Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Styling links
21st January, 02:20
Post: #1
[Solved] Styling links
I would like to be able to change the colours of a link (and visited, active) inside the qTip content. The snippet below doesn't work.

$.fn.qtip.styles.indoorstoptip = { //for tool tips off the top bar
show: 'mouseover',
hide: {
fixed: true,
delay: 1005
},
'link': {color: 'white'},
'visited': {color: 'white'},
border: {width: 0, radius: 3},
width: 200,
testAlign: 'center'
}
Find all posts by this user
Quote this message in a reply
21st January, 11:45
Post: #2
RE: Styling links
Use styelsheets for that
CSS Code
.qtip a:link, .qtip a:visited{
	color: white;
}

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
15th February, 17:48
Post: #3
RE: [Solved] Styling links
That works but my hope is to do something more foolish. Your solution changes all links in all qtips. My favourite designer wants the tooltip to match the target. To make things worse, I would like (but do not absolutely need) to be able to change a tooltip if the target changes. I see no way to do this. I can't even specify a class in the style section of the qtip call.
Find all posts by this user
Quote this message in a reply
15th February, 19:22
Post: #4
RE: [Solved] Styling links
Nope, but you can when you use qTip2 Smile All CSS based as you'd expect, and you can apply separate class using style.classes

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
17th February, 17:46
Post: #5
RE: [Solved] Styling links
thank-you. I was about to ask you something further but searched your archives and found
[Solved] Best way to overwrite default content styles from njj023 and your new way of getting rid of defaults. It works well. I then had to get rid of the tip and got that from the documentation on tips.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Where are regular download links for all the different versions? dkingofpa 1 643 11th September 12:18
Last Post: Craig
  [Solved] Styling a['title'] iand 2 441 6th June 12:34
Last Post: iand
  Can't not open any links after click a qTip popup thienthans 3 1,054 22nd April 20:12
Last Post: Craig
  2 Questions on Styling travelaff@gmail.com 0 366 18th April 16:42
Last Post: travelaff@gmail.com
  Different links from the qtip popup scottd 1 970 24th January 19:17
Last Post: Craig
  Multiple links loading external javascript page Kao006 1 1,436 24th January 18:58
Last Post: Craig
  Thumbnails Not Showing For Links on AJAX Loaded Page gKiller 2 1,193 6th December 03:35
Last Post: Craig
  Safari visited links generate a tinny width for tip julzmon 1 935 10th August 11:52
Last Post: Craig
  help with styling... duncanm 10 1,881 4th October 21:15
Last Post: garyf
  Problem with div styling when using borders tayabi 1 465 9th September 08:43
Last Post: tayabi



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