Jump to content


Photo

Ao Clicar, Mudar A Cor Do Backcolor De Um Td


  • Faça o login para participar
24 replies to this topic

#16 tiraduvidas

tiraduvidas

    12 Horas

  • Usuários
  • 149 posts
  • Sexo:Não informado

Posted 15/11/2004, 13:17

você pode passar a identificação de cada td pela própia função, o código fica assim:

<script>
function mudacor(celula){
if(document.getElementById(celula).style.background== "#f8f8f8"){
document.getElementById(celula).style.background="#ffffff";
}
else {
document.getElementById(celula).style.background="#f8f8f8";
}
}
</script>

<table width="50%" cellspacing="1" cellpadding="1" style="border:1px solid #f1f1f1;">
<tr>
<td id="celula1" onclick="mudacor('celula1')"><font size="2">Teste para mudar a cor do 

fundo</font></td>
</tr>
<tr>
<td id="celula2" onclick="mudacor('celula2')"><font size="2">Aqui mostra que funciona e muda a 

cor</font></td>
</tr>
<tr>
<td id="celula3" onclick="mudacor('celula3')"><font size="2">Aqui tá funcionando para poder mudar a 

cor do fundo</font></td>
</tr>
</table>


#17 Fernando Wobeto

Fernando Wobeto

    webmaster

  • Usuários
  • 341 posts
  • Sexo:Masculino

Posted 15/11/2004, 15:04

putz tiraduvidas,


100% cara. funcionou...

Valeu (y)
|--------------------------------------------------|
| MSN: fernando_wobeto@hotmail.com
| E-MAIL: fernandowobeto@gmail.com
| Desenvolvedor Web
|--------------------------------------------------|

#18 tiraduvidas

tiraduvidas

    12 Horas

  • Usuários
  • 149 posts
  • Sexo:Não informado

Posted 15/11/2004, 17:33

:P beleza

#19 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 26/09/2017, 14:25

Cephalexin 500 cialis online Buy Doxycycline Acne Clobetasol Where To Purchase Next Day Delivery
Go Secure Tab Brand Viagra viagra cialis Levitra Samples Overnight
Cialis Flughafen Code Tomar Priligy Y Viagra cialis online De Buy Ed Pills Deals How To Buy Fedex Provera By Money Order

#20 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 11/10/2017, 20:25

Cialis 5 Precio viagra Levitra Alternatives
Falange A Propecia buy viagra Can You Buy Zithromax Over The Counter
Vente Cialis 5 Mg discount levitra on line Amoxil Rx
Get Progesterone 200mg Drugs Store What Is Keflex Prescribed For Date De Sortie Priligy Australie cialis Viagra Samples Canada Discount Zentel Ups Amoxicillin To Buy On Line

#21 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 28/10/2017, 21:51

Generic Cialis Without Prescription Cephalexin 500 While Im Breastfeeding Discount Finasteride Where To Buy cheap levitra online Vardenafil Generique
Pharmacyrxone cialis Cialis Sans Ordonnance Luxembourg

#22 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 12/11/2017, 10:56

Comprar Cialis Soft Is Keflex A Sulfa Drug Need Plavix From The Uk mail order pharmacy levitra Can You Still Get Accutane From Canada Viagra En Canada Propecia Insomnia
Buy Tadacip Uk viagra Erection Pills At Gnc Ou Acheter Xenical Sans Ordonnance Mail Order Levitra

#23 JeffMalm

JeffMalm

    Super Veterano

  • Usuários
  • 12254 posts
  • Sexo:Feminino
  • Localidade:Mount Carey

Posted 16/10/2022, 01:50

23 was used with few modifications The regression model selection was performed using the Akaike Information Criterion with a correction for finite sample sizes, whereby logit, probit, Weibull, generalized logit I and II, as well as Aranda Ordanz were the applicable models, while the 95 confidence intervals CIs were determined by application of the bootstrap method with 1, 000 bootstrap simulations cialis otc She has no other arthralgias

#24 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 04/11/2022, 05:06

Commonly, elevation of serum triglyceride levels, in some cases with pancreatitis, may be associated with the use of Tamona stromectol walgreens

#25 Miguceamma

Miguceamma

    MiguPenjisse

  • Usuários
  • 13201 posts

Posted 13/12/2022, 07:33

PMID 16537557 buy cialis with paypal J Nutr 2000; 130 798 801




0 user(s) are reading this topic

0 membro(s), 0 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq