• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with JavaScript, prog forum had no replies

riddelrp

Senior member
I am making a menu using JS. I need to know how to do some stuff w/ text colors.

If you think you can help me PM me and I will explain my problem more "in depth"

Thanks in advance,
Ryan

PS: the software/prog forum wouldn't respond to this, so I am asking here.

mods, leniency (sp?) please.
 
ok, my question is, how do I set the default text color inside a table cell <td></td>, you know😉

I want to set the default to a different color then the document's default and then be able to change the text color inside the cell whenever (onmouseover) the pointer is anywhere inside the cell.

Thanks in advance,
Ryan
 
Use <td bgcolor=&quot;&quot;> to set the default bgcolor attribute. You can then use the DOM to change the bgcolor via css during the onmouseover event.
 
thanks for all the help, but it kind of lead to another ?

how do I set the &quot;default&quot; background for text like ->this<-

I can change the bgcolor using onmouseover and I can change it to what I want the default to be using onmouseout, but I don't know how to change the bgcolor to something aside from the default color🙁

Thanks,
Ryan
 
Back
Top