How to change color from default black in JS and still retain fade effect?

Hi, I have got some java script that fades in some text on loading. It is working but I cant seem to change the color and retain the fade in effect. Any ideas? I am using CS5.
I think it is something in here that needs changing?
<script language="javascript">
col=255;
function fade() { document.getElementById("fade").
style.color="rgb(" + col + "," + col + "," + col + ")"; col-=40; if(col>20) setTimeout('fade()', 300); }
</script>

Try changing this -
if(col>20)
to this -
if(col>90)
and see what happens.
Murray

Similar Messages

  • How to change colors of LCD/VFD controls from SGC-Tek?

    Hi Anybody got idea how to change colors of LCD/VFD controls from SGC-Tek?
    I have tried but could not. When I try to make myself a nest cluster of clusters of LEDs, I can change colours but I can't do the same thing with LCD/VFD controls.
    Please check at LCD/VFD controls
    Clement

    I suspect this repsonse is somewhat mis-leading, the code has no effect on the control other than setting its state, although the route is somewhat tedious for the mod.
    I would imagine that the control is set up so that the pixels didn't move around when they are being used as controls.
    There are nested groups and locks on the controls, which might make the ordering in the cluster easier to manage.
    The following should work....... ;-) it did for me
    Open  your own new VI
    Open the main LCD VI
    Open the Browse VI Hierachy
    Drag and drop the LCD VI onto your own diagram
    Create a cluster from the LCD VI's connector
    Now ungroup the clusters and unlock them (this is tedious) if you create your own then you could be more imaginative in the structure, I leave that for homework.
    Then import a new bitmap (gif) into the control
    Now update the modified contol back into the master control
    ........ Told you it could be done, but I am not sure the pain was worth it.
    BUT
    Try the alternative control..... with colour settings as well, ANY colour and even some size control.
    It was here http://members.lycos.co.uk/sgctek/

  • How to change colors of individual column bar in the same data series

    in mac numbers, how to change colors of individual column bar in the same data series. The entire column series gets selected in the column bars and cannot select to change colors of specifc bars.

    Hi Kiran,
    no its not possible through Theme editor also ,because these colors are coming from Compiler which u are using.
    Regards,
    Govindu

  • How to change color of a button for specific time interval in jsp

    How to change color of a button for specific time interval in jsp.
    Please help.
    Thanks in advance.

    This was driving me crazy, too--and the previous answers did not seem to work. I eventually found that if I click one of the data symbols in the graph in exactly the right spot (see below), it selects only the data symbols and not the line. I can tell this because the little selection dots will be around each data symbol, but no selection dots will be on the line between the data symbols - like the graphic in Yvan's answer. Then and only then will the color symbol in the tool bar show the color of the data symbol, instead of the color of the line. I believe that you then have to first click on the color swatch in the toolbar and then select your color (or choose Show Colors and select from the color tool). Just clicking a color in the crayon box, for example, did not seem to work unless I first clicked on the color swatch in the toolbar, then clicked Show Colors on that dropdown, and +only then+ clicked the crayon or whatever.
    _The right spot to click_ seems to be just above the exact center of the data symbol, at least for the diamond shape symbol that I prefer. Sometimes it takes several tries to hit the right spot. If I miss it, the whole line is selected, which is indicated by the little selection dots on the line, between the data symbols. When I click the right spot, those selection dots go away, leaving only the data symbols selected. Then I can change the color, as described above.
    I hope this works for you too.

  • How to change entire background to black in Elements 11?

    I have a photo of a red rose - I'm trying to change the entire background to black - how?

    Thanks so much for your quick reply - I've printed off your instructions, I'll give it a shot later today.  Elem 11 is quite a step up from Elem 5 for me - I think I'm in for somewhat of a learning curve.  Thanks again!! Glen...
      From: hatstead
      Sent: Friday, August 16, 2013 12:56 PM
      To: Ermineglen
      Subject: How to change entire background to black in Elements 11?
            Re: How to change entire background to black in Elements 11?
            created by hatstead in Photoshop Elements - View the full discussion

  • How convert a color pdf to black and white pdf...? new acrobat in creative cloud cs6

    how convert a color pdf to black and white pdf...? new acrobat in creative cloud cs6

    Print Production << where is this in XI...?

  • How to change colors in Auction monitor

    Hi Experts,
    Could you please help me on below requirement,
    In Auction Monitor , need different darker colors for tracking bids  because some colors cannot be seen on the screen.
    Could you please guide me how to change colors in Monitor.
    Thanks,
    Pavan.

    Hi Vinay.
    I would like to suggest a couple of references, quite similar to your requirement,
    [SDN - Reference for Different Colors in Single Graphical bar|About Different Colors in Single Graphical bar;
    [SDN - Reference for changing colors for graphs|Anyone used colors in VC?;
    [SAP HELP - Standard Reference for Assigning Colors to Parts of a Graph|http://help.sap.com/saphelp_nw04/helpdata/en/39/cca358576911d1896f0000e829fbbd/content.htm]
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • How to change color in BEx Browser?

    Hello Friends,
    How to change color in BEx Browser?
    My browser shows all the report description with pink color. I want to change the color.
    Please let me know.
    Thanks in advance.

    Hello Bhavin,
    It seems the patches for BW Add-On are being kept pretty much in sync for 6.20 and 6.40 (i.e they seem to be released at around the same time, even that the patch level numbers are different).
    However, at BW Add-on Patch level 4 on a SAPgui640 machine, we didn't have the "pink font" problem.
    It may be that BW 3.5 Add-On patch 6 will have a similar effect for you - it may be worth trying.
    Here is the link to the BW3.50 patch 6... https://smpdl.sap-ag.de/~swdc/012002523100000108232005D/bw350_6-10001615.exe?_ACTION=DL_DIRECT
    The patch 6 referred to above is for the BW3.50 Add-On - the SAPgui patch is typically a different number (the 11 that you mention is the SAPgui patch level).
    Best regards,
    Pat M.

  • Podcast how to change speed from 1.5x to 1x speed without having to go through 2x, 3x etc?

    Podcast how to change speed from 1.5x to 1x speed without having to go through 2x, 3x etc?

    Whereas I need to be
    able to go from disc 1/track 1 to disc 1/track 2,
    instead the iPod goes from disc 1/track 1 to disc
    2/track 1.
    Right click on any of these files and do a Get Info. Notice that there is, in fact, a Disc number field. So you can make disc numbers 1/10, 2/10 and so on.
    iTunes and the iPod are both smart enough to recognize that there are disc numbers there and act correctly. So it'll start with Disc 1, play all that disc, then go to Disc 2, and so forth. It's just a matter of having correct disc number tags.
    You can tag disc numbers for a whole disc at once. Simply select all the songs in a single disc (hold SHIFT or CTRL while selecting the songs), right click, Get Info, and you get the mass tag editor screen. Add the disc number info for this disc, and it'll tag that info to all those songs. Repeat for each disc.

  • How to change color in the title line?

    Hi experts, How to change color in the title line, i show an image for explained better
    !http://img688.imageshack.us/img688/9259/imagenjar.png!
    thanks

    in Views.css file
    file below object.and change border-color as you desired to reflect.
    .TitleTable {
         font-family: arial, helvetica, sans-serif;
         border-width: 0 0 4px 0;
         border-style: solid;
         border-color: #6666cc; ----> change here.
    hope this helps !
    -Niranjan K

  • I am trying to brint a brochure from my iPad from the Pages app.  I want it to be landscape but I cannot find how to change it from portrait to landscape.  Can anyone help me with this?

    I am trying to airprint a brochure from my iPad from the Pages app.  I need it to be landscape but I cannot find how to change it from portrait to landscape.  Can anyone help me with this?

    I think you have to sign into your Amazon Kindle Account, find the book in your archive and delete it there.  Otherwise you can delete it from the device and leave it in the archive, should you want to look at it again.

  • How to Change programlanguage from danish to english - in Creative Cloud single-app membership

    I would like to know how to change programlanguage from danish to english - in Creative Cloud single-app membership Photoshop (one year)?

    See this document: http://helpx.adobe.com/creative-cloud/kb/change-installed-language.html

  • How to change direction from right/left to left/right in a clip

    How to change direction from right/left to left/right in a clip with final cut pro x

    Use the Flipped effect.

  • How to change color of text is value is equal to 0

    how to change color of text or background if value is equal to 0

    HI,
    In Template Builder,Insert the conditional region,there you select the column and give condition is equal to 0 and in advanced enter the following code
    <?if:XMLfield=0?><xsl:attribute xdofo:ctx="block" name="background-color">red</xsl:attribute><?end if?>
    try this it works.
    Regards
    Uday

  • How to change validity from.. to dates in cost centre(production) ?

    Dear All,
    We have created cost centre(production) on current dates ? Due to this,
    We were unable to maintain activity price for work centre.
    Message is telling us to maintain activity price for current fiscal year.
    How to change validity from date in production cost centre(KS02) ?
    Appreciate valuable inputs.
    Jeyakanthan

    Dear ,
    1.Go to Transaction Code KS02 - change cost center and in the next screen go to Menu bar > Edit > Analysis Period.This will pop up another window - in this you can change the analyis period and save it.
    2.Or Use the tcode OKEON from the hierrachy choose the cost center in the basic data tab u will see one button named Validity period.Change the validity there.
    3.You can do it using 'KSH2' transaction.Open the hirarchy and select your cost center. now select the business area and new hirarchy node where you want to move it. and click on 'INSERT AT LOWER LEVEL' to move the cost center from one business area to another.
    Try and check
    regards
    JH

Maybe you are looking for

  • Changes to OITM Item Name replicate to RDR1 Dscription on open order lines

    Hi A quick question, does anyone know if it is practical to have changes to an item's Item Name field replicated to sales orders RDR1 Dscription field on orders which have open lines for that item? Scenario we face is when an item is made 'obsolete'

  • Authorizing my computer after Windows 7 update

    Ok, so here we go. I am a college student and just got a new laptop this year. So, I had to transfer all my iTunes files from my home computer to my new computer. I also created my own iTunes account to use instead of my parents account. This was don

  • Do you also get this problem too?

    I migrated from 1.0.14 to 1.1 last nite. Everything went on smoothly. Started to add the search and comment feature on my blog as well. When i upload the whole site, i hit the publishing error but it went away once i retry it. I did a quick check on

  • HOW DO I IMPORT PHOTOS BY FILE NAME TO THE IPAD 2

    I need to organize my photos in my ipad by the file names that i have on my computer. I use a windows computer. Anyone have any suggestions?

  • Intercompany Accounting in Stock transfer/Sales

    Hello all I want to know what are the accounting entries generated in the following scenarios - 1. Intercompany Stock transfer 2. Intercompany Sales I know that we use the Intercompany Clearing G/L which we define in OBYA but am not sure how it is us