Change the color of the font in Javascript

Could someone explain how to change the font of variable values.  Here I have a variable but_word_1

and I want to put with the value of but_word_2 but gold - FFD700 color

How can I add in the html code of the font color?


window.cpAPIInterface.setVariableValue ("but_word_1", but_word_2);

Hi Bill,

Normally when you view a variable inside a Legend shape / you select this text and change its color from inside the Properties dialog box. However, if you use HTML5 export, there is a way to kind of add to the text of the value of a variable.

If you use the color #FFD700, you want and set your variable to but_word_1 to this value:

Your text here

Hope that helps!

Rod (on behalf of Tristan)

Tags: Adobe Captivate

Similar Questions

  • Change the font by javascript to output color

    I would like to change the color of the font to textfieldB when the user leaves textfieldA by JS

    Currently, I use textfieldB.fontColor = "0,0,0"; (the color of the font was originally (255,0,0)

    When I preview the form, nothing happens. No error in the console, not of changing colors.

    What I am doing wrong?

    Graham

    The problem is that the field you are trying to set is not a TextField but a normal text object. The fontColor is not a valid property of this object. To get the text, font of objects color use this expression:

    PlainText.font.fill.color.value

    = "0,0,0";

    Paul

  • RENAME THE LEGEND OR CHANGE THE FONT COLOR OF LEGEND

    Hello

    My requirement is to change the font color of the legend.

    for example

    ABC is the name of the legend of a checkbox

    clicking on this box I want to disply 'ABC' .

    or how to change the name of the 'ABC' to 'DEF' legend using the script. (RUNNING time).

    Thank you.

    dhiyan

    Alternate the color of the legend.

    Form1.Page1.Subform1.captionColourChange::click - (JavaScript, client)

    If (this.rawValue == true) {}

    xfa.resolveNode("ABC.caption.font.fill.color").value = "255,0,0";

    }

    else {}

    xfa.resolveNode("ABC.caption.font.fill.color").value = "0,0,0";

    }

    Toggle the legend text.

    Form1.Page1.Subform1.captionTextChange::click - (JavaScript, client)

    If (this.rawValue == true) {}

    xfa.resolveNode("ABC.caption.value.#text").value = "DEF";

    }

    else {}

    xfa.resolveNode("ABC.caption.value.#text").value = "ABC";

    }

    Steve

  • How I change the fonts and colors of default return?

    I changed the font and the color of the text through the Tools button and the button options and the tab content. I can't find anything tell me how to change the fonts and colors to the colors and fonts by default. Can you advise me? I use Windows 7 Home Premium OS. Thank you.

    Hi Brenda19605,

    You can use this article to set the fonts and colors: https://support.mozilla.org/en-US/kb/change-fonts-and-colors-websites-use?esab=a & s = do & r = 0 & s = as

    The default settings for the police are in this article:
    https://support.Mozilla.org/en-us/KB/some%20text%20shows%20up%20bold%20after%20upgrade

    Unfortunately for the default color has no good reference. For the text, but it is black (most lower-left), the background is white (color above left). Unvisited links is blue (column 8, line 5) and the visited link is purple (column 9, line 5).

    Let me know if you need help more!

    Lordfreak

  • How to change the font colors in the communities of support?

    How to change the font colors in the communities of support?

    Thank you

    Press or click on use the Advanced Editor in the upper right of this text block which will take you to it.

  • How can I change the font color on incoming emails

    I would like to change the font color from black (default color) to a blue color on incoming and outgoing emails.

    Hello


    1. What mail client do you use? Is - this client is Microsoft outlook e-mail or on the web?
    2. who is the operating system that you are using?

    If you use Microsoft Outlook client see this link for more information:
    Automatically change the colors of incoming message and fonts based on the sender, subject and beneficiaries
    I suggest you to give us more information, so that we can better help you.

    I hope this helps.
  • Change the fonts of the Table header, background color of the property node?

    Can I change the font size, color and the background color of the cell for any cell in a table, however, I can't seem to do it for the headers.   Is it possible to do this?

    have you tried to use an index of-1?

    Ben

  • Change the font color on IE8 + XP

    I need to change the font color from blue to black on my computer XP WIN8 + that my wife is legaly blind and can't read light blue lettering

    Hi alkfmn,

    You will not be able to change the color of the font in internet explore.

    See the Microsoft article below to change the fonts or font on various components of Windows.

    How to change the appearance of items on the desktop in Windows XP

    http://support.Microsoft.com/kb/310543

    Customize your system with Windows XP

    http://www.Microsoft.com/windowsxp/using/Setup/personalize/default.mspx

    How to set accessibility features for people who are blind or who have low vision in Windows XP

    http://support.Microsoft.com/kb/308978

    How to control accessibility features for visually impaired users by using Utility Manager in Windows

    http://support.Microsoft.com/kb/307773

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Cannot change the font color on the desktop icons

    I am running windows vista. I can't change the font as in windows xp. No matter if the background is dark or the police is always black... Help!

    Hello

    Thanks for posting the question in Microsoft Answers.

    I apologise for the inconvenience.

    Unfortunately, you cannot change the font color of desktop.

    Because desktop wallpaper images have different colors, it is easy for the colors of unreadable fonts if they are on top of the same color in a background image to display. For example, a black font on top a dark part of the background image or a white font on a white part of a background image.

    The desktop icon fonts are dynamic and show white on dark background and change in white with a shadow effect black on a light background.

    In previous versions of Windows, it did not matter what color you chose to fund policies, some would still make invisible because of the background color of a desktop wallpaper. The user was constantly moving icons around the desktop computer to another colorful area where the police could be read. This was the source of a large number of complaints from users asking for a policy that was still visible, regardless of the color that was behind the police.

    However, you can change the theme and see if that helps:

    Change desktop theme:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-desktop-theme

    Hope this information helps. Let us know if you need additional assistance. We are happy to help you.

  • How can I change the font color on the title of file name list in a folder?

    When you do a "file save as"..., type a document name... Can have the police on this document at a red name round (or other color) fonts for the list of files in the folder.  I want to be able to open the folder and have a file name "stand out" in other securities of black font in grip my eyes with red font?

    Vista does not have this capability.  There may be some 3rd party programs that might work for you, but I could find no one who were free and no coming to add this feature to Windows Explorer.

    Here "a s business option: http://www.xyplorer.com/index.htm but it's a pretty radical change (it is just to add the ability to change the fonts, colors file, and includes many other options, but it is not Windows
    Explorer - this is a totally different file manager) and it costs money so I do not recommend because I think that it is better to use a totally different program Windows Explorer, even if it means not to change the font color of file names.  And if you check, it's a bit expensive just to get this functionality (and who knows the other features of Windows Explorer that you like that you may lose with this alternative - don't really know us much and that it works well with Vidta or causes problems - maybe even serious problems as far as we know - because I know anyone who has ever tried it).

    Sorry if this isn't what you wanted to hear, but it's like that. I think the right answer is that Vista is not supported this feature, and then remove it.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Change the font size and clock color

    Hello

    I would like to change the font color and size where I see blue fonts or light gray on the desk clock. Looks like a selection here would, but I don't know that we apply to the clock. Any suggestions?
    It is Vista Ultimate 64-bit SP2
    Beginning
    Parameters
    Control Panel
    Customization
    Windows color and appearance
    Advanced appearance settings
    Apperaance advanced
    Agenda

    Thank you
    Frank C

    If it's the clock gadget, I don't know of any way to change those but there are 7 other clocks that you can choose with color and different fonts. You can see the first clock. To change the clock opens the gadget options box (place the cursor on the clock > click on the key icon) and click on the small directional triangles on the bottom of the clock.  I hope I could help

  • How can desktop icon font color - I change the font color of the text that describes the desktop icons?

    I am running Windows 7 Ultimate 32 bit. How can I change the color of the font describing the desktop icons?

    I am running Windows 7 Ultimate 32 bit. How can I change the color of the font describing the desktop icons?

    Hello

    You cannot change the font color of desktop.

    Because desktop wallpaper images have different colors, it is easy for the colors of unreadable fonts if they are on top of the same color in a background image to display. For example, a black font on top a dark part of the background image or a white font on a white part of a background image.

    The desktop icon fonts are dynamic and show white on dark background and change in white with a shadow effect black on a light background.

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP

  • How to change the font color in live movie maker 2011

    I'm used to using movie maker on vista, but this movie maker is very different.  I need to change the font color...

    Help, please

    There is an 'A' with the word 'Police' below it... left up until it clicks.

    See the following links:

    Windows Live Movie Maker to add titles & credits
    http://windowslive.com/Tutorial/MovieMaker/TitlesCaptionsCredits/video

    Video 101: Adding text & titles with Windows Live Movie Maker
    http://Vimeo.com/videoschool/lesson/29/video-101-adding-text-and-titles-with-Windows-Live-Movie-Maker

  • How to change the font color of taskbar

    How can I change the color of the font of the taskbar? The white letters for minimized windows are impossible to read.

    Hello cheesechief,

    Thank you for visiting the Microsoft answers community.

    As SharonMary has previously said, there is not a configuration option to change the font color in the taskbar. Although there are many third-party applications that can help you accomplish what you're after, simply start looking for them.

    Hope this helps

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk

    Chris.H
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • cannot change the font color of office files in windows 7

    cannot change the font color of office files in windows 7
    always white and I want black (because of the background of the desktop which is necessary for my work)
    I have not finf sollution in internet
    Please help me

    Hello

    Follow these steps to change the color of the font of the desktop folder.

    a. right-click on a vacuum of space on the desktop and click on personalize.

    b. click on the link to the color of the window at the bottom of the window.

    c. click the link Advanced appearance settings .

    d. Select the element in the Office.

    e. If you want to change the font, then under police pick the one you want.

    (f) to change the font color, corresponding to the location of police, you have options to change the color of the size and characteristics of the police.

    g. you can make the changes you want.

    h. click on apply and OK.

    i. now, check to see if that makes a difference.

    I hope this helps.

Maybe you are looking for

  • I can bookmark directly into a folder?

    I want to be able to drag the URL of the page I am directly in a folder in my favorites, or do a right click on a folder existing in my list and it can add my current page in this folder. Is it possible to do this, or something similarly convenient?

  • Re: Very slow L755-1NP short Satellite

    Hello I hope someone can help,I got my new Satellite L755-1np white for about a month,Its terrible tracks. It freezes, it will slow down my old one worked better than this. I don't understand how in as long as it is supposed to be the best.Are there

  • Camileo s20 very low sound recording

    Hello people Yesterday I bought a Toshiba Camileo s20, and I face the following 'problem '. When someone speaks in a standing position two or three feet from the camera, his voice is too low. They must be medium close to the entire camera/microphone

  • Position Vs time for LVDT

    Hello, I am very new to Labview (three weeks) can someone give me a few examples on how to measure for LVDT position vs time? It is very simple using an Oscilloscope of cursors of X 1 and X 2 of position to measure delta time, but I don't know how to

  • What is the difference between him aspire G 573, 5698 and sucks it 573G 57HR?

    Basically the title. I want to know if these two portable e5 are all different befor I buy one.