• 0
Sign in to follow this  
hunter2017

CORES

Question

Boa noite, estou com um problema e não consig o resolver..

tenho esse codigo, e adicionei uma nova cor nesta tabela mas a mesma não aparece quando digito as mensagens que envio para a sala do bate papo, <l' +
        'i class="cor-item" oncontextmenu="CorRIGHT(this)" onclick="Cor(t' +
        'his)" data-hex="16" style="background-color:#71477D;"></li></ul>'                    

Esse comando acima foi o que eu adicionei mas no chat não aparece essa cor no texto, ou seja, o texto ficar na cor padrão que é o preto e não na cor escolhida.

 '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="0" style="background-color:#ffffff;"></li>'
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="1" style="background-color:#000000;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="2" style="background-color:#000080;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="3" style="background-color:#008000;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="4" style="background-color:#ff0000;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="5" style="background-color:#800000;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="6" style="background-color:#800080;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="7" style="background-color:#ff6600;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="8" style="background-color:#ffff00;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="9" style="background-color:#00ff00;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="10" style="background-color:#008080;"></li>'
      ''
      
        '<li class="cor-item" onclick="Cor(this)"  oncontextmenu="CorRIGH' +
        'T(this)" data-hex="11" style="background-color:#00ffff;"></li>'
      ''
      
        '    <li class="cor-item" onclick="Cor(this)"  oncontextmenu="Cor' +
        'RIGHT(this)" data-hex="12" style="background-color:#0000ff;"></l' +
        'i><li class="cor-item" oncontextmenu="CorRIGHT(this)" onclick="C' +
        'or(this)"  data-hex="13" style="background-color:#ff00ff;"></li>' +
        '<li class="cor-item" oncontextmenu="CorRIGHT(this)" onclick="Cor' +
        '(this)"  data-hex="14" style="background-color:#808080;"></li><l' +
        'i class="cor-item" oncontextmenu="CorRIGHT(this)" onclick="Cor(t' +
        'his)" data-hex="15" style="background-color:#c0c0c0;">
     

imagem.PNG

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this