The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Font color on tooltips
Author Message
Chris_T
Apprentice
*

Posts: 10
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Nov 2012
Reputation: 0



Post: #1
[Solved] Font color on tooltips
How do I edit the text color on these tooltips?

On=@ClientTooltip
SRC.ADDCLILOC 500255,

I know it can be done, but can't find out how =P



EDIT: Thanks Mordaunt.
(This post was last modified: 11-29-2012 08:49 PM by Chris_T.)
11-28-2012 09:26 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Font color on tooltips
Only certain clilocs may be edited, others are fixed.
2 you can edit are:

1042971
1070722

There are others but off the top of my head I couldn't name them.
To edit it is simply

Code:
ON=@ClientToolTip
src.addcliloc 1070722, <DEF.BFONT_RED>your text here

You can also do this:

Code:
ON=@ClientToolTip
src.addcliloc 500255
src.addcliloc 1070722, <DEF.BFONT_RED>your text here

Which will add your text in the tool tip under the original text.
The color comes from the [DEFNAME def_html] settings in your spheredefs.scp

[Image: 2nis46r.jpg]
(This post was last modified: 11-29-2012 01:28 AM by Mordaunt.)
11-29-2012 01:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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